Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 1911) sorted by relevance

12345678910>>...77

/ohos5.0/foundation/ability/idl_tool/parser/
H A Dparser.cpp63 Token token; in ParseFile() local
65 switch (token) { in ParseFile()
124 …while (token != Token::BRACKETS_RIGHT && token != Token::INTERFACE && token != Token::END_OF_FILE)… in ParseInterface()
161 if (token != Token::SEMICOLON && token != Token::BRACES_LEFT) { in ParseInterfaceMiddle()
233 Token token; in ParseMethodProperties() local
242 if (token != Token::ONEWAY && token != Token::CACHEABLE) { in ParseMethodProperties()
299 while (token != Token::SEMICOLON && token != Token::END_OF_FILE) { in ParseMethodName()
435 …while (token != Token::COMMA && token != Token::PARENTHESES_RIGHT && token != Token::END_OF_FILE) { in ParseParameterPeek()
475 …while (token != Token::COMMA && token != Token::PARENTHESES_RIGHT && token != Token::END_OF_FILE) { in ParseParameterInOut()
508 …while (token != Token::COMMA && token != Token::PARENTHESES_RIGHT && token != Token::END_OF_FILE) { in ParseParameter()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.cpp120 return token.value; in ParseLicense()
189 while (token.kind == TokenType::IMPORT || token.kind == TokenType::SEQ) { in ParseImports()
313 switch (token.kind) { in ParseAttribute()
372 switch (token.kind) { in AprseAttrUnit()
766 switch (token.kind) { in ParseType()
835 switch (token.kind) { in ParseUnsignedType()
1020 if (token.kind == TokenType::COLON || token.kind == TokenType::BRACES_LEFT) { in ParseEnumDeclaration()
1446 while (token.kind == TokenType::ADD || token.kind == TokenType::SUB) { in ParseAddExpr()
1465token.kind == TokenType::STAR || token.kind == TokenType::SLASH || token.kind == TokenType::PERCEN… in ParseMulExpr()
1827 LogError(token, in ParseExtendsInfo()
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dparser.cpp140 return token.value; in ParseLicense()
382 switch (token.kind) { in ParseTypeDecls()
411 switch (token.kind) { in ParseAttribute()
472 switch (token.kind) { in ParseAttrUnit()
728 if (token.kind == TokenType::ID && ast_->FindType(token.value) == nullptr) { in ParseMethodReturnType()
732 if (CheckBasicType(token) || CheckUserDefType(token) || token.kind == TokenType::LIST || in ParseMethodReturnType()
733 token.kind == TokenType::MAP || token.kind == TokenType::SMQ) { in ParseMethodReturnType()
952 switch (token.kind) { in SetParamAttrVal()
1011 switch (token.kind) { in CheckBasicType()
1663 while (token.kind == TokenType::ADD || token.kind == TokenType::SUB) { in ParseAddExpr()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/lexer/
H A Dlexer.cpp190 ReadId(token); in ReadToken()
219 token.value = ""; in ReadToken()
228 token.value = ""; in InitCurToken()
276 ReadDecNum(token); in ReadNum()
278 ReadNumSuffix(token); in ReadNum()
395 token.value = symbol; in ReadShiftLeftOp()
412 token.value = symbol; in ReadShiftRightOp()
429 token.value = symbol; in ReadPPlusOp()
446 token.value = symbol; in ReadMMinusOp()
464 token.value = symbol; in ReadComment()
[all …]
H A Dlexer.h64 void InitCurToken(Token &token);
66 void ReadId(Token &token);
68 void ReadNum(Token &token);
70 void ReadBinaryNum(Token &token);
72 void ReadOctNum(Token &token);
74 void ReadHexNum(Token &token);
76 void ReadDecNum(Token &token);
78 void ReadNumSuffix(Token &token);
84 void ReadPPlusOp(Token &token);
86 void ReadMMinusOp(Token &token);
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/lexer/
H A Dlexer.cpp237 ReadId(token); in ReadToken()
266 token.value = ""; in ReadToken()
275 token.value = ""; in InitCurToken()
323 ReadDecNum(token); in ReadNum()
325 ReadNumSuffix(token); in ReadNum()
442 token.value = symbol; in ReadShiftLeftOp()
459 token.value = symbol; in ReadShiftRightOp()
476 token.value = symbol; in ReadPPlusOp()
493 token.value = symbol; in ReadMMinusOp()
511 token.value = symbol; in ReadComment()
[all …]
H A Dlexer.h73 void InitCurToken(Token &token);
75 void ReadId(Token &token);
77 void ReadNum(Token &token);
79 void ReadBinaryNum(Token &token);
81 void ReadOctNum(Token &token);
83 void ReadHexNum(Token &token);
85 void ReadDecNum(Token &token);
87 void ReadNumSuffix(Token &token);
93 void ReadPPlusOp(Token &token);
95 void ReadMMinusOp(Token &token);
[all …]
/ohos5.0/foundation/multimedia/player_framework/services/services/screen_capture/ipc/
H A Dscreen_capture_service_proxy.cpp79 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in Release()
94 token = data.WriteInt32(captureMode); in SetCaptureMode()
113 token = data.WriteInt32(static_cast<int32_t>(dataType)); in SetDataType()
233 token = data.WriteInt32(taskID); in InitVideoCap()
259 token = data.WriteBool(isPrivacyAuthorityEnabled); in StartScreenCapture()
290 token = data.WriteBool(isPrivacyAuthorityEnabled); in StartScreenCaptureWithSurface()
326 token = data.WriteInt32(type); in AcquireAudioBuffer()
392 token = data.WriteInt32(type); in ReleaseAudioBuffer()
454 token = data.WriteBool(isMicrophone); in SetMicrophoneEnabled()
472 token = data.WriteBool(canvasRotation); in SetCanvasRotation()
[all …]
/ohos5.0/drivers/peripheral/user_auth/test/unittest/idm_test/
H A Denroll_specification_check_test.cpp73 UserAuthTokenHal token = {}; variable
74 token.tokenDataPlain.authType = FACE_AUTH;
80 GENERATE_TOKEN(data, token, tokenKey);
82 token.tokenDataPlain.authType = PIN_AUTH;
85 GENERATE_TOKEN(data, token, tokenKey);
89 GENERATE_TOKEN(data, token, tokenKey);
92 GENERATE_TOKEN(data, token, tokenKey);
109 UserAuthTokenHal token = {}; variable
110 token.tokenDataPlain.authType = authType;
123 GENERATE_TOKEN(data, token, tokenKey);
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dlexer.cpp64 token.type = c; in SetTokenCharacter()
73 token.type = EOF; in SetTokenCharacter()
85 InitToken(token); in Lex()
240 token.type = 0; in InitToken()
241 token.numval = 0; in InitToken()
242 token.strval.clear(); in InitToken()
243 token.src = srcName_; in InitToken()
267 token.type = STRING; in LexFromString()
337 token.type = NUMBER; in LexFromNumber()
338 token.numval = v; in LexFromNumber()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A Dlexer.js92 lexInclude(token) { argument
120 lex(token) { argument
122 this.initToken(token);
154 token.type = -1;
189 initToken(token) { argument
190 token.type = 0;
191 token.numval = 0;
192 token.strval = '';
197 lexFromLiteral(token) { argument
298 lexFromNumber(token) { argument
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/not_support_interface/cpp_target/
H A Dfail_output.txt2 [IDL-GEN]: [ParseMethod:682] [IFoo.idl:19:5] error:expected method name before 'void' token
3 [IDL-GEN]: [ParseMethodParamList:820] [IFoo.idl:19:5] error:expected '(' before 'void' token
4 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:19:5] error:expected '[' before 'void' token
6 [IDL-GEN]: [ParseParam:872] [IFoo.idl:19:25] error:expected param name before ')' token
9 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:20:5] error:expected '[' before 'boolean' token
11 [IDL-GEN]: [ParseParam:872] [IFoo.idl:20:48] error:expected param name before ',' token
14 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:21:5] error:expected '[' before 'byte' token
16 [IDL-GEN]: [ParseParam:872] [IFoo.idl:21:42] error:expected param name before ',' token
19 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:22:5] error:expected '[' before 'short' token
21 [IDL-GEN]: [ParseParam:872] [IFoo.idl:22:45] error:expected param name before ',' token
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/not_support_interface/dump_ast_target/
H A Dfail_output.txt1 [IDL-GEN]: [ParseMethod:558] [IFoo.idl:19:5] error:expected method name before 'void' token
2 [IDL-GEN]: [ParseMethodParamList:685] [IFoo.idl:19:5] error:expected '(' before 'void' token
3 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:19:5] error:expected '[' before 'void' token
5 [IDL-GEN]: [ParseParam:737] [IFoo.idl:19:25] error:expected param name before ')' token
8 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:20:5] error:expected '[' before 'boolean' token
10 [IDL-GEN]: [ParseParam:737] [IFoo.idl:20:48] error:expected param name before ',' token
13 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:21:5] error:expected '[' before 'byte' token
15 [IDL-GEN]: [ParseParam:737] [IFoo.idl:21:42] error:expected param name before ',' token
18 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:22:5] error:expected '[' before 'short' token
20 [IDL-GEN]: [ParseParam:737] [IFoo.idl:22:45] error:expected param name before ',' token
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-continuation-continuationManager.md426 | token | number | 是 | 注册后的token。 |
478 | token | number | 是 | 注册后的token。 |
531 | token | number | 是 | 注册后的token。 |
575 | token | number | 是 | 注册后的token。 |
618 | token | number | 是 | 注册后的token。 |
652 | token | number | 是 | 注册后的token。 |
692 | token | number | 是 | 注册后的token。 |
735 | token | number | 是 | 注册后的token。 |
784 | token | number | 是 | 注册后的token。 |
839 | token | number | 是 | 注册后的token。 |
[all …]
/ohos5.0/foundation/multimedia/player_framework/services/services/recorder/ipc/
H A Drecorder_service_proxy.cpp44 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetListenerObject() local
61 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoSource() local
79 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoEncoder() local
97 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoSize() local
116 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoFrameRate() local
134 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoEncodingBitRate() local
152 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoIsHdr() local
170 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetVideoEnableTemporalScale() local
188 bool token = data.WriteInterfaceToken(RecorderServiceProxy::GetDescriptor()); in SetMetaConfigs() local
296 CHECK_AND_RETURN_RET_LOG(token, nullptr, "Failed to write descriptor!"); in GetSurface()
[all …]
/ohos5.0/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_st_mock_test.cpp158 pms->Lock(token);
160 pms->UnLock(token);
188 pms->Lock(token);
243 pms->Lock(token);
291 pms->Lock(token);
331 pms->Lock(token);
362 pms->Lock(token);
390 pms->Lock(token);
428 pms->Lock(token);
456 pms->Lock(token);
[all …]
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/src/
H A Dability_scheduler.cpp75 uint64_t token = 0; in AmsCallback() local
76 ReadUint64(data, &token); in AmsCallback()
88 uint64_t token = 0; in AmsCallback() local
89 ReadUint64(data, &token); in AmsCallback()
99 uint64_t token = 0; in AmsCallback() local
100 ReadUint64(data, &token); in AmsCallback()
120 uint64_t token = 0; in AmsCallback() local
121 ReadUint64(data, &token); in AmsCallback()
152 auto task = [this, want, token] { in PerformConnectAbility()
161 auto task = [this, want, token] { in PerformDisconnectAbility()
[all …]
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
H A Dasy_token_manager.c315 AccountToken **token; in SaveTokensToFile() local
576 token->pkInfoStr.val, token->pkInfoStr.length) != EOK) { in GenerateAccountTokenFromToken()
586 token->serverPk.val, token->serverPk.length) != EOK) { in GenerateAccountTokenFromToken()
592 token->pkInfoSignature.val, token->pkInfoSignature.length) != EOK) { in GenerateAccountTokenFromToken()
1086 if ((token == NULL) || (*token == NULL)) { in GetAccountToken()
1092 return *token; in GetAccountToken()
1120 GOTO_ERR_AND_SET_RET(memcpy_s(token->serverPk.val, token->serverPk.length, in GetToken()
1146 if ((token == NULL) || (*token == NULL) || in DeleteTokenInner()
1218 if (token == NULL) { in AddToken()
1385 return token; in CreateAccountToken()
[all …]
/ohos5.0/foundation/ability/dmsfwk/services/dtbabilitymgr/src/
H A Ddistributed_ability_manager_service.cpp118 for (const auto& token : tokenVec) { in DumpNotifierLocked() local
121 info += std::to_string(token); in DumpNotifierLocked()
174 token = tToken; in Register()
188 if (IsNotifierRegistered(token)) { in Unregister()
190 callbackMap_.erase(token); in Unregister()
198 [token](int32_t n) { return n == token; }), iter->second.end()); in Unregister()
546 if (*it == token) { in IsTokenRegistered()
572 if (!IsNotifierRegistered(token)) { in IsNotifierRegisteredLocked()
721 token = iter->first; in QueryTokenByNotifier()
746 int32_t token = -1; in HandleNotifierDied() local
[all …]
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/
H A Dability_record_manager.cpp384 if (token != topRecord->token) { in TerminateMission()
413 if (token != topToken) { in TerminateAbility()
429 if (token != topToken) { in TerminateAbility()
506 if (topRecord->token != token) { in ForceStopBundle()
512 OnDestroyDone(token); in ForceStopBundle()
723 return ++token; in GenerateToken()
725 return token++; in GenerateToken()
809 if (topRecord->token == token) { in OnForegroundDone()
826 if (topRecord->token == token) { in OnBackgroundDone()
875 if ((topRecord == nullptr) || (topRecord->token != token)) { in OnDestroyDone()
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dability_record_mgr.cpp38 if (token == nullptr) { in SetToken()
42 tokens_ = token; in SetToken()
57 sptr<IRemoteObject> token = GetToken(); in SetEventRunner() local
58 if (token == nullptr) { in SetEventRunner()
81 if (token == nullptr) { in AddAbilityRecord()
91 abilityRecords_[token] = abilityRecord; in AddAbilityRecord()
102 if (token == nullptr) { in RemoveAbilityRecord()
106 abilityRecords_.erase(token); in RemoveAbilityRecord()
128 if (token == nullptr) { in GetAbilityItem()
153 sptr<IRemoteObject> token = it->first; in GetAllTokens() local
[all …]
/ohos5.0/foundation/multimedia/player_framework/services/services/player/ipc/
H A Dplayer_service_proxy.cpp111 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetListenerObject() local
129 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetSource() local
147 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetSource() local
165 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in SetSource() local
184 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in AddSubSource() local
202 bool token = data.WriteInterfaceToken(PlayerServiceProxy::GetDescriptor()); in AddSubSource() local
544 CHECK_AND_RETURN_RET_LOG(token, 0, "Failed to write descriptor!"); in GetVideoWidth()
560 CHECK_AND_RETURN_RET_LOG(token, 0, "Failed to write descriptor!"); in GetVideoHeight()
780 CHECK_AND_RETURN_RET_LOG(token, false, "Failed to write descriptor!"); in IsPlaying()
797 CHECK_AND_RETURN_RET_LOG(token, false, "Failed to write descriptor!"); in IsLooping()
[all …]
/ohos5.0/foundation/multimedia/player_framework/services/services/transcoder/ipc/
H A Dtranscoder_service_proxy.cpp44 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetListenerObject() local
61 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetVideoEncoder() local
78 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetVideoSize() local
96 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetVideoEncodingBitRate() local
113 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetAudioEncoder() local
130 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetAudioEncodingBitRate() local
147 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetOutputFormat() local
164 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetInputFile() local
182 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in SetOutputFile() local
199 bool token = data.WriteInterfaceToken(TransCoderServiceProxy::GetDescriptor()); in Prepare() local
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_record_mgr_test/
H A Dability_record_mgr_test.cpp80 auto token = recordMgr->GetToken(); variable
81 EXPECT_EQ(token, nullptr);
95 recordMgr->SetToken(token);
118 recordMgr->SetToken(token);
133 sptr<IRemoteObject> token = nullptr; variable
134 recordMgr->AddAbilityRecord(token, nullptr);
137 recordMgr->AddAbilityRecord(token, nullptr);
157 sptr<IRemoteObject> token = nullptr; variable
158 recordMgr->RemoveAbilityRecord(token);
165 recordMgr->RemoveAbilityRecord(token);
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/amsthread/
H A Dams_thread.cpp63 int TerminateAbility(uint64_t token) in TerminateAbility() argument
71 message->token = token; in TerminateAbility()
189 currentTopToken_ = newAppRecord->token; in StartAbilityInner()
222 currentTopToken_ = appRecord.token; in MoveAppToTargetState()
235 uint64_t token = nextToken_; in GenerateToken() local
236 return token; in GenerateToken()
241 uint64_t token = GenerateToken(); in CreateNewAppRecord() local
248 newAppRecord->token = token; in CreateNewAppRecord()
270 if (record->token == token) { in GetAppRecord()
284 if (record->token == token) { in PopAppRecord()
[all …]

12345678910>>...77