Home
last modified time | relevance | path

Searched refs:token (Results 226 - 250 of 3212) sorted by relevance

12345678910>>...129

/third_party/skia/third_party/externals/jinja2/
H A Dlexer.py109 # bind operators to token types
180 def describe_token(token):
181 """Returns a description of the token."""
182 if token.type == TOKEN_NAME:
183 return token.value
184 return _describe_token_type(token.type)
188 """Like `describe_token` but for token expressions."""
276 """Test a token against a token expression. This can either be a
277 token typ
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dapp_scheduler.h89 virtual void OnAbilityRequestDone(const sptr<IRemoteObject> &token, const int32_t state) = 0;
140 * load ability with token, ability info and application info.
142 * @param token, the token of ability.
143 * @param preToken, the token of ability's caller.
149 int LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken,
154 * terminate ability with token.
156 * @param token, the token of ability.
160 int TerminateAbility(const sptr<IRemoteObject> &token, boo
[all...]
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatastublocal_fuzzer/
H A Davmetadata_service_proxy_local_fuzzer.cpp91 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in SetUriSourceStatic() local
92 if (!token) { in SetUriSourceStatic()
109 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in SetFdSourceStatic() local
110 if (!token) { in SetFdSourceStatic()
166 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in ResolveMetadataStatic() local
167 if (!token) { in ResolveMetadataStatic()
184 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in ResolveMetadataMapStatic() local
185 if (!token) { in ResolveMetadataMapStatic()
202 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in GetAVMetadataStatic() local
203 if (!token) { in GetAVMetadataStatic()
220 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); FetchArtPictureStatic() local
238 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); FetchFrameAtTimeStatic() local
260 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); ReleaseStatic() local
277 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); DestroyStubStatic() local
[all...]
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatastub_fuzzer/
H A Davmetadata_service_proxy_fuzzer.cpp91 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in SetUriSourceStatic() local
92 if (!token) { in SetUriSourceStatic()
109 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in SetFdSourceStatic() local
110 if (!token) { in SetFdSourceStatic()
166 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in ResolveMetadataStatic() local
167 if (!token) { in ResolveMetadataStatic()
184 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in ResolveMetadataMapStatic() local
185 if (!token) { in ResolveMetadataMapStatic()
202 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); in GetAVMetadataStatic() local
203 if (!token) { in GetAVMetadataStatic()
220 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); FetchArtPictureStatic() local
238 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); FetchFrameAtTimeStatic() local
260 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); ReleaseStatic() local
277 bool token = data.WriteInterfaceToken(AVMetadataServiceProxyFuzzer::GetDescriptor()); DestroyStubStatic() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
H A Daic94xx_hwi.h236 static inline void asd_dmatok_free(struct asd_dma_tok *token) in asd_dmatok_free() argument
238 kmem_cache_free(asd_dma_token_cache, token); in asd_dmatok_free()
245 struct asd_dma_tok *token = asd_dmatok_alloc(flags); in asd_alloc_coherent() local
246 if (token) { in asd_alloc_coherent()
247 token->size = size; in asd_alloc_coherent()
248 token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev, in asd_alloc_coherent()
249 token->size, in asd_alloc_coherent()
250 &token->dma_handle, in asd_alloc_coherent()
252 if (!token->vaddr) { in asd_alloc_coherent()
253 asd_dmatok_free(token); in asd_alloc_coherent()
260 asd_free_coherent(struct asd_ha_struct *asd_ha, struct asd_dma_tok *token) asd_free_coherent() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/
H A Daic94xx_hwi.h236 static inline void asd_dmatok_free(struct asd_dma_tok *token) in asd_dmatok_free() argument
238 kmem_cache_free(asd_dma_token_cache, token); in asd_dmatok_free()
245 struct asd_dma_tok *token = asd_dmatok_alloc(flags); in asd_alloc_coherent() local
246 if (token) { in asd_alloc_coherent()
247 token->size = size; in asd_alloc_coherent()
248 token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev, in asd_alloc_coherent()
249 token->size, in asd_alloc_coherent()
250 &token->dma_handle, in asd_alloc_coherent()
252 if (!token->vaddr) { in asd_alloc_coherent()
253 asd_dmatok_free(token); in asd_alloc_coherent()
260 asd_free_coherent(struct asd_ha_struct *asd_ha, struct asd_dma_tok *token) asd_free_coherent() argument
[all...]
/third_party/protobuf/conformance/third_party/jsoncpp/
H A Djsoncpp.cpp327 Token token; in parse() local
328 skipCommentTokens(token); in parse()
333 // Set error location to start of doc, ideally should be first token found in parse()
335 token.type_ = tokenError; in parse()
336 token.start_ = beginDoc; in parse()
337 token.end_ = endDoc; in parse()
340 token); in parse()
355 Token token; in readValue() local
356 skipCommentTokens(token); in readValue()
364 switch (token in readValue()
431 skipCommentTokens(Token& token) skipCommentTokens() argument
441 readToken(Token& token) readToken() argument
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicesecond_fuzzer/
H A Dabilitymanagerservicesecond_fuzzer.cpp54 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
61 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
63 return token; in GetFuzzAbilityToken()
72 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local
77 abilityms->GetWantSender(wantSenderInfo, token); in DoSomethingInterestingWithMyAPI()
109 abilityms->GetMissionIdByToken(token); in DoSomethingInterestingWithMyAPI()
114 abilityms->AcquireDataAbility(uri, boolParam, token); in DoSomethingInterestingWithMyAPI()
116 abilityms->ReleaseDataAbility(dataAbilityScheduler, token); in DoSomethingInterestingWithMyAPI()
117 abilityms->AttachAbilityThread(dataAbilityScheduler, token); in DoSomethingInterestingWithMyAPI()
133 abilityms->AbilityTransitionDone(token, intPara in DoSomethingInterestingWithMyAPI()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c34 int token, ret; in sensor_group_enable() local
36 token = opal_async_get_token_interruptible(); in sensor_group_enable()
37 if (token < 0) in sensor_group_enable()
38 return token; in sensor_group_enable()
40 ret = opal_sensor_group_enable(handle, token, enable); in sensor_group_enable()
42 ret = opal_async_wait_response(token, &msg); in sensor_group_enable()
54 opal_async_release_token(token); in sensor_group_enable()
65 int ret, token; in sg_store() local
74 token = opal_async_get_token_interruptible(); in sg_store()
75 if (token < in sg_store()
[all...]
H A Dopal-powercap.c37 int ret, token; in powercap_show() local
39 token = opal_async_get_token_interruptible(); in powercap_show()
40 if (token < 0) { in powercap_show()
41 pr_devel("Failed to get token\n"); in powercap_show()
42 return token; in powercap_show()
49 ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap)); in powercap_show()
52 ret = opal_async_wait_response(token, &msg); in powercap_show()
77 opal_async_release_token(token); in powercap_show()
89 int ret, token; in powercap_store() local
95 token in powercap_store()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c34 int token, ret; in sensor_group_enable() local
36 token = opal_async_get_token_interruptible(); in sensor_group_enable()
37 if (token < 0) in sensor_group_enable()
38 return token; in sensor_group_enable()
40 ret = opal_sensor_group_enable(handle, token, enable); in sensor_group_enable()
42 ret = opal_async_wait_response(token, &msg); in sensor_group_enable()
54 opal_async_release_token(token); in sensor_group_enable()
65 int ret, token; in sg_store() local
74 token = opal_async_get_token_interruptible(); in sg_store()
75 if (token < in sg_store()
[all...]
H A Dopal-powercap.c37 int ret, token; in powercap_show() local
39 token = opal_async_get_token_interruptible(); in powercap_show()
40 if (token < 0) { in powercap_show()
41 pr_devel("Failed to get token\n"); in powercap_show()
42 return token; in powercap_show()
49 ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap)); in powercap_show()
52 ret = opal_async_wait_response(token, &msg); in powercap_show()
77 opal_async_release_token(token); in powercap_show()
89 int ret, token; in powercap_store() local
95 token in powercap_store()
[all...]
/third_party/gn/src/gn/
H A Dparser.h51 std::unique_ptr<ParseNode> Block(const Token& token);
52 std::unique_ptr<ParseNode> Literal(const Token& token);
53 std::unique_ptr<ParseNode> Name(const Token& token);
54 std::unique_ptr<ParseNode> Group(const Token& token);
55 std::unique_ptr<ParseNode> Not(const Token& token);
56 std::unique_ptr<ParseNode> List(const Token& token);
57 std::unique_ptr<ParseNode> BlockComment(const Token& token);
61 const Token& token);
63 const Token& token);
65 const Token& token);
[all...]
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dmodule_running_record.cpp56 const sptr<IRemoteObject> &token) const in GetAbilityRunningRecordByToken()
58 if (!token) { in GetAbilityRunningRecordByToken()
59 TAG_LOGE(AAFwkTag::APPMGR, "null token"); in GetAbilityRunningRecordByToken()
63 const auto &iter = abilities_.find(token); in GetAbilityRunningRecordByToken()
70 std::shared_ptr<AbilityRunningRecord> ModuleRunningRecord::AddAbility(sptr<IRemoteObject> token, in AddAbility() argument
74 if (!token || !abilityInfo) { in AddAbility()
75 TAG_LOGE(AAFwkTag::APPMGR, "null abilityInfo or token"); in AddAbility()
78 if (GetAbilityRunningRecordByToken(token)) { in AddAbility()
82 auto abilityRecord = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); in AddAbility()
91 abilities_.emplace(token, abilityRecor in AddAbility()
95 IsLastAbilityRecord(const sptr<IRemoteObject> &token) IsLastAbilityRecord() argument
233 TerminateAbility(const std::shared_ptr<AppRunningRecord> &appRecord, const sptr<IRemoteObject> &token, const bool isForce) TerminateAbility() argument
291 AbilityTerminated(const sptr<IRemoteObject> &token) AbilityTerminated() argument
[all...]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp312 Token token; in parse() local
313 skipCommentTokens(token); in parse()
318 // Set error location to start of doc, ideally should be first token found in parse()
320 token.type_ = tokenError; in parse()
321 token.start_ = beginDoc; in parse()
322 token.end_ = endDoc; in parse()
325 token); in parse()
340 Token token; in readValue() local
341 skipCommentTokens(token); in readValue()
349 switch (token in readValue()
416 skipCommentTokens(Token& token) skipCommentTokens() argument
426 readToken(Token& token) readToken() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp312 Token token; in parse() local
313 skipCommentTokens(token); in parse()
318 // Set error location to start of doc, ideally should be first token found in parse()
320 token.type_ = tokenError; in parse()
321 token.start_ = beginDoc; in parse()
322 token.end_ = endDoc; in parse()
325 token); in parse()
340 Token token; in readValue() local
341 skipCommentTokens(token); in readValue()
349 switch (token in readValue()
416 skipCommentTokens(Token& token) skipCommentTokens() argument
426 readToken(Token& token) readToken() argument
[all...]
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp312 Token token; in parse() local
313 skipCommentTokens(token); in parse()
318 // Set error location to start of doc, ideally should be first token found in parse()
320 token.type_ = tokenError; in parse()
321 token.start_ = beginDoc; in parse()
322 token.end_ = endDoc; in parse()
325 token); in parse()
340 Token token; in readValue() local
341 skipCommentTokens(token); in readValue()
349 switch (token in readValue()
416 skipCommentTokens(Token& token) skipCommentTokens() argument
426 readToken(Token& token) readToken() argument
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/
H A Dgraphics_context.cpp216 [](IClassFactory&, PluginToken token) -> IInterface* {
217 if (token) {
218 Agp3DPluginState* state = static_cast<Agp3DPluginState*>(token);
230 [](IClassRegister& registry, PluginToken token) -> IInterface* {
231 if (token) {
232 Agp3DPluginState* state = static_cast<Agp3DPluginState*>(token);
243 [](IClassRegister& registry, PluginToken token) -> IInterface* {
244 if (token) {
245 Agp3DPluginState* state = static_cast<Agp3DPluginState*>(token);
255 [](IClassFactory& registry, PluginToken token)
317 auto token = plugin->createPlugin(*this); Init() local
464 auto token = plugin->createPlugin(*this); OnTypeInfoEvent() local
494 Agp3DPluginState* token = new Agp3DPluginState { context, {}, {}, {}, {}, {} }; CreatePlugin3D() local
538 DestroyPlugin3D(PluginToken token) DestroyPlugin3D() argument
578 DestroyEcsPlugin3D(PluginToken token) DestroyEcsPlugin3D() argument
595 UnregisterInterfaces3D(PluginToken token) UnregisterInterfaces3D() argument
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerserviceseventh_fuzzer/
H A Dabilitymanagerserviceseventh_fuzzer.cpp68 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
75 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
77 return token; in GetFuzzAbilityToken()
91 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local
96 abilityms->GetDataAbilityManagerByToken(token); in DoSomethingInterestingWithMyAPI()
104 abilityms->GetMissionIdByAbilityToken(token); in DoSomethingInterestingWithMyAPI()
106 abilityms->StartRemoteAbilityByCall(*want, token, token); in DoSomethingInterestingWithMyAPI()
108 abilityms->ReleaseRemoteAbility(token, element); in DoSomethingInterestingWithMyAPI()
109 abilityms->StartAbilityByCall(*want, connect, token); in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicefifth_fuzzer/
H A Dabilitymanagerservicefifth_fuzzer.cpp55 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local
62 token = abilityRecord->GetToken(); in GetFuzzAbilityToken()
64 return token; in GetFuzzAbilityToken()
80 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local
84 abilityms->GetTopAbility(token); in DoSomethingInterestingWithMyAPI()
85 abilityms->DelegatorDoAbilityForeground(token); in DoSomethingInterestingWithMyAPI()
86 abilityms->DelegatorDoAbilityBackground(token); in DoSomethingInterestingWithMyAPI()
87 abilityms->DoAbilityForeground(token, uint32Param); in DoSomethingInterestingWithMyAPI()
88 abilityms->DoAbilityBackground(token, uint32Param); in DoSomethingInterestingWithMyAPI()
90 abilityms->OpenLink(*want, token, int32Para in DoSomethingInterestingWithMyAPI()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpmac.c14 * @token: Returned token; use in subsequent API calls
19 * This function returns a unique authentication token,
21 * portal; this token must be used in all subsequent commands for
29 u16 *token) in dpmac_open()
48 *token = mc_cmd_hdr_read_token(&cmd); in dpmac_open()
57 * @token: Token of DPMAC object
66 u16 token) in dpmac_close()
72 token); in dpmac_close()
83 * @token
26 dpmac_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpmac_id, u16 *token) dpmac_open() argument
64 dpmac_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpmac_close() argument
88 dpmac_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpmac_attr *attr) dpmac_get_attributes() argument
126 dpmac_set_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpmac_link_state *link_state) dpmac_set_link_state() argument
161 dpmac_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpmac_counter_id id, u64 *value) dpmac_get_counter() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/ams_service_load_ability_process_test/
H A Dams_service_load_ability_process_test.cpp79 std::shared_ptr<AppRunningRecord> StartLoadAbility(const sptr<IRemoteObject>& token,
136 std::shared_ptr<AppRunningRecord> AmsServiceLoadAbilityProcessTest::StartLoadAbility(const sptr<IRemoteObject>& token, in StartLoadAbility() argument
145 loadParam.token = token; in StartLoadAbility()
183 sptr<IRemoteObject> token = GetMockToken(); in HWTEST_F() local
185 loadParam.token = token; in HWTEST_F()
199 auto abilityRecord = record->GetAbilityRunningRecordByToken(token); in HWTEST_F()
220 sptr<IRemoteObject> token = GetMockToken(); in HWTEST_F() local
234 loadParam.token in HWTEST_F()
428 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
486 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
720 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
753 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
813 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
881 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
944 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
1011 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
1072 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
1139 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
1209 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
1264 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
1309 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
1358 sptr<IRemoteObject> token = GetMockToken(); HWTEST_F() local
[all...]
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Draw_address.cpp27 std::vector<std::string> token; in ConvertToUint8() local
31 token.push_back(address_.substr(startPostion, colonPosition - startPostion)); in ConvertToUint8()
36 token.push_back(address_.substr(startPostion)); in ConvertToUint8()
38 if (token.size() != BT_ADDRESS_BYTE_LEN) { in ConvertToUint8()
43 dst[i] = strtol(token[BT_ADDRESS_BYTE_LEN - 1 - i].c_str(), &tmp, BT_ADDRESS_STR_LEN - 1); in ConvertToUint8()
53 char token[BT_ADDRESS_STR_LEN + 1] = {0}; in ConvertToString() local
55 (void)sprintf_s(token, in ConvertToString()
65 return RawAddress(token); in ConvertToString()
/foundation/multimedia/player_framework/services/services/screen_capture_monitor/ipc/
H A Dscreen_capture_monitor_service_proxy.cpp43 bool token = data.WriteInterfaceToken(ScreenCaptureMonitorServiceProxy::GetDescriptor()); in SetListenerObject() local
44 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetListenerObject()
59 bool token = data.WriteInterfaceToken(ScreenCaptureMonitorServiceProxy::GetDescriptor()); in CloseListenerObject() local
60 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in CloseListenerObject()
73 bool token = data.WriteInterfaceToken(ScreenCaptureMonitorServiceProxy::GetDescriptor()); in IsScreenCaptureWorking() local
74 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in IsScreenCaptureWorking()
87 bool token = data.WriteInterfaceToken(ScreenCaptureMonitorServiceProxy::GetDescriptor()); in DestroyStub() local
88 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in DestroyStub()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dpapr-sysparm.c28 * @param: PAPR system parameter token as described in
53 const s32 token = rtas_function_token(RTAS_FN_IBM_GET_SYSTEM_PARAMETER); in papr_sysparm_get() local
63 if (token == RTAS_UNKNOWN_SERVICE) in papr_sysparm_get()
71 fwrc = rtas_call(token, 3, 1, NULL, param.token, in papr_sysparm_get()
105 const s32 token = rtas_function_token(RTAS_FN_IBM_SET_SYSTEM_PARAMETER); in papr_sysparm_set() local
115 if (token == RTAS_UNKNOWN_SERVICE) in papr_sysparm_set()
123 fwrc = rtas_call(token, 2, 1, NULL, param.token, in papr_sysparm_set()

Completed in 18 milliseconds

12345678910>>...129