Home
last modified time | relevance | path

Searched refs:token (Results 701 - 725 of 2272) sorted by relevance

1...<<21222324252627282930>>...91

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
H A Dtoken112.go20 "go/token"
24 func lineStart(f *token.File, line int) token.Pos {
/third_party/spirv-tools/utils/vscode/src/lsp/span/
H A Dtoken112.go20 "go/token"
24 func lineStart(f *token.File, line int) token.Pos {
/third_party/rust/crates/syn/tests/debug/
H A Dgen.rs51 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 Dbuild_hdi_files_info.py366 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 Dbuild_hdi_files_info.py373 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 Dipc_capi_parcel_unittest.cpp77 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 Dtest_service_skeleton.cpp488 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 Dability_manager.cpp25 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 Dsoftbus_client_context_manager.h28 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 Dstorage_daemon_stub.cpp454 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 DUTTest_device_manager_notify_three.cpp267 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 Dscene_session_manager_lite_stub.cpp33 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 Dgen_perf.py250 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 Didentify_funcs.c52 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 Dability_state_data.cpp42 if (token == nullptr) { in Marshalling()
50 if (!parcel.WriteRemoteObject(token)) { in Marshalling()
98 token = (static_cast<MessageParcel*>(&parcel))->ReadRemoteObject(); in ReadFromParcel()
H A Dapp_exception_callback_proxy.cpp28 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 Dabilityframeworkscjenvironment_fuzzer.cpp54 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 Dphoto_editor_extension_test.cpp86 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 Daction_extension_test.cpp86 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 Dembedded_ui_extension_test.cpp86 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 Dextension_second_test.cpp56 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 Dabilityappmgrpagestatedata_fuzzer.cpp53 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 Dstartabilitybycall_fuzzer.cpp44 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 Dabilityappmgrrunningmultiinfo_fuzzer.cpp53 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 Dabilitymgrinsightintentexecuteresult_fuzzer.cpp54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
63 return token; in GetFuzzAbilityToken()

Completed in 19 milliseconds

1...<<21222324252627282930>>...91