/ohos5.0/base/update/updater/services/script/script_interpreter/ |
H A D | script_lex.l | 28 #define YY_USER_ACTION loc.columns (yyleng); 31 #define yyterminate() Parser::make_END(loc); 48 loc.step(); 52 loc.step(); // 注释 56 loc.step(); // 注释 65 loc.step(); 68 loc.lines(yyleng); // 使用lines函数来更新位置信息中的行号 69 loc.step(); 73 "for" { return Parser::make_FOR(yytext, loc); } 74 "while" { return Parser::make_WHILE(yytext, loc); } [all …]
|
H A D | scanner.h | 41 loc = location(); in Scanner() 61 location loc {};
|
H A D | script_yacc.y | 71 void Parser::error (const location_type& loc, const std::string& msg) in error() argument 73 LOG(Updater::ERROR) << "error " << msg << " loc " << loc << std::endl; in error()
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/testsuits/ |
H A D | test_index.py | 62 self.test.click_canvas_point(el, loc[0], loc[1]) 161 assert loc[0] != loc1[0] and loc[1] != loc1[1] 207 self.test.click_canvas_point(el, loc[0], loc[1]) # click nodeaa 291 assert loc[0] != loc1[0] and loc[1] != loc1[1] 339 self.test.click_canvas_point(el, loc[0], loc[1]) # click nodeaa 455 assert loc[0] != loc1[0] and loc[1] != loc1[1] 745 self.test.click_canvas_point(el, loc[0], loc[1]) 761 self.test.click_canvas_point(el, loc[0], loc[1]) 777 self.test.click_canvas_point(el, loc[0], loc[1] + 25) 853 self.test.click_canvas_point(el, loc[0], loc[1]) # click root [all …]
|
/ohos5.0/drivers/peripheral/location/agnss/hdi_service/ |
H A D | agnss_interface_impl.cpp | 187 AgnssReferenceInfo loc; in SetAgnssRefInfo() local 188 loc.category = g_refInfoType; in SetAgnssRefInfo() 191 loc.u.mac.mac[i] = refInfo.mac.mac[i]; in SetAgnssRefInfo() 193 loc.u.mac.size = MAC_LEN; in SetAgnssRefInfo() 212 loc.u.cellId.mcc = refInfo.cellId.mcc; in SetAgnssRefInfo() 213 loc.u.cellId.mnc = refInfo.cellId.mnc; in SetAgnssRefInfo() 214 loc.u.cellId.lac = refInfo.cellId.lac; in SetAgnssRefInfo() 215 loc.u.cellId.cid = refInfo.cellId.cid; in SetAgnssRefInfo() 216 loc.u.cellId.tac = refInfo.cellId.tac; in SetAgnssRefInfo() 217 loc.u.cellId.pcid = refInfo.cellId.pcid; in SetAgnssRefInfo() [all …]
|
/ohos5.0/base/global/i18n/tools/ |
H A D | data_process.py | 35 loc = re.search(loc_pattern, line).group() 37 location = eval(loc) 56 for loc, tzs in data_input.items(): 57 if loc[0] < 0 and loc[1] >= 0: 60 elif loc[0] >= 0 and loc[1] >= 0: 63 elif loc[0] < 0 and loc[1] < 0:
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_instructions.cpp | 38 …:Flush(DfxRegs& regs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val) in Flush() argument 44 switch (loc.type) { in Flush() 46 val = cfa + static_cast<uintptr_t>(loc.val); in Flush() 49 location = cfa + static_cast<uintptr_t>(loc.val); in Flush() 53 location = static_cast<uintptr_t>(loc.val); in Flush() 62 location = dwarfOp.Eval(regs, cfa, loc.val); in Flush() 68 val = dwarfOp.Eval(regs, cfa, loc.val); in Flush()
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/public_moudle/ |
H A D | base.py | 74 loc = self.get_canvas_point_position('./Program_pictures/quanping.png', 77 actions.move_to_element_with_offset(el, loc[0], 78 loc[1]).click().perform() 133 loc = self.get_canvas_point_position('./Program_pictures/quanping.png', 135 self.click_canvas_point(el, loc[0], loc[1]) 146 loc = self.get_canvas_point_position('./Program_pictures/quanping.png', 148 self.click_canvas_point(el, loc[0], loc[1])
|
/ohos5.0/build/ohos/packages/ |
H A D | process_field_validate.py | 46 self.loc = "" 50 def __init__(self, loc): argument 55 self.loc = loc 104 print("Cfg location: {}".format(self.loc)) 193 print("Cfg location: {}".format(i[1].loc)) 200 print("Cfg location: {}\n".format(i[1].loc), end="")
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/ |
H A D | lib.rs | 64 …let (file, line) = info.location().map(|loc| (loc.file(), loc.line())).unwrap_or(("<unknown>", 0)); in report_info_handler()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | dwarf_test.cpp | 1170 RegLoc loc; variable 1172 loc.type = REG_LOC_VAL_OFFSET; 1175 loc.type = REG_LOC_VAL_OFFSET; 1178 loc.type = REG_LOC_MEM_OFFSET; 1179 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val); 1181 loc.type = REG_LOC_REGISTER; 1182 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val); 1184 loc.type = REG_LOC_MEM_EXPRESSION; 1185 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val); 1187 loc.type = REG_LOC_VAL_EXPRESSION; [all …]
|
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test.cpp | 185 if (!loc) { 189 EXPECT_EQ(loc->GetLanguage(), "ja"); 190 EXPECT_EQ(loc->GetScript(), "Jpan"); 191 EXPECT_EQ(loc->GetRegion(), "JP"); 198 EXPECT_EQ(loc->GetNumeric(), "true"); 199 EXPECT_EQ(loc->GetCaseFirst(), ""); 200 delete loc; 212 if (!loc) { 221 EXPECT_EQ(loc->GetScript(), script); 222 EXPECT_EQ(loc->GetRegion(), region); [all …]
|
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/ |
H A D | cf_mock.cpp | 61 X509_EXTENSION *__real_X509_get_ext(const X509 *x, X509_EXTENSION *loc); 88 X509_NAME *name, int nid, int type, const unsigned char *bytes, int len, int loc, int set); 152 ON_CALL(*this, X509_get_ext).WillByDefault([this](const X509 *x, X509_EXTENSION *loc) { in SetMockFunDefaultBehaviorPartOne() argument 153 return __real_X509_get_ext(x, loc); in SetMockFunDefaultBehaviorPartOne() 315 …[this](X509_NAME *name, int nid, int type, const unsigned char *bytes, int len, int loc, int set) { in SetMockFunDefaultBehaviorPartFour() argument 316 return __real_X509_NAME_add_entry_by_NID(name, nid, type, bytes, len, loc, set); in SetMockFunDefaultBehaviorPartFour() 718 X509_EXTENSION *__wrap_X509_get_ext(const X509 *x, X509_EXTENSION *loc) in __wrap_X509_get_ext() argument 722 return X509OpensslMock::GetInstance().X509_get_ext(x, loc); in __wrap_X509_get_ext() 724 return __real_X509_get_ext(x, loc); in __wrap_X509_get_ext() 951 X509_NAME *name, int nid, int type, const unsigned char *bytes, int len, int loc, int set) in __wrap_X509_NAME_add_entry_by_NID() argument [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/ |
H A D | RdbstorePredicatesJoinBJsunit.test.js | 75 {id:10, dName:"JiaoYanBU", loc:"BeiJing"}, 76 {id:20, dName:"XueGongBu", loc:"ShangHai"}, 77 {id:30, dName:"XiaoShouBu", loc:"GuangZhou"}, 78 {id:40, dName:"CaiWuBu", loc:"ShenZhen"},
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstorePredicatesJoinBJsunit.test.js | 78 {id:10, dName:"JiaoYanBU", loc:"BeiJing"}, 79 {id:20, dName:"XueGongBu", loc:"ShangHai"}, 80 {id:30, dName:"XiaoShouBu", loc:"GuangZhou"}, 81 {id:40, dName:"CaiWuBu", loc:"ShenZhen"},
|
/ohos5.0/foundation/resourceschedule/ffrt/benchmarks/speedup/ |
H A D | plot.py | 43 plt.legend(loc='best') 72 plt.legend(loc='best')
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | location_async_context.h | 44 std::unique_ptr<Location> loc; 47 napi_deferred deferred = nullptr) : AsyncContext(env, work, deferred), loc(nullptr) {} 95 std::unique_ptr<Location> loc; 99 : AsyncContext(env, work, deferred), loc(nullptr), request(nullptr) {}
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_predicates_join_b_test.cpp | 313 std::string loc; variable 314 EXPECT_EQ(E_OK, allDataTypes->GetString(10, loc)); 315 EXPECT_EQ("ShangHai", loc); 471 std::string loc; variable 472 EXPECT_EQ(E_OK, allDataTypes->GetString(5, loc)); 473 EXPECT_EQ("ShangHai", loc);
|
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
H A D | DataFetcher.java | 128 for (ULocale loc : availableLocales) { in processWildcard() 129 String finalLanguageTag = loc.toLanguageTag(); in processWildcard() 142 for (ULocale loc : availableLocales) { in processWildcard() 143 String finalLanguageTag = loc.toLanguageTag(); in processWildcard() 144 if (loc.getLanguage().equals(baseName) && !LOCALES.containsKey(finalLanguageTag) && in processWildcard()
|
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | locator_callback_napi.cpp | 174 if (context->env == nullptr || context->loc == nullptr) { in DoSendWork() 193 SystemLocationToJs(context->env, context->loc, jsEvent); in DoSendWork() 195 LocationToJs(context->env, context->loc, jsEvent); in DoSendWork() 330 context->loc = std::make_unique<Location>(*location); in OnLocationReport()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_instructions.h | 36 …sh(DfxRegs& dfxRegs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_packet_tools.cpp | 999 for (size_t loc = 0, cur = offset; ((loc < sum) && (cur < datasize)); loc++, cur++) { in Dump() local 1003 size_t idx = (loc & BUF_0F); in Dump() 1011 if (!DumpClear(loc + 1, hexBuf, DUMP_HEXBUF_MAX, txtBuf, DUMP_TXTBUF_MAX)) { in Dump() 1018 bool MtpPacketTool::DumpClear(size_t loc, std::unique_ptr<char[]> &hexBuf, int hexBufSize, in DumpClear() argument 1025 if (sprintf_s(hexBuf.get(), hexBufSize, "%08X : ", static_cast<uint32_t>(loc)) == -1) { in DumpClear()
|
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/include/ |
H A D | cf_mock.h | 71 MOCK_METHOD(X509_EXTENSION *, X509_get_ext, (const X509 *x, X509_EXTENSION *loc)); 99 … (X509_NAME * name, int nid, int type, const unsigned char *bytes, int len, int loc, int set));
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | exif_maker_note.cpp | 669 for (size_t loc = 0, cur = offset; ((loc < sum) && (cur < size)); loc++, cur++) { in Dump() local 670 if (loc == 0) { in Dump()
|
/ohos5.0/foundation/ai/intelligent_voice_framework/llt/hdt/depend_libs/src/ |
H A D | file_ex.cpp | 113 int loc = lseek(fd, 0, SEEK_SET); in LoadStringFromFd() local 114 if (loc == -1) { in LoadStringFromFd()
|