/third_party/mesa3d/src/compiler/glsl/tests/ |
H A D | sexps.py | 53 token = match.group(0) 54 if token == '(': 56 elif token == ')': 62 stack[-1].append(token)
|
/third_party/ltp/testcases/kernel/containers/share/ |
H A D | ns_create.c | 81 char *token; in main() local 89 while ((token = strsep(&argv[1], ","))) { in main() 90 struct param *p = get_param(token); in main() 93 tst_resm(TINFO, "Unknown namespace: %s", token); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | wcstok.c | 34 wchar_t *token = wcstok(str, delim, &ptr); in wcstok_0100() local 36 while (token) { in wcstok_0100() 37 result[i] = token; in wcstok_0100() 39 token = wcstok(NULL, delim, &ptr); in wcstok_0100()
|
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
H A D | operator_test.cpp | 27 pp::Token token; in TEST_P() local 28 lexSingleToken(param.str, &token); in TEST_P() 29 EXPECT_EQ(param.op, token.type); in TEST_P() 30 EXPECT_EQ(param.str, token.text); in TEST_P()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_connect_manager.h | 75 * TerminateAbility with token and result want. 77 * @param token, the token of service type's ability to terminate. 80 int TerminateAbility(const sptr<IRemoteObject> &token); 95 * @param callerToken, caller ability token. 150 * @param token, ability's token. 153 int AttachAbilityThreadLocked(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &token); 155 void OnAbilityRequestDone(const sptr<IRemoteObject> &token, const int32_t state); 162 * @param token, abilit [all...] |
H A D | ability_manager_service.h | 128 * @param callerToken, caller ability token. 143 * @param callerToken, caller ability token. 162 * @param callerToken caller ability token. 181 * @param callerToken, caller ability token. 198 * @param callerToken caller ability token. 214 * @param callerToken, caller ability token. 231 * @param callerToken caller ability token. 247 * @param callerToken current caller ability token. 248 * @param asCallerSourceToken source caller ability token 265 * @param callerToken current caller ability token [all...] |
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
H A D | PpContext.h | 114 // recognized, in front of the token returned: 118 // Numeric value of the token: 124 // Text string of the token: 204 int tokenPaste(int token, TPpToken&); 247 // Capture the needed parts of a token stream for macro recording/playback. 273 bool space; // did a space precede the token? 280 void putToken(int token, TPpToken* ppToken); 287 // should get both pasted together as one token when token pasting. in peekContinuedPasting() 361 // Get the next token fro 366 int token = EndOfInput; scanToken() local 513 int token = tokens->getToken(pp->parseContext, ppToken); global() variable 540 int token; global() member in glslang::TPpContext::tUngotTokenInput [all...] |
/third_party/rust/crates/nom/src/ |
H A D | traits.rs | 150 /// Transforms common types to a char for basic token parsing 875 /// Look for a token in self in compare() 877 /// Returns true if self contains the token in compare() 878 fn find_token(&self, token: T) -> bool; in compare() 882 fn find_token(&self, token: u8) -> bool { in find_token() 883 memchr::memchr(token, self).is_some() in find_token() 888 fn find_token(&self, token: u8) -> bool { in find_token() 889 self.as_bytes().find_token(token) in find_token() 894 fn find_token(&self, token: &u8) -> bool { in find_token() 895 self.find_token(*token) in find_token() [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/ |
H A D | ability_manager_proxy_test.cpp | 148 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local 149 auto res = proxy_->TerminateAbility(token, -1, &want); in HWTEST_F() 169 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local 170 auto res = proxy_->TerminateAbility(token, -1, &want); in HWTEST_F() 316 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local 317 auto res = proxy_->AttachAbilityThread(scheduler, token); in HWTEST_F() 337 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local 338 auto res = proxy_->AttachAbilityThread(scheduler, token); in HWTEST_F() 344 auto res1 = proxy_->AttachAbilityThread(nullScheduler, token); in HWTEST_F() 361 sptr<IRemoteObject> token in HWTEST_F() local 382 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 403 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 424 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 442 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 480 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 592 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 854 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 930 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 970 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 988 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 1593 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 1613 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 1633 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 1852 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1867 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1882 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1898 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1914 auto token = sptr<MockAbilityToken>::MakeSptr(); HWTEST_F() local 1961 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 2139 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 2418 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 2436 OHOS::sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); HWTEST_F() local 2705 auto token = sptr<MockAbilityToken>::MakeSptr(); HWTEST_F() local 2742 auto token = sptr<MockAbilityToken>::MakeSptr(); HWTEST_F() local [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/ |
H A D | storage_daemon.cpp | 663 const std::vector<uint8_t> &token, in UpdateUserAuth() 668 .token = token, .oldSecret = oldSecret, .newSecret = newSecret, .secureUid = secureUid}; in UpdateUserAuth() 708 const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) in PrepareUserDirsAndUpdateUserAuth() 719 ret = KeyManager::GetInstance()->ActiveCeSceSeceUserKey(userId, type, token, {'!'}); in PrepareUserDirsAndUpdateUserAuth() 729 UserTokenSecret userTokenSecret = { .token = token, .oldSecret = {'!'}, .newSecret = secret, in PrepareUserDirsAndUpdateUserAuth() 780 const std::vector<uint8_t> &token, in GenerateKeyAndPrepareUserDirs() 788 ret = KeyManager::GetInstance()->GenerateUserKeyByType(userId, type, token, secret); in GenerateKeyAndPrepareUserDirs() 817 const std::vector<uint8_t> &token, in ActiveUserKeyAndPrepare() 662 UpdateUserAuth(uint32_t userId, uint64_t secureUid, const std::vector<uint8_t> &token, const std::vector<uint8_t> &oldSecret, const std::vector<uint8_t> &newSecret) UpdateUserAuth() argument 707 PrepareUserDirsAndUpdateUserAuth(uint32_t userId, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) PrepareUserDirsAndUpdateUserAuth() argument 779 GenerateKeyAndPrepareUserDirs(uint32_t userId, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) GenerateKeyAndPrepareUserDirs() argument 816 ActiveUserKeyAndPrepare(uint32_t userId, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) ActiveUserKeyAndPrepare() argument 853 ActiveUserKeyAndPrepareElX(uint32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) ActiveUserKeyAndPrepareElX() argument 916 ActiveUserKey(uint32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) ActiveUserKey() argument 1060 UnlockUserScreen(uint32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) UnlockUserScreen() argument 1114 CreateRecoverKey(uint32_t userId, uint32_t userType, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) CreateRecoverKey() argument [all...] |
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_ne.py | 8 from ..pgen2 import token namespace 15 _accept_type = token.NOTEQUAL 22 new = pytree.Leaf(token.NOTEQUAL, "!=", prefix=node.prefix)
|
/foundation/ability/ability_runtime/services/abilitymgr/include/scene_board/ |
H A D | ui_ability_lifecycle_manager.h | 75 * @param token the ability token 80 int AbilityTransactionDone(const sptr<IRemoteObject> &token, int state, const AppExecFwk::PacMap &saveData); 85 * @param token the ability token 90 const sptr<IRemoteObject> &token, const AppExecFwk::WindowConfig &windowConfig); 96 * @param token the token of ability. 99 int AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &token); 104 * @param token abilit [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
H A D | svga_shader_dump.c | 489 const uint **token, in parse_op() 499 op->op = *(struct sh_op *)*token; in parse_op() 500 *token += sizeof(struct sh_op) / sizeof(uint); in parse_op() 503 op->dst = *(struct sh_dstreg *)*token; in parse_op() 504 *token += sizeof(struct sh_dstreg) / sizeof(uint); in parse_op() 507 op->dstind = *(struct sh_srcreg *)*token; in parse_op() 508 *token += sizeof(struct sh_srcreg) / sizeof(uint); in parse_op() 513 op->p0 = *(struct sh_srcreg *)*token; in parse_op() 514 *token += sizeof(struct sh_srcreg) / sizeof(uint); in parse_op() 518 op->src[i] = *(struct sh_srcreg *)*token; in parse_op() 488 parse_op(struct dump_info *di, const uint **token, struct dump_op *op, uint num_dst, uint num_src) parse_op() argument [all...] |
/third_party/vulkan-loader/loader/ |
H A D | loader_environment.c | 283 char *token = thread_safe_strtok(parsing_string, ",", &context); in parse_generic_filter_environment_var() local 284 while (NULL != token) { in parse_generic_filter_environment_var() 288 determine_filter_type(token, &cur_filter_type, &actual_start, &actual_len); in parse_generic_filter_environment_var() 301 token = thread_safe_strtok(NULL, ",", &context); in parse_generic_filter_environment_var() 343 char *token = thread_safe_strtok(parsing_string, ",", &context); in parse_layers_disable_filter_environment_var() local 344 while (NULL != token) { in parse_layers_disable_filter_environment_var() 349 determine_filter_type(token, &cur_filter_type, &actual_start, &actual_len); in parse_layers_disable_filter_environment_var() 351 if (!strcmp(VK_LOADER_DISABLE_ALL_LAYERS_VAR_1, token) || !strcmp(VK_LOADER_DISABLE_ALL_LAYERS_VAR_2, token) || in parse_layers_disable_filter_environment_var() 352 !strcmp(VK_LOADER_DISABLE_ALL_LAYERS_VAR_3, token)) { in parse_layers_disable_filter_environment_var() [all...] |
/foundation/ability/ability_runtime/test/fuzztest/missionlistmanagerfourth_fuzzer/ |
H A D | missionlistmanagerfourth_fuzzer.cpp | 57 sptr<Token> token = nullptr; in GetFuzzAbilityRecord() local 72 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 75 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 77 return token; in GetFuzzAbilityToken() 93 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local 116 missionListManager->GetAbilityFromTerminateList(token); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/ui_service_stub_test/ |
H A D | ui_service_stub_test.cpp | 100 sptr<AppExecFwk::MockAbilityToken> token = new (std::nothrow) AppExecFwk::MockAbilityToken(); in HWTEST_F() local 101 data.WriteRemoteObject(token); in HWTEST_F() 133 sptr<AppExecFwk::MockAbilityToken> token = new (std::nothrow) AppExecFwk::MockAbilityToken(); in HWTEST_F() local 134 data.WriteRemoteObject(token); in HWTEST_F() 160 sptr<AppExecFwk::MockAbilityToken> token = new (std::nothrow) AppExecFwk::MockAbilityToken(); in HWTEST_F() local 161 data.WriteRemoteObject(token); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/fuzztest/missionlistmanagerthird_fuzzer/ |
H A D | missionlistmanagerthird_fuzzer.cpp | 60 sptr<Token> token = nullptr; in GetFuzzAbilityRecord() local 74 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 77 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 79 return token; in GetFuzzAbilityToken() 95 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local 109 missionListManager->AbilityTransactionDone(token, intParam, pacMap); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/ |
H A D | mock_ams_mgr_scheduler.h | 32 MOCK_METHOD2(TerminateAbility, void(const sptr<IRemoteObject>& token, bool clearMissionFlag)); 33 MOCK_METHOD2(UpdateAbilityState, void(const sptr<IRemoteObject>& token, const AbilityState state)); 35 MOCK_METHOD1(KillProcessByAbilityToken, void(const sptr<IRemoteObject>& token)); 44 MOCK_METHOD1(AbilityAttachTimeOut, void(const sptr<IRemoteObject>& token)); 45 MOCK_METHOD2(PrepareTerminate, void(const sptr<IRemoteObject>& token, bool clearMissionFlag)); 47 void(const sptr<IRemoteObject>& token, OHOS::AppExecFwk::RunningProcessInfo& info));
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | js_service_extension.h | 58 * @param token the remote token. 63 const sptr<IRemoteObject> &token) override; 203 void OnDisplayInfoChange(const sptr<IRemoteObject>& token, Rosen::DisplayId displayId, float density, 208 sptr->OnDisplayInfoChange(token, displayId, density, orientation); 219 void OnDisplayInfoChange(const sptr<IRemoteObject>& token, Rosen::DisplayId displayId, float density, 226 const sptr<IRemoteObject> & token): tmpDisplayListener_(displayListener), token_(token) {}; in SystemAbilityStatusChangeListener() 225 SystemAbilityStatusChangeListener(sptr<JsServiceExtensionDisplayListener> displayListener, const sptr<IRemoteObject> & token) SystemAbilityStatusChangeListener() argument
|
/foundation/ability/ability_runtime/test/fuzztest/extensionrecordmanager_fuzzer/ |
H A D | extensionrecordmanager_fuzzer.cpp | 53 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 60 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 62 return token; in GetFuzzAbilityToken() 97 auto token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local 98 extensionRecordManager->GetUIExtensionRootHostInfo(token); in DoSomethingInterestingWithMyAPI() 100 extensionRecordManager->GetUIExtensionSessionInfo(token, uiExtensionSessionInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/ |
H A D | app_record.cpp | 115 AbilityMsStatus AppRecord::DumpAbilityTransaction(const Want &want, uint64_t token) const in DumpAbilityTransaction() 118 return abilityThreadClient_->DumpAbilityTransaction(want, token); in DumpAbilityTransaction() 144 AbilityMsStatus AppRecord::ConnectTransaction(const Want &want, uint64_t token) const in ConnectTransaction() 147 return abilityThreadClient_->ConnectAbility(want, token); in ConnectTransaction() 152 AbilityMsStatus AppRecord::DisconnectTransaction(const Want &want, uint64_t token) const in DisconnectTransaction() 155 return abilityThreadClient_->DisconnectAbility(want, token); in DisconnectTransaction()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_node.h | 216 auto token = OnLoaded()->AddHandler(META_NS::MakeCallback<META_NS::IOnChanged>(callback)); in OnLoadedSingleShot() local 218 META_NS::MakeCallback<META_NS::IOnChanged>([token, this]() { OnLoaded()->RemoveHandler(token); })); in OnLoadedSingleShot() 239 auto token = OnBound()->AddHandler(META_NS::MakeCallback<META_NS::IOnChanged>(callback)); in OnReady() local 241 META_NS::MakeCallback<META_NS::IOnChanged>([token, this]() { OnBound()->RemoveHandler(token); })); in OnReady()
|
/foundation/distributedhardware/device_manager/services/service/src/ipc/lite/ |
H A D | ipc_server_stub.cpp | 66 sid.token = svcId.token; in DeathCb() 85 svcId.token = svc.token; in RegisterDeviceManagerListener() 127 sid.token = svcId.token; in UnRegisterDeviceManagerListener()
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_session_manager_lite.h | 27 WSError SetSessionLabel(const sptr<IRemoteObject>& token, const std::string& label) override; 28 WSError SetSessionIcon(const sptr<IRemoteObject>& token, const std::shared_ptr<Media::PixelMap>& icon) override; 30 WSError PendingSessionToForeground(const sptr<IRemoteObject>& token) override; 31 WSError PendingSessionToBackgroundForDelegator(const sptr<IRemoteObject>& token, 33 WSError GetFocusSessionToken(sptr<IRemoteObject>& token) override; 47 WSError SetSessionContinueState(const sptr<IRemoteObject>& token, const ContinueState& continueState) override;
|
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_lite_interface.h | 86 virtual WSError SetSessionLabel(const sptr<IRemoteObject>& token, const std::string& label) = 0; 87 virtual WSError SetSessionIcon(const sptr<IRemoteObject>& token, const std::shared_ptr<Media::PixelMap>& icon) = 0; 89 virtual WSError PendingSessionToForeground(const sptr<IRemoteObject>& token) = 0; 90 virtual WSError PendingSessionToBackgroundForDelegator(const sptr<IRemoteObject>& token, 92 virtual WSError GetFocusSessionToken(sptr<IRemoteObject>& token) = 0; 101 virtual WSError SetSessionContinueState(const sptr<IRemoteObject>& token, const ContinueState& continueState) = 0;
|