/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:
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_instructions.cpp | 38 bool DfxInstructions::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()
|
/base/location/frameworks/cj/source/ |
H A D | geolocationmanager_utils.cpp | 67 CJLocation NativeLocationToCJLocation(const Location::Location& loc) in NativeLocationToCJLocation() argument 69 return CJLocation{ .latitude = loc.GetLatitude(), .longitude = loc.GetLongitude(), in NativeLocationToCJLocation() 70 .altitude = loc.GetAltitude(), .accuracy = loc.GetAccuracy(), .speed = loc.GetSpeed(), in NativeLocationToCJLocation() 71 .direction = loc.GetDirection(), .timeStamp = loc.GetTimeStamp(), .timeSinceBoot = loc.GetTimeSinceBoot(), in NativeLocationToCJLocation() 72 .additions = StringVectorToCPointer(loc in NativeLocationToCJLocation() [all...] |
H A D | geolocationmanager_impl.cpp | 134 auto loc = g_locatorProxy->GetCachedLocation(); in GetLastLocation() local 135 if (loc != nullptr) { in GetLastLocation() 137 return NativeLocationToCJLocation(*loc); in GetLastLocation()
|
/base/update/updater/services/script/script_interpreter/ |
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)
73 LOG(Updater::ERROR) << "error " << msg << " loc " << loc << std::endl;
90 /*通过Marker::Parser::make_XXX(loc)给token添加前缀*/
|
/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()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_instructions.h | 36 static bool Flush(DfxRegs& dfxRegs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val);
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | dwarf_test.cpp | 1166 RegLoc loc; in HWTEST_F() local 1168 loc.type = REG_LOC_VAL_OFFSET; in HWTEST_F() 1169 bool ret = instructions->Flush(*(regs.get()), memory, 0, loc, val); in HWTEST_F() 1171 loc.type = REG_LOC_VAL_OFFSET; in HWTEST_F() 1172 ret = instructions->Flush(*(regs.get()), nullptr, 0, loc, val); in HWTEST_F() 1174 loc.type = REG_LOC_MEM_OFFSET; in HWTEST_F() 1175 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val); in HWTEST_F() 1177 loc.type = REG_LOC_REGISTER; in HWTEST_F() 1178 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val); in HWTEST_F() 1180 loc in HWTEST_F() [all...] |
/base/location/interfaces/inner_api/include/ |
H A D | location_async_context.h | 44 std::unique_ptr<Location> loc; member in OHOS::Location::LocationAsyncContext 47 napi_deferred deferred = nullptr) : AsyncContext(env, work, deferred), loc(nullptr) {} in LocationAsyncContext() 95 std::unique_ptr<Location> loc; member in OHOS::Location::LocationRequestAsyncContext 99 : AsyncContext(env, work, deferred), loc(nullptr), request(nullptr) {} in LocationRequestAsyncContext()
|
H A D | locator_proxy.h | 94 LocationErrCode GetCacheLocationV9(std::unique_ptr<Location> &loc);
|
H A D | locator.h | 81 virtual LocationErrCode GetCachedLocationV9(std::unique_ptr<Location> &loc) = 0;
|
H A D | locator_impl.h | 356 * @param loc Indicates the last known location information. 359 LocationErrCode GetCachedLocationV9(std::unique_ptr<Location> &loc);
|
/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test.cpp | 184 LocaleInfo *loc = new (std::nothrow) LocaleInfo(locale, options);
in HWTEST_F() local 185 if (!loc) {
in HWTEST_F() 189 EXPECT_EQ(loc->GetLanguage(), "ja");
in HWTEST_F() 190 EXPECT_EQ(loc->GetScript(), "Jpan");
in HWTEST_F() 191 EXPECT_EQ(loc->GetRegion(), "JP");
in HWTEST_F() 192 EXPECT_EQ(loc->GetBaseName(), "ja-Jpan-JP");
in HWTEST_F() 193 EXPECT_EQ(loc->GetCalendar(), "japanese");
in HWTEST_F() 194 EXPECT_EQ(loc->GetHourCycle(), "h11");
in HWTEST_F() 195 EXPECT_EQ(loc->GetNumberingSystem(), "jpan");
in HWTEST_F() 196 EXPECT_EQ(loc in HWTEST_F() 211 LocaleInfo *loc = new (std::nothrow) LocaleInfo(locale); HWTEST_F() local [all...] |
/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()
|
/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() 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() 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, in in __wrap_X509_NAME_add_entry_by_NID() 950 __wrap_X509_NAME_add_entry_by_NID( X509_NAME *name, int nid, int type, const unsigned char *bytes, int len, int loc, int set) __wrap_X509_NAME_add_entry_by_NID() argument [all...] |
/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));
|
/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()
|
H A D | location_napi_adapter.cpp | 49 context->loc = g_locatorClient->IsLocationEnabled() ? g_locatorClient->GetCachedLocation() : nullptr; in GetLastLocation() 50 if (context->loc != nullptr) { in GetLastLocation() 60 if (context->loc != nullptr) { in GetLastLocation() 61 LocationToJs(context->env, context->loc, context->result[PARAM1]); in GetLastLocation() 63 LBSLOGE(LOCATOR_STANDARD, "loc is nullptr!"); in GetLastLocation() 83 std::unique_ptr<Location> loc; in HandleGetCachedLocation() local 84 errorCode = g_locatorClient->GetCachedLocationV9(loc); in HandleGetCachedLocation() 85 if (loc != nullptr) { in HandleGetCachedLocation() 86 LocationToJs(env, loc, res); in HandleGetCachedLocation()
|
/base/location/test/location_locator/source/ |
H A D | location_without_permission_test.cpp | 213 std::unique_ptr loc = std::make_unique<Location>(); in HWTEST_F() local 215 EXPECT_EQ(ERRCODE_PERMISSION_DENIED, locatorImpl->GetCachedLocationV9(loc)); in HWTEST_F()
|
H A D | locator_impl_test.cpp | 232 std::unique_ptr<Location> loc = std::make_unique<Location>(); in HWTEST_F() local 233 locatorImpl_->GetCachedLocationV9(loc); // get last location in HWTEST_F()
|
/base/location/frameworks/cj/include/ |
H A D | geolocationmanager_utils.h | 185 CJLocation NativeLocationToCJLocation(const Location::Location& loc);
|
/base/location/test/location_manager/source/ |
H A D | locator_ability_test.cpp | 405 std::unique_ptr<Location> loc; in HWTEST_F() local 407 locatorAbility->GetCacheLocation(loc, identity); in HWTEST_F() 408 locatorAbility->GetCacheLocation(loc, identity); in HWTEST_F()
|
/base/location/frameworks/native/locator_sdk/source/ |
H A D | locator_proxy.cpp | 645 LocationErrCode LocatorProxy::GetCacheLocationV9(std::unique_ptr<Location> &loc) in GetCacheLocationV9() argument 651 loc = Location::Unmarshalling(reply); in GetCacheLocationV9() 653 loc = nullptr; in GetCacheLocationV9()
|
/base/location/services/location_locator/locator/source/ |
H A D | locator_skeleton.cpp | 341 std::unique_ptr<Location> loc; in PreGetCacheLocation() local 342 reply.WriteInt32(locatorAbility->GetCacheLocation(loc, identity)); in PreGetCacheLocation() 343 if (loc != nullptr) { in PreGetCacheLocation() 344 loc->Marshalling(reply); in PreGetCacheLocation()
|