/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/ |
H A D | token112.go | 20 "go/token" 24 func lineStart(f *token.File, line int) token.Pos {
|
/third_party/spirv-tools/utils/vscode/src/lsp/span/ |
H A D | token112.go | 20 "go/token" 24 func lineStart(f *token.File, line int) token.Pos {
|
/third_party/rust/crates/syn/tests/debug/ |
H A D | gen.rs | 51 struct Print((syn::token::If, Box<syn::Expr>)); in fmt() 141 struct Print((proc_macro2::Ident, syn::token::Colon)); in fmt() 165 struct Print((proc_macro2::Ident, syn::token::Colon)); in fmt() 680 struct Print((syn::token::Else, Box<syn::Expr>)); in fmt() 1314 struct Print((syn::token::Else, Box<syn::Expr>)); in fmt() 2260 struct Print((syn::token::As, proc_macro2::Ident)); in fmt() 2312 struct Print((Option<syn::token::Not>, syn::Path, syn::token::For)); in fmt() 2375 struct Print((syn::token::Brace, Vec<syn::Item>)); in fmt() 2559 struct Print((syn::token in fmt() [all...] |
/drivers/hdf_core/framework/tools/hdi-gen/ |
H A D | build_hdi_files_info.py | 366 token = lex.peek_token() 369 token.info(), token.value)) 371 CodeGen.get_package_path(token.value) + ".idl") 404 lex.get_token() # package token 405 token = lex.peek_token() 406 if token.token_type != TokenType.ID: 408 token.info(), token.value)) 409 token 425 lex.get_token() # import token global() namespace [all...] |
/foundation/ability/idl_tool/idl_tool_2/ |
H A D | build_hdi_files_info.py | 373 token = lex.peek_token() 376 token.info(), token.value)) 378 CodeGen.get_package_path(token.value) + ".idl") 414 lex.get_token() # package token 415 token = lex.peek_token() 416 if token.token_type != TokenType.ID: 418 token.info(), token.value)) 419 token 435 lex.get_token() # import token global() namespace [all...] |
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_capi_parcel_unittest.cpp | 77 void ReadWriteInterfaceToken(const char *token, uint32_t &writeDuration, uint32_t &readDuration); 78 void ReadWriteInterfaceTokenCpp(const char *token, uint32_t &writeDuration, uint32_t &readDuration); 274 void IpcCApiParcelUnitTest::ReadWriteInterfaceToken(const char *token, in ReadWriteInterfaceToken() argument 280 ret = OH_IPCParcel_WriteInterfaceToken(dataCParcel, token); in ReadWriteInterfaceToken() 290 EXPECT_EQ(strcmp(token, readInterfaceToken), 0); in ReadWriteInterfaceToken() 291 EXPECT_EQ(readLen, strlen(token) + 1); in ReadWriteInterfaceToken() 297 void IpcCApiParcelUnitTest::ReadWriteInterfaceTokenCpp(const char *token, in ReadWriteInterfaceTokenCpp() argument 302 auto u16Token = OHOS::Str8ToStr16(token); in ReadWriteInterfaceTokenCpp() 311 EXPECT_EQ(strTokenRead.length(), strlen(token)); in ReadWriteInterfaceTokenCpp() 312 EXPECT_EQ(strTokenRead.compare(token), in ReadWriteInterfaceTokenCpp() 319 char token[MAX_INTERFACE_TOKEN_LEN] = {0}; ReadWriteInterfaceTokenPerformance() local 760 const char *token = "hello, world!"; HWTEST_F() local [all...] |
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | test_service_skeleton.cpp | 488 bool TestServiceProxy::CheckTokenSelf(uint64_t token, uint64_t tokenSelf, uint64_t ftoken, uint64_t ftoken_expected) in CheckTokenSelf() argument 490 if (token != tokenSelf) { in CheckTokenSelf() 491 ZLOGE(LABEL, "token != tokenSelf"); in CheckTokenSelf() 535 uint64_t token = IPCSkeleton::GetCallingFullTokenID(); in TestAccessTokenID64() local 541 if (!CheckTokenSelf(token, tokenSelf, ftoken, 0)) { in TestAccessTokenID64() 558 token = replyParcel1.ReadUint64(); in TestAccessTokenID64() 561 if (token != token_expected) { in TestAccessTokenID64() 562 ZLOGE(LABEL, "token != token_expected, token:%{public}" PRIu64, token); in TestAccessTokenID64() 583 int32_t token = (int32_t)IPCSkeleton::GetCallingTokenID(); TestAccessTokenID() local 839 std::string token = IPCSkeleton::ResetCallingIdentity(); ServerCallingUidAndPid() local 864 int32_t token = static_cast<int32_t>(IPCSkeleton::GetCallingTokenID()); ServerAccessTokenId() local 875 uint64_t token = IPCSkeleton::GetCallingFullTokenID(); ServerAccessTokenId64() local [all...] |
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/slite/ |
H A D | ability_manager.cpp | 25 int TerminateAbility(uint64_t token)
in TerminateAbility() argument 27 return OHOS::AbilitySlite::AbilityMsClient::GetInstance().TerminateAbility(token);
in TerminateAbility()
|
/foundation/communication/dsoftbus/sdk/frame/small/include/ |
H A D | softbus_client_context_manager.h | 28 void SetClientIdentity(unsigned int handle, uintptr_t token, uintptr_t cookie); 29 int GetClientIdentity(unsigned int *handle, uintptr_t *token, uintptr_t *cookie);
|
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/ |
H A D | storage_daemon_stub.cpp | 454 std::vector<uint8_t> token; in HandleUpdateUserAuth() local 457 data.ReadUInt8Vector(&token); in HandleUpdateUserAuth() 461 int err = UpdateUserAuth(userId, secureUid, token, oldSecret, newSecret); in HandleUpdateUserAuth() 474 std::vector<uint8_t> token; in HandleUpdateUseAuthWithRecoveryKey() local 476 data.ReadUInt8Vector(&token); in HandleUpdateUseAuthWithRecoveryKey() 486 int err = UpdateUseAuthWithRecoveryKey(token, newSecret, secureUid, userId, plainText); in HandleUpdateUseAuthWithRecoveryKey() 498 std::vector<uint8_t> token; in HandleActiveUserKey() local 500 data.ReadUInt8Vector(&token); in HandleActiveUserKey() 503 int err = ActiveUserKey(userId, token, secret); in HandleActiveUserKey() 539 std::vector<uint8_t> token; in HandleUnlockUserScreen() local 600 std::vector<uint8_t> token; HandleCreateRecoverKey() local [all...] |
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_notify_three.cpp | 267 std::string token = "111"; in HWTEST_F() local 270 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F() 310 std::string token = "111"; in HWTEST_F() local 313 DeviceManagerNotify::GetInstance().OnAuthResult(testPkgName, deviceId, token, status, reason); in HWTEST_F() 353 std::string token = "111"; in HWTEST_F() local 356 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, testDeviceId, token, status, reason); in HWTEST_F() 395 std::string token = "111"; in HWTEST_F() local 398 DeviceManagerNotify::GetInstance().OnAuthResult(pkgName, deviceId, token, status, reason); in HWTEST_F() 440 std::string token = "111"; in HWTEST_F() local 443 DeviceManagerNotify::GetInstance().OnAuthResult(testPkaName, deviceId, token, statu in HWTEST_F() 485 std::string token = "111"; HWTEST_F() local 529 std::string token = "111"; HWTEST_F() local 1091 OnAuthResult(const std::string &deviceId, const std::string &token, int32_t status, int32_t reason) OnAuthResult() argument [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_lite_stub.cpp | 33 WLOGFE("Failed to check interface token!"); in OnRemoteRequest() 136 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleSetSessionLabel() local 142 WSError errCode = SetSessionLabel(token, label); in HandleSetSessionLabel() 150 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleSetSessionIcon() local 156 WSError errCode = SetSessionIcon(token, icon); in HandleSetSessionIcon() 176 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandlePendingSessionToForeground() local 177 if (token == nullptr) { in HandlePendingSessionToForeground() 178 WLOGFE("token is nullptr"); in HandlePendingSessionToForeground() 181 WSError errCode = PendingSessionToForeground(token); in HandlePendingSessionToForeground() 189 sptr<IRemoteObject> token in HandlePendingSessionToBackgroundForDelegator() local 357 sptr<IRemoteObject> token = nullptr; HandleGetFocusSessionToken() local 377 sptr <IRemoteObject> token = data.ReadRemoteObject(); HandleSetSessionContinueState() local [all...] |
/third_party/mesa3d/src/intel/perf/ |
H A D | gen_perf.py | 250 for token in tokens: 251 stack.append(token) 289 for token in tokens: 290 stack.append(token) 632 def replace_token(token): 633 if token[0] != "$": 634 return token 635 if token not in self.set.counter_vars: 636 return token 637 self.set.counter_vars[token] [all...] |
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
H A D | identify_funcs.c | 52 UserAuthTokenHal *token, int32_t *result)
in DoUpdateIdentify() 54 if (!IsBufferValid(scheduleResult) || token == NULL || userId == NULL || result == NULL) {
in DoUpdateIdentify() 84 ret = GetAuthTokenDataAndSign(identifyContext, credentialId, SCHEDULE_MODE_IDENTIFY, token);
in DoUpdateIdentify() 86 LOG_ERROR("get token failed");
in DoUpdateIdentify() 51 DoUpdateIdentify(uint64_t contextId, const Buffer *scheduleResult, int32_t *userId, UserAuthTokenHal *token, int32_t *result) DoUpdateIdentify() argument
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | ability_state_data.cpp | 42 if (token == nullptr) { in Marshalling() 50 if (!parcel.WriteRemoteObject(token)) { in Marshalling() 98 token = (static_cast<MessageParcel*>(&parcel))->ReadRemoteObject(); in ReadFromParcel()
|
H A D | app_exception_callback_proxy.cpp | 28 TAG_LOGE(AAFwkTag::APPMGR, "write interface token failed"); in WriteInterfaceToken() 51 void AppExceptionCallbackProxy::OnLifecycleException(LifecycleException type, sptr<IRemoteObject> token) in OnLifecycleException() argument 66 if (token) { in OnLifecycleException() 67 if (!data.WriteBool(true) || !data.WriteRemoteObject(token.GetRefPtr())) { in OnLifecycleException() 68 TAG_LOGE(AAFwkTag::APPMGR, "Failed to write flag and token"); in OnLifecycleException()
|
/foundation/ability/ability_runtime/test/fuzztest/abilityframeworkscjenvironment_fuzzer/ |
H A D | abilityframeworkscjenvironment_fuzzer.cpp | 54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 63 return token; in GetFuzzAbilityToken()
|
/foundation/ability/ability_runtime/test/unittest/photo_editor_extension_test/ |
H A D | photo_editor_extension_test.cpp | 86 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() local 87 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() 97 photoEditorExtension->Init(record, application, handler, token); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | action_extension_test.cpp | 86 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() local 87 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() 97 actionExtension->Init(record, application, handler, token); in HWTEST_F()
|
H A D | embedded_ui_extension_test.cpp | 86 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in HWTEST_F() local 87 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() 97 actionExtension->Init(record, application, handler, token); in HWTEST_F()
|
H A D | extension_second_test.cpp | 56 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); in SetUp() local 57 auto record = std::make_shared<AbilityLocalRecord>(info, token, nullptr, 0); in SetUp() 62 extension_->Init(record, application, handler, token); in SetUp()
|
/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrpagestatedata_fuzzer/ |
H A D | abilityappmgrpagestatedata_fuzzer.cpp | 53 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 60 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 62 return token; in GetFuzzAbilityToken()
|
/foundation/ability/ability_runtime/test/fuzztest/startabilitybycall_fuzzer/ |
H A D | startabilitybycall_fuzzer.cpp | 44 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 52 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 55 return token; in GetFuzzAbilityToken()
|
/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrrunningmultiinfo_fuzzer/ |
H A D | abilityappmgrrunningmultiinfo_fuzzer.cpp | 53 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 60 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 62 return token; in GetFuzzAbilityToken()
|
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrinsightintentexecuteresult_fuzzer/ |
H A D | abilitymgrinsightintentexecuteresult_fuzzer.cpp | 54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 63 return token; in GetFuzzAbilityToken()
|