/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/ |
H A D | TestInputDataStructure.java | 41 private String token = null; field in TestInputDataStructure 131 * @return Returns the token. 134 return token; in getToken() 137 * @param token The token to set. 139 public void setToken(String token) { in setToken() argument 140 this.token = token; in setToken()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
H A D | TestInputDataStructure.java | 38 private String token = null; field in TestInputDataStructure 128 * @return Returns the token. 131 return token; in getToken() 134 * @param token The token to set. 136 public void setToken(String token) { in setToken() argument 137 this.token = token; in setToken()
|
/third_party/ltp/testcases/kernel/containers/share/ |
H A D | ns_exec.c | 99 char *token; in main() local 113 while ((token = strsep(&argv[2], ","))) { in main() 114 struct param *p = get_param(token); in main() 117 tst_resm(TINFO, "Unknown namespace: %s", token); in main() 122 if (open_ns_fd(argv[1], token) != 0) in main()
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_cid.h | 65 token is set in token field. */ 93 /* token is a stateless reset token associated to this CID. 94 Actually, the stateless reset token is tied to the connection, 96 uint8_t token[NGTCP2_STATELESS_RESET_TOKENLEN]; member 126 * |token| is NULL, the function fills dcid->token it with 0. |token| 130 const uint8_t *token); [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | asn1_compiler.c | 300 struct token { struct 309 static struct token *token_list; 319 const struct token *token = _key; in directive_compare() local 325 clen = (dlen < token->size) ? dlen : token->size; in directive_compare() 327 //debug("cmp(%s,%s) = ", token->content, dir); in directive_compare() 329 val = memcmp(token->content, dir, clen); in directive_compare() 335 if (dlen == token->size) { in directive_compare() 339 //debug("%d\n", (int)dlen - (int)token in directive_compare() 732 const struct token *token = _key; type_finder() local [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/include/ |
H A D | mock_ability_manager_client_interface1.cpp | 70 sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) in AttachAbilityThread() 75 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state) in AbilityTransitionDone() argument 81 sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) in ScheduleConnectAbilityDone() 86 ErrCode AbilityManagerClient::ScheduleDisconnectAbilityDone(sptr<IRemoteObject> token) in ScheduleDisconnectAbilityDone() argument 91 ErrCode AbilityManagerClient::ScheduleCommandAbilityDone(sptr<IRemoteObject> token) in ScheduleCommandAbilityDone() argument 97 sptr<IRemoteObject> token, in ScheduleCommandAbilityWindowDone() 105 ErrCode AbilityManagerClient::TerminateAbility(sptr<IRemoteObject> token, int resultCode, const Want* resultWant) in TerminateAbility() argument 69 AttachAbilityThread( sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) AttachAbilityThread() argument 80 ScheduleConnectAbilityDone( sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) ScheduleConnectAbilityDone() argument 96 ScheduleCommandAbilityWindowDone( sptr<IRemoteObject> token, sptr<SessionInfo> sessionInfo, WindowCommand winCmd, AbilityCommand abilityCmd) ScheduleCommandAbilityWindowDone() argument
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_first_test/ |
H A D | app_mgr_client_first_test.cpp | 90 sptr<Token> token = nullptr; in GetTestAbilityToken() local 98 token = abilityRecord->GetToken(); in GetTestAbilityToken() 100 return token; in GetTestAbilityToken() 192 sptr<IRemoteObject> token = GetTestAbilityToken(); in HWTEST_F() local 193 auto result = appMgrClient->CleanAbilityByUserRequest(token); in HWTEST_F() 207 sptr<IRemoteObject> token = GetTestAbilityToken(); in HWTEST_F() local 208 auto result = appMgrClient->IsAppKilling(token); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/ |
H A D | timer.h | 87 control_->token = in Start() 94 control->token = {}; in Start() 124 if (control_->queue && control_->token) { in Stop() 125 control_->queue->CancelTask(control_->token); in Stop() 139 ret = control_->token; in Detach() 152 return control_->token != ITaskQueue::Token {}; in IsRunning() 161 ITaskQueue::Token token {}; 167 * @brief Start single shot timer, returns the token that can be used to cancel it (which can be just ignored). 181 * @brief Start single shot timer, returns the token that can be used to cancel it (which can be just ignored).
|
/foundation/communication/dsoftbus/core/frame/small/client_manager/src/ |
H A D | softbus_client_info_manager.c | 28 uintptr_t token; /* use for small system device */ member 76 clientInfo->token = svcId->token; in SERVER_RegisterService() 114 svcId->token = clientInfo->token; in SERVER_GetIdentityByPkgName() 165 svcId[i].token = clientInfo->token; in SERVER_GetAllClientIdentity()
|
/kernel/linux/linux-5.10/include/linux/wimax/ |
H A D | debug.h | 458 char submodule[130], *params, *params_orig, *token, *colon; in d_parse_params() local 466 token = strsep(¶ms, " "); in d_parse_params() 467 if (token == NULL) in d_parse_params() 469 if (*token == '\0') /* eat joint spaces */ in d_parse_params() 474 colon = strchr(token, ':'); in d_parse_params() 477 tokens = sscanf(token, "%s\n%u", submodule, &level); in d_parse_params() 486 tag, token, tokens); in d_parse_params()
|
/foundation/ability/ability_runtime/test/unittest/continuation_test/remote_register_service_test/remote_register_service_proxy_test/ |
H A D | remote_register_service_proxy_test.cpp | 65 int Register(const std::string &bundleName, const sptr<IRemoteObject> &token, const ExtraParams &extras, 112 * CaseDescription: Verify function Register parameter bundleName token extras callback 121 sptr<IRemoteObject> token = object; in HWTEST_F() local 124 EXPECT_EQ(testProxy->Register(bundleName, token, extras, callback), ERR_NONE); in HWTEST_F() 143 sptr<IRemoteObject> token = object; in HWTEST_F() local 146 EXPECT_EQ(testProxy->Register(bundleName, token, extras, callback), ERR_INVALID_DATA); in HWTEST_F() 165 sptr<IRemoteObject> token = new (std::nothrow) MockRegisterService(); in HWTEST_F() local 168 EXPECT_EQ(testProxy->Register(bundleName, token, extras, callback), IPC_INVOKER_TRANSLATE_ERR); in HWTEST_F() 187 sptr<IRemoteObject> token = object; in HWTEST_F() local 191 EXPECT_EQ(testProxy->Register(bundleName, token, extra in HWTEST_F() 209 sptr<IRemoteObject> token = object; HWTEST_F() local 233 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 256 sptr<IRemoteObject> token = object; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | app_mgr_client.h | 72 * @param token Ability identify. 76 virtual AppMgrResultCode TerminateAbility(const sptr<IRemoteObject> &token, bool clearMissionFlag); 81 * @param token Ability identify. 85 virtual AppMgrResultCode UpdateAbilityState(const sptr<IRemoteObject> &token, const AbilityState state); 90 * @param token, the unique identification to update the extension. 94 virtual AppMgrResultCode UpdateExtensionState(const sptr<IRemoteObject> &token, const ExtensionState state); 113 * kill the process by ability token. 115 * @param token, the unique identification to the ability. 118 virtual AppMgrResultCode KillProcessByAbilityToken(const sptr<IRemoteObject> &token); 139 * @param token chil [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_ability_runtime_test/AMS/ |
H A D | mock_ability_manager_client.cpp | 54 sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) in AttachAbilityThread() 63 return abms->AttachAbilityThread(scheduler, token); in AttachAbilityThread() 66 ErrCode AbilityManagerClient::AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap& saveData) in AbilityTransitionDone() argument 72 return abms->AbilityTransitionDone(token, state, saveData); in AbilityTransitionDone() 76 sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) in ScheduleConnectAbilityDone() 82 return abms->ScheduleConnectAbilityDone(token, remoteObject); in ScheduleConnectAbilityDone() 85 ErrCode AbilityManagerClient::ScheduleDisconnectAbilityDone(sptr<IRemoteObject> token) in ScheduleDisconnectAbilityDone() argument 91 return abms->ScheduleDisconnectAbilityDone(token); in ScheduleDisconnectAbilityDone() 94 ErrCode AbilityManagerClient::ScheduleCommandAbilityDone(sptr<IRemoteObject> token) in ScheduleCommandAbilityDone() argument 101 return abms->ScheduleCommandAbilityDone(token); in ScheduleCommandAbilityDone() 53 AttachAbilityThread( sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token) AttachAbilityThread() argument 75 ScheduleConnectAbilityDone( sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject) ScheduleConnectAbilityDone() argument 104 ScheduleCommandAbilityWindowDone( sptr<IRemoteObject> token, sptr<SessionInfo> sessionInfo, WindowCommand winCmd, AbilityCommand abilityCmd) ScheduleCommandAbilityWindowDone() argument 164 TerminateAbility( sptr<IRemoteObject> token, int resultCode, const Want* resultWant) TerminateAbility() argument 221 StopServiceAbility(const Want& want, sptr<IRemoteObject> token) StopServiceAbility() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | extension_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() 72 * @tc.desc: record is null, application is null, handler is null, token is not null, Init failed. 80 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 82 extension->Init(record, application, handler, token); in HWTEST_F() 92 * @tc.desc: record is not null, application is null, handler is null, token is not null, Init failed. 99 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 100 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F() 105 extension->Init(record, application, handler, token); in HWTEST_F() 123 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 145 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 164 sptr<IRemoteObject> token = new AppExecFwk::MockAbilityToken(); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_rtsym.c | 227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest() 243 *cpp_id = NFP_CPP_ISLAND_ID(NFP_CPP_TARGET_MU, action, token, in nfp_rtsym_to_dest() 250 *cpp_id = NFP_CPP_ISLAND_ID(sym->target, action, token, in nfp_rtsym_to_dest() 258 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_read() 281 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_read() 295 u8 action, u8 token, u64 off, u32 *value) in __nfp_rtsym_readl() 307 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_readl() 321 u8 action, u8 token, u64 off, u64 *value) in __nfp_rtsym_readq() 338 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_readq() 352 u8 action, u8 token, u6 in __nfp_rtsym_write() 226 nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) nfp_rtsym_to_dest() argument 257 __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, void *buf, size_t len) __nfp_rtsym_read() argument 294 __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 *value) __nfp_rtsym_readl() argument 320 __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u64 *value) __nfp_rtsym_readq() argument 351 __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, void *buf, size_t len) __nfp_rtsym_write() argument 379 __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 value) __nfp_rtsym_writel() argument 405 __nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u64 value) __nfp_rtsym_writeq() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_rtsym.c | 227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest() 243 *cpp_id = NFP_CPP_ISLAND_ID(NFP_CPP_TARGET_MU, action, token, in nfp_rtsym_to_dest() 250 *cpp_id = NFP_CPP_ISLAND_ID(sym->target, action, token, in nfp_rtsym_to_dest() 258 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_read() 281 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_read() 295 u8 action, u8 token, u64 off, u32 *value) in __nfp_rtsym_readl() 307 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_readl() 321 u8 action, u8 token, u64 off, u64 *value) in __nfp_rtsym_readq() 338 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_readq() 352 u8 action, u8 token, u6 in __nfp_rtsym_write() 226 nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) nfp_rtsym_to_dest() argument 257 __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, void *buf, size_t len) __nfp_rtsym_read() argument 294 __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 *value) __nfp_rtsym_readl() argument 320 __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u64 *value) __nfp_rtsym_readq() argument 351 __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, void *buf, size_t len) __nfp_rtsym_write() argument 379 __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u32 value) __nfp_rtsym_writel() argument 405 __nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u8 action, u8 token, u64 off, u64 value) __nfp_rtsym_writeq() argument [all...] |
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | pgen.py | 5 from . import grammar, token, tokenize namespace 65 # Either a symbol name or a named token 75 # A named token (NAME, NUMBER, STRING) 76 itoken = getattr(token, label, None) 78 assert itoken in token.tok_name, label 94 c.labels.append((token.NAME, value)) 98 # An operator (any non-numeric token) 99 itoken = grammar.opmap[value] # Fails if unknown token 149 while self.type != token.ENDMARKER: 150 while self.type == token [all...] |
/foundation/ability/ability_runtime/utils/server/startup/src/ |
H A D | param.cpp | 30 if (token == nullptr) { in Marshalling() 38 if (!(static_cast<MessageParcel*>(&parcel))->WriteRemoteObject(token)) { in Marshalling() 63 token = (static_cast<MessageParcel*>(&parcel))->ReadRemoteObject(); in ReadFromParcel() 64 if (token == nullptr) { in ReadFromParcel()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/include/ |
H A D | ability_worker.h | 32 AbilityMsStatus TerminateAbility(uint64_t token);
41 AbilityMsStatus DisconnectAbility(const SvcIdentity &identity, uint64_t token);
42 AbilityMsStatus ConnectAbilityDone(const SvcIdentity &identity, uint64_t token);
43 AbilityMsStatus DisconnectAbilityDone(uint64_t token);
|
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/ |
H A D | accessibility_extension.cpp | 25 const sptr<IRemoteObject> &token) in Init() 27 ExtensionBase<AccessibilityExtensionContext>::Init(record, application, handler, token); in Init() 35 const sptr<IRemoteObject> &token) in CreateAndInitContext() 38 ExtensionBase<AccessibilityExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext() 22 Init(const std::shared_ptr<AbilityRuntime::AbilityLocalRecord> &record, const std::shared_ptr<AbilityRuntime::OHOSApplication> &application, std::shared_ptr<AbilityRuntime::AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument 31 CreateAndInitContext( const std::shared_ptr<AbilityRuntime::AbilityLocalRecord> &record, const std::shared_ptr<AbilityRuntime::OHOSApplication> &application, std::shared_ptr<AbilityRuntime::AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
|
/third_party/jerryscript/tools/vera++/scripts/rules/ |
H A D | jerry_no_space_before_closing_parentheses.tcl | 34 foreach token [getTokens $fileName 1 0 -1 -1 {}] { 35 set lineNumber [lindex $token 1] 36 set colNumber [lindex $token 2] 37 set tokenType [lindex $token 3]
|
H A D | jerry_no_space_after_opening_parentheses.tcl | 34 foreach token [getTokens $fileName 1 0 -1 -1 {}] { 35 set lineNumber [lindex $token 1] 36 set colNumber [lindex $token 2] 37 set tokenType [lindex $token 3]
|
H A D | jerry_funcname_space_parentheses.tcl | 38 foreach token [getTokens $fileName 1 0 -1 -1 {}] { 39 set lineNumber [lindex $token 1] 40 set colNumber [lindex $token 2] 41 set tokenType [lindex $token 3]
|
H A D | jerry_identifier_no_space_bracket.tcl | 34 foreach token [getTokens $fileName 1 0 -1 -1 {}] { 35 set lineNumber [lindex $token 1] 36 set colNumber [lindex $token 2] 37 set tokenType [lindex $token 3]
|
H A D | jerry_pointer_declarator_space.tcl | 36 foreach token [getTokens $fileName 1 0 -1 -1 {}] { 37 set lineNumber [lindex $token 1] 38 set colNumber [lindex $token 2] 39 set tokenType [lindex $token 3]
|