/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | share_extension_test.cpp | 86 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 shareExtension->Init(record, application, handler, token); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_utils.cpp | 29 char token[HEX_FORMAT_SIZE] = {0}; in IntToHexString() local 30 (void)sprintf_s(token, HEX_FORMAT_SIZE, "%02X", value); in IntToHexString() 31 strStream << token; in IntToHexString() local
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_utils.cpp | 28 char token[HEX_FORMAT_SIZE] = {0}; in IntToHexString() local 29 (void)sprintf_s(token, HEX_FORMAT_SIZE, "%02X", value); in IntToHexString() 30 strStream << token; in IntToHexString() local
|
/foundation/filemanagement/storage_service/services/storage_manager/include/client/ |
H A D | storage_manager_client.h | 32 const std::vector<uint8_t> &token, 41 const std::vector<uint8_t> &token, 47 const std::vector<uint8_t> &token,
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_render_service_proxy_test.cpp | 81 sptr<RSIConnectionToken> token = new IRemoteStub<RSIConnectionToken>(); in HWTEST_F() local 82 ASSERT_NE(token, nullptr); in HWTEST_F() 83 sptr<RSIRenderServiceConnection> conn = renderService->CreateConnection(token); in HWTEST_F()
|
/kernel/linux/build/test/fuzztest/accesstokenid/include/ |
H A D | accesstokenidcommon.h | 60 int GetTokenid(unsigned long long *token); 61 int SetTokenid(unsigned long long *token); 67 void GetCurToken(unsigned long long *token);
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | debug.c | 16 * token. 29 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok() 33 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok() 37 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
|
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | crypto.c | 31 void mptcp_crypto_key_sha(u64 key, u32 *token, u64 *idsn) in mptcp_crypto_key_sha() argument 38 if (token) in mptcp_crypto_key_sha() 39 *token = be32_to_cpu(mptcp_hashed_key[0]); in mptcp_crypto_key_sha()
|
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | debug.c | 16 * token. 29 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok() 33 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok() 37 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
|
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | task.h | 23 * @token: magic value the task must know for returning to @previous_profile 29 u64 token; member 34 int aa_set_current_hat(struct aa_label *label, u64 token); 77 ctx->token = 0; in aa_clear_task_ctx_trans()
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | crypto.c | 31 void mptcp_crypto_key_sha(u64 key, u32 *token, u64 *idsn) in mptcp_crypto_key_sha() argument 38 if (token) in mptcp_crypto_key_sha() 39 *token = be32_to_cpu(mptcp_hashed_key[0]); in mptcp_crypto_key_sha()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | check-sysctl-docs | 77 token = trimpunct($i) 78 if (length(token) > 0 && token != "and") {
|
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
H A D | PpTokens.cpp | 99 // Add a token (including backing string) to the end of a macro 100 // token stream, for later playback. 107 // Read the next token from a macro token stream. 119 parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)"); in getToken() 120 parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "token pasting (##)"); in getToken() 133 // and we are also on the last token 147 // 2. last token and we've been told after this there will be a ## in peekTokenizedPasting() 151 // Getting here means the last token will be pasted, after this in peekTokenizedPasting() 153 // Are we at the last non-whitespace token in peekTokenizedPasting() 211 UngetToken(int token, TPpToken* ppToken) UngetToken() argument [all...] |
/third_party/node/deps/npm/node_modules/spdx-expression-parse/ |
H A D | scan.js | 103 // Tries to read the next token. Returns `undefined` if no token is 122 var token = parseToken() 123 if (!token) { 128 tokens.push(token)
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_print.py | 19 from ..pgen2 import token namespace 58 if args and args[0] == pytree.Leaf(token.RIGHTSHIFT, ">>"): 82 pytree.Leaf(token.EQUAL, "="),
|
H A D | fix_raise.py | 27 from ..pgen2 import token namespace 42 if exc.type == token.STRING: 81 if val.type != token.NAME or val.value != "None":
|
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/ |
H A D | MacroExpander.h | 36 void lex(Token *token) override; 39 void getToken(Token *token); 40 void ungetToken(const Token &token);
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkAppParamsUtil.cpp | 77 std::string token; in readApplicationParameters() local 80 while (std::getline(sstream, token, ',')) in readApplicationParameters() 81 tokens.push_back(trim(token)); in readApplicationParameters()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/ |
H A D | MacroExpander.h | 37 void lex(Token *token) override; 42 void getToken(Token *token); 43 void ungetToken(const Token &token);
|
/third_party/pulseaudio/src/tests/ |
H A D | ladspa-dbus.py | 59 for token in tokens: 60 if token == "default": 64 arguments.append(float(token))
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | fragment.rs | 3 use syn::{token, Token}; 33 token::Brace::default().surround(out, |out| block.to_tokens(out)); in to_tokens() 61 token::Brace::default().surround(out, |out| block.to_tokens(out)); in to_tokens()
|
/third_party/rust/crates/syn/src/ |
H A D | export.rs | 54 pub use crate::token::parsing::{peek_punct, punct as parse_punct}; 58 pub use crate::token::printing::punct as print_punct; 62 pub use crate::token::private::CustomToken;
|
H A D | lookahead.rs | 5 use crate::token::Token; 9 /// Support for checking the next token in a stream to decide how to parse. 12 /// automatically construct an appropriate error message based on the token 89 /// Looks at the next token in the parse stream to determine whether it 90 /// matches the requested type of token. 102 /// - `input.peek(token::Brace)` 103 pub fn peek<T: Peek>(&self, token: T) -> bool { in peek() 104 let _ = token; in peek() 110 /// The error message will identify all of the expected token types that 119 Error::new(self.cursor.span(), "unexpected token") in error() [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/ |
H A D | ability_recovery.cpp | 73 const std::shared_ptr<AbilityInfo>& abilityInfo, const sptr<IRemoteObject>& token) in InitAbilityInfo() 78 token_ = token; in InitAbilityInfo() 264 auto token = token_.promote(); in ScheduleSaveAbilityState() local 265 if (token == nullptr) { in ScheduleSaveAbilityState() 266 TAG_LOGE(AAFwkTag::RECOVERY, "token is nullptr"); in ScheduleSaveAbilityState() 275 abilityMgr->EnableRecoverAbility(token); in ScheduleSaveAbilityState() 278 abilityMgr->SubmitSaveRecoveryInfo(token); in ScheduleSaveAbilityState() 298 auto token = token_.promote(); in ScheduleRecoverAbility() local 299 if (token == nullptr) { in ScheduleRecoverAbility() 302 abilityMgr->ScheduleRecoverAbility(token, reaso in ScheduleRecoverAbility() 72 InitAbilityInfo(const std::shared_ptr<AbilityRuntime::UIAbility> ability, const std::shared_ptr<AbilityInfo>& abilityInfo, const sptr<IRemoteObject>& token) InitAbilityInfo() argument [all...] |
/foundation/communication/ipc/ipc/native/src/c_api/source/ |
H A D | ipc_cparcel.cpp | 327 int OH_IPCParcel_WriteInterfaceToken(OHIPCParcel *parcel, const char *token) in OH_IPCParcel_WriteInterfaceToken() argument 329 if (!IsIPCParcelValid(parcel, __func__) || token == nullptr) { in OH_IPCParcel_WriteInterfaceToken() 333 int tokenLen = strlen(token); in OH_IPCParcel_WriteInterfaceToken() 337 std::u16string u16Token = OHOS::Str8ToStr16(std::string(token, tokenLen)); in OH_IPCParcel_WriteInterfaceToken() 339 ZLOGE(LOG_LABEL, "convert token to u16string failed: %{public}d", tokenLen); in OH_IPCParcel_WriteInterfaceToken() 344 ZLOGE(LOG_LABEL, "WriteInterfaceToken failed! token len:%{public}d", tokenLen); in OH_IPCParcel_WriteInterfaceToken() 351 int OH_IPCParcel_ReadInterfaceToken(const OHIPCParcel *parcel, char **token, int32_t *len, in OH_IPCParcel_ReadInterfaceToken() argument 354 if (!IsIPCParcelValid(parcel, __func__) || !IsMemoryParamsValid(token, len, allocator, __func__)) { in OH_IPCParcel_ReadInterfaceToken() 368 *token = static_cast<char*>(allocator(memLength)); in OH_IPCParcel_ReadInterfaceToken() 369 if (*token in OH_IPCParcel_ReadInterfaceToken() [all...] |