/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | file_access_helper.cpp | 122 FileAccessHelper::FileAccessHelper(const sptr<IRemoteObject> &token, in FileAccessHelper() argument 125 HILOG_INFO("Create FileAccessHelper by token"); in FileAccessHelper() 126 token_ = token; in FileAccessHelper() 197 const sptr<IRemoteObject> &token, const std::vector<AAFwk::Want> &wants) in DoCreatorHelper() 226 FileAccessHelper *ptrFileAccessHelper = new (std::nothrow) FileAccessHelper(token, cMap); in DoCreatorHelper() 283 std::shared_ptr<FileAccessHelper> FileAccessHelper::Creator(const sptr<IRemoteObject> &token, in Creator() argument 288 if (token == nullptr) { in Creator() 289 HILOG_ERROR("FileAccessHelper::Creator failed, token == nullptr"); in Creator() 306 std::pair<std::shared_ptr<FileAccessHelper>, int> ptrFileAccessHelper = DoCreatorHelper(token, wants); in Creator() 196 DoCreatorHelper( const sptr<IRemoteObject> &token, const std::vector<AAFwk::Want> &wants) DoCreatorHelper() argument
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | pegasus.c | 1320 char *token, *name = NULL; in parse_id() local 1322 if ((token = strsep(&id, ":")) != NULL) in parse_id() 1323 name = token; in parse_id() 1325 if ((token = strsep(&id, ":")) != NULL) in parse_id() 1326 vendor_id = simple_strtoul(token, NULL, 16); in parse_id() 1327 if ((token = strsep(&id, ":")) != NULL) in parse_id() 1328 device_id = simple_strtoul(token, NULL, 16); in parse_id()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | pegasus.c | 1294 char *token, *name = NULL; in parse_id() local 1296 if ((token = strsep(&id, ":")) != NULL) in parse_id() 1297 name = token; in parse_id() 1299 if ((token = strsep(&id, ":")) != NULL) in parse_id() 1300 vendor_id = simple_strtoul(token, NULL, 16); in parse_id() 1301 if ((token = strsep(&id, ":")) != NULL) in parse_id() 1302 device_id = simple_strtoul(token, NULL, 16); in parse_id()
|
/third_party/ffmpeg/fftools/ |
H A D | opt_common.c | 1242 const char *token; in opt_loglevel() local 1250 token = arg; in opt_loglevel() 1251 if (*token == '+' || *token == '-') { in opt_loglevel() 1252 cmd = *token++; in opt_loglevel() 1259 if (av_strstart(token, "repeat", &arg)) { in opt_loglevel() 1265 } else if (av_strstart(token, "level", &arg)) { in opt_loglevel()
|
/third_party/rust/crates/syn/tests/common/ |
H A D | eq.rs | 155 use rustc_ast::token::{self, CommentKind, Delimiter, Lit, Nonterminal, Token, TokenKind}; 302 spanless_eq_partial_eq!(token::LitKind); 765 Some(TokenTree::Token(token, _spacing)) => { in doc_comment() 766 is_escaped_literal_token(token, unescaped) && trees.next().is_none() in doc_comment() 772 fn is_escaped_literal_token(token: &Token, unescaped: Symbol) -> bool { in is_escaped_literal_token() 773 match token { in is_escaped_literal_token() 820 kind: token::LitKind::Str, in is_escaped_lit()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_pwd.c | 36 u8 token[4]; member 308 os_memcpy(data->token, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange() 344 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange() 563 data->token); in eap_pwd_perform_commit_exchange()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_pwd.c | 36 u8 token[4]; member 308 os_memcpy(data->token, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange() 344 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange() 563 data->token); in eap_pwd_perform_commit_exchange()
|
/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_initialize.cpp | 243 if (config.token.empty()) { in ParseToken() 244 config.token = "null"; in ParseToken() 247 size_t len = config.token.length(); in ParseToken() 249 errInfo = "Parameter verification failed, the length of token should between 8 and 2048 bytes"; in ParseToken() 253 config.token = SHA256(config.token.c_str(), len); in ParseToken()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/ |
H A D | js_ui_service_extension.cpp | 141 const sptr<IRemoteObject> &token) in Init() 143 UIServiceExtension::Init(record, application, handler, token); in Init() 442 auto token = context->GetToken(); in AbilityWindowConfigTransition() local 443 if (token == nullptr) { in AbilityWindowConfigTransition() 444 TAG_LOGE(AAFwkTag::UISERVC_EXT, "token is null."); in AbilityWindowConfigTransition() 453 AAFwk::AbilityManagerClient::GetInstance()->AbilityWindowConfigTransitionDone(token, windowConfig); in AbilityWindowConfigTransition() 139 Init(const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument
|
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avsession_service_stub.cpp | 38 SLOGI("interface token is not equal"); in CheckInterfaceToken() 482 SessionToken token {}; in HandleCastAudio() 483 token.sessionId = data.ReadString(); in HandleCastAudio() 484 token.pid = data.ReadInt32(); in HandleCastAudio() 485 token.uid = data.ReadInt32(); in HandleCastAudio() 505 int32_t ret = CastAudio(token, sinkAudioDescriptors); in HandleCastAudio()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/ |
H A D | wifi_direct_utils.cpp | 48 auto token = input.substr(s, e - s); in SplitString() local 49 s += token.size() + delimiter.size(); in SplitString() 50 tokens.push_back(token); in SplitString() 275 for (const auto &token : tokens) { in MacStringToArray() 277 array.push_back(static_cast<uint8_t>(stoul(token, &idx, BASE_HEX))); in MacStringToArray()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_mipi_dbi.c | 1177 char *buf, *pos, *token; in mipi_dbi_debugfs_command_write() local 1198 token = strsep(&pos, " "); in mipi_dbi_debugfs_command_write() 1199 if (!token) { in mipi_dbi_debugfs_command_write() 1204 ret = kstrtou8(token, 16, &val); in mipi_dbi_debugfs_command_write() 1208 if (token == buf) in mipi_dbi_debugfs_command_write()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_debugdump.c | 46 u8 token; member 151 return NFP_CPP_ISLAND_ID(cpp_id->target, cpp_id->action, cpp_id->token, in nfp_get_numeric_cpp_id() 445 cpp_id->action == 0 && cpp_id->token == 0; in is_xpb_read() 515 cpp_params.token, cpp_params.island); in nfp_read_indirect_csr() 637 cpp_params.token = 0; in nfp_dump_single_rtsym()
|
H A D | nfp_main.c | 472 char *token, *ptr; in nfp_fw_load() local 484 while ((token = strsep(&ptr, ","))) { in nfp_fw_load() 487 err = kstrtoul(token, 0, &interface_hi); in nfp_fw_load() 491 token, err); in nfp_fw_load() 500 if (!token) { in nfp_fw_load()
|
/kernel/linux/linux-5.10/drivers/staging/hungtask/ |
H A D | hungtask_base.c | 861 char *token = NULL; in htbase_monitorlist_update() local 867 token = strsep(cur, ","); in htbase_monitorlist_update() 868 if (token && strlen(token)) { in htbase_monitorlist_update() 869 strncpy(whitetmplist[index].name, token, TASK_COMM_LEN); in htbase_monitorlist_update()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_debugdump.c | 46 u8 token; member 151 return NFP_CPP_ISLAND_ID(cpp_id->target, cpp_id->action, cpp_id->token, in nfp_get_numeric_cpp_id() 445 cpp_id->action == 0 && cpp_id->token == 0; in is_xpb_read() 515 cpp_params.token, cpp_params.island); in nfp_read_indirect_csr() 637 cpp_params.token = 0; in nfp_dump_single_rtsym()
|
H A D | nfp_main.c | 486 char *token, *ptr; in nfp_fw_load() local 498 while ((token = strsep(&ptr, ","))) { in nfp_fw_load() 501 err = kstrtoul(token, 0, &interface_hi); in nfp_fw_load() 505 token, err); in nfp_fw_load() 514 if (!token) { in nfp_fw_load()
|
/kernel/linux/linux-6.6/drivers/staging/hungtask/ |
H A D | hungtask_base.c | 861 char *token = NULL; in htbase_monitorlist_update() local 867 token = strsep(cur, ","); in htbase_monitorlist_update() 868 if (token && strlen(token)) { in htbase_monitorlist_update() 869 strncpy(whitetmplist[index].name, token, TASK_COMM_LEN); in htbase_monitorlist_update()
|
/third_party/libwebsockets/lib/core/ |
H A D | libwebsockets.c | 829 ts->token = NULL; in lws_tokenize() 893 ts->token = ts->start; in lws_tokenize() 899 /* token= aggregation */ in lws_tokenize() 910 /* optional token: aggregation */ in lws_tokenize() 936 * is a "delimiter", it marks the end of a token and is itself in lws_tokenize() 964 ts->token = ts->start - 1; in lws_tokenize() 993 ts->token = ts->start - 1; in lws_tokenize() 1011 /* report the new token next time */ in lws_tokenize() 1035 /* report the pending token */ in lws_tokenize() 1054 memcpy(str, ts->token, t in lws_tokenize_cstr() [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | network.c | 692 memcpy(t, ts.token, ts.token_len); in lws_parse_numeric_address() 706 memcpy(t, ts.token, ts.token_len); in lws_parse_numeric_address() 725 if (*ts.token != ':') in lws_parse_numeric_address() 745 if (ipv6 && *ts.token != ':') in lws_parse_numeric_address() 747 if (!ipv6 && *ts.token != '.') in lws_parse_numeric_address()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cStencilTexturingTests.cpp | 62 static void replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& string); 369 /** Replace first occurance of <token> with <text> in <string> starting at <search_posistion> 371 * @param token Token string 373 * @param text String that will be used as replacement for <token> 376 void Utils::replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& string) in replaceToken() argument 379 const size_t token_length = strlen(token); in replaceToken() 380 const size_t token_position = string.find(token, search_position); in replaceToken() 385 string.append("\n\nInvalid token: "); in replaceToken() 386 string.append(token); in replaceToken()
|
/base/inputmethod/imf/test/unittest/cpp_test/mock/ |
H A D | datashare_helper.cpp | 55 const sptr<IRemoteObject> &token, const std::string &strUri, const std::string &extUri) in Creator() 54 Creator( const sptr<IRemoteObject> &token, const std::string &strUri, const std::string &extUri) Creator() argument
|
H A D | datashare_helper.h | 54 const sptr<IRemoteObject> &token, const std::string &strUri, const std::string &extUri);
|
/base/location/frameworks/native/fence_extension_ability/include/ |
H A D | js_fence_extension.h | 50 * @param token the remote token. 54 std::shared_ptr<AppExecFwk::AbilityHandler> &handler, const sptr<IRemoteObject> &token) override;
|
/base/customization/enterprise_device_management/framework/extension/include/ |
H A D | js_enterprise_admin_extension.h | 47 const sptr<IRemoteObject>& token) override;
|