/third_party/libcoap/src/ |
H A D | coap_net.c | 797 pdu->token - pdu->hdr_size, in coap_session_send_pdu() 961 coap_binary_t *token; in coap_send_test_extended_token() local 971 token = coap_new_binary(session->max_token_size); in coap_send_test_extended_token() 972 if (token == NULL) { in coap_send_test_extended_token() 977 token->s[i] = (uint8_t)(i + 1); in coap_send_test_extended_token() 979 coap_add_token(pdu, session->max_token_size, token->s); in coap_send_test_extended_token() 980 coap_delete_binary(token); in coap_send_test_extended_token() 1097 * Check validity of token length in coap_send() 1101 coap_log_warn("coap_send: PDU dropped as token too long (%zu > %" PRIu32 ")\n", in coap_send() 1311 /* See if this token i in coap_send() 2334 coap_cancel_all_messages(coap_context_t *context, coap_session_t *session, coap_bin_const_t *token) coap_cancel_all_messages() argument [all...] |
/base/request/request/services/src/cxx/ |
H A D | c_request_database.cpp | 839 set->GetString(15, info.token); // Line 15 is 'token' in FillOtherTaskInfo() 902 cTaskInfo->token = WrapperCString(taskInfo.token); in BuildCTaskInfo() 954 set->GetString(25, config.token); // Line 25 is 'token' in BuildRequestTaskConfigWithString() 1016 insertValues.PutString("token", std::string(taskConfig->token.cStr, taskConfig->token.len)); in RecordRequestTask() 1088 "tries", "version", "priority", "bundle", "url", "data", "token", "titl in GetTaskInfoInner() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_mgr_stub.cpp | 405 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleAbilityCleaned() local 406 AbilityCleaned(token); in HandleAbilityCleaned() 1235 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleNotifyPageShow() local 1237 if (token == nullptr || pageStateData == nullptr) { in HandleNotifyPageShow() 1242 auto result = NotifyPageShow(token, *pageStateData); in HandleNotifyPageShow() 1252 sptr<IRemoteObject> token = data.ReadRemoteObject(); in HandleNotifyPageHide() local 1254 if (token == nullptr || pageStateData == nullptr) { in HandleNotifyPageHide() 1259 auto result = NotifyPageHide(token, *pageStateData); in HandleNotifyPageHide()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service.cpp | 269 void AppMgrService::AbilityCleaned(const sptr<IRemoteObject> &token) in AbilityCleaned() argument 276 auto appRecord = appMgrServiceInner_->GetTerminatingAppRunningRecord(token); in AbilityCleaned() 282 std::function<void()> abilityCleanedFunc = [appMgrServiceInner = appMgrServiceInner_, token]() { in AbilityCleaned() 283 appMgrServiceInner->AbilityTerminated(token); in AbilityCleaned() 1289 int32_t AppMgrService::NotifyPageShow(const sptr<IRemoteObject> &token, const PageStateData &pageStateData) in NotifyPageShow() argument 1299 return appMgrServiceInner_->NotifyPageShow(token, pageStateData); in NotifyPageShow() 1302 int32_t AppMgrService::NotifyPageHide(const sptr<IRemoteObject> &token, const PageStateData &pageStateData) in NotifyPageHide() argument 1312 return appMgrServiceInner_->NotifyPageHide(token, pageStateData); in NotifyPageHide()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_render_service_connection.cpp | 81 sptr<IRemoteObject> token, in RSRenderServiceConnection() 88 token_(token), in RSRenderServiceConnection() 222 void RSRenderServiceConnection::RSConnectionDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& token) in OnRemoteDied() argument 224 auto tokenSptr = token.promote(); in OnRemoteDied() 237 RS_LOGI("RSConnectionDeathRecipient::OnRemoteDied: token doesn't match, ignore it."); in OnRemoteDied() 248 void RSRenderServiceConnection::RSApplicationRenderThreadDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& token) in OnRemoteDied() argument 250 auto tokenSptr = token.promote(); in OnRemoteDied() 423 const sptr<VSyncIConnectionToken>& token, in CreateVSyncConnection() 430 sptr<VSyncConnection> conn = new VSyncConnection(appVSyncDistributor_, name, token->AsObject(), 0, windowNodeId); in CreateVSyncConnection() 76 RSRenderServiceConnection( pid_t remotePid, wptr<RSRenderService> renderService, RSMainThread* mainThread, sptr<RSScreenManager> screenManager, sptr<IRemoteObject> token, sptr<VSyncDistributor> distributor) RSRenderServiceConnection() argument 422 CreateVSyncConnection(const std::string& name, const sptr<VSyncIConnectionToken>& token, uint64_t id, NodeId windowNodeId) CreateVSyncConnection() argument
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | crypto_key_test.cpp | 894 UserTokenSecret userTokenSecret = {.token = {'t', 'o', 'k', 'e', 'n'}, .oldSecret = {}, in HWTEST_F() 896 UserTokenSecret userTokenSecretNull = {.token = {}, .oldSecret = {}, .newSecret = {}, .secureUid = 0}; in HWTEST_F() 943 UserTokenSecret userTokenSecret = {.token = {'t', 'o', 'k', 'e', 'n'}, .oldSecret = {}, in HWTEST_F() 945 UserTokenSecret userTokenSecretNull = {.token = {}, .oldSecret = {}, .newSecret = {}, .secureUid = 0}; in HWTEST_F() 981 std::string token = "bad_token"; in HWTEST_F() local 983 std::vector<uint8_t> badToken(token.begin(), token.end()); in HWTEST_F() 986 .token = badToken, in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/src/ |
H A D | storage_manager_proxy.cpp | 201 const std::vector<uint8_t> &token, in UpdateUserAuth() 222 if (!data.WriteUInt8Vector(token)) { in UpdateUserAuth() 223 LOGE("Write token failed"); in UpdateUserAuth() 269 LOGE("Write token failed"); in UpdateUseAuthWithRecoveryKey() 292 const std::vector<uint8_t> &token, in ActiveUserKey() 308 if (!data.WriteUInt8Vector(token)) { in ActiveUserKey() 309 LOGE("Write token failed"); in ActiveUserKey() 375 const std::vector<uint8_t> &token, in UnlockUserScreen() 391 if (!data.WriteUInt8Vector(token)) { in UnlockUserScreen() 392 LOGE("Write token faile in UnlockUserScreen() 200 UpdateUserAuth(uint32_t userId, uint64_t secureUid, const std::vector<uint8_t> &token, const std::vector<uint8_t> &oldSecret, const std::vector<uint8_t> &newSecret) UpdateUserAuth() argument 291 ActiveUserKey(uint32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) ActiveUserKey() argument 374 UnlockUserScreen(uint32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) UnlockUserScreen() argument 508 CreateRecoverKey(uint32_t userId, uint32_t userType, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) CreateRecoverKey() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libvpxenc.c | 456 char *token = av_strtok(value, ",", &saveptr); in vp8_ts_parse_int_array() local 458 while (token && dest_idx < max_entries) { in vp8_ts_parse_int_array() 459 dest[dest_idx++] = strtoul(token, NULL, 10); in vp8_ts_parse_int_array() 460 token = av_strtok(NULL, ",", &saveptr); in vp8_ts_parse_int_array() 469 char *token = av_strtok(value, ",", &saveptr); in vp8_ts_parse_int64_array() local 471 while (token && dest_idx < max_entries) { in vp8_ts_parse_int64_array() 472 dest[dest_idx++] = strtoull(token, NULL, 10); in vp8_ts_parse_int64_array() 473 token = av_strtok(NULL, ",", &saveptr); in vp8_ts_parse_int64_array()
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | ShaderLang.cpp | 72 // token to print ", but none of that seems appropriate for this file. 525 infoSink.info.message(EPrefixError, "#version: versions before 150 do not allow a profile token"); in DeduceVersionProfile() 1005 // recently read token. If we switched to a new source string, returns 1045 // lastSource is the source string index (starting from 0) of the last token 1050 // lastLine is the line number (starting from 1) of the last token processed. 1051 // It is tracked in order for newlines to be inserted when a token appears 1143 int lastToken = EndOfInput; // lastToken records the last token processed. 1146 int token = ppContext.tokenize(ppToken); 1147 if (token == EndOfInput) 1166 if (token [all...] |
/third_party/alsa-utils/topology/nhlt/intel/ssp/ |
H A D | ssp-process.c | 891 char *buf, *token = NULL; in ssp_set_params() local 929 token = strtok(buf, delim); in ssp_set_params() 931 while (token) { in ssp_set_params() 932 if (!strcmp(token, "lbm_mode")) in ssp_set_params() 934 else if (!strcmp(token, "bt_sideband")) in ssp_set_params() 936 else if (!strcmp(token, "render_feedback")) { in ssp_set_params() 940 fprintf(stderr, "ssp_set_params(): unknown quirk %s\n", token); in ssp_set_params() 945 token = strtok(NULL, delim); in ssp_set_params()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderTessellation.cpp | 429 /* Replace PRIMITIVE_MODE token with actual primitive_mode */ in getTECode() 927 const std::string token = "N_PATCH_VERTICES"; in getTCCode() local 930 while ((token_index = result.find(token)) != std::string::npos) in getTCCode() 932 result = result.replace(token_index, token.length(), n_patch_vertices_string.c_str()); in getTCCode() 934 token_index = result.find(token); in getTCCode() 983 const std::string token = "PRIMITIVE_MODE"; in getTECode() local 986 while ((token_index = result.find(token)) != std::string::npos) in getTECode() 988 result = result.replace(token_index, token.length(), primitive_mode_string.c_str()); in getTECode() 990 token_index = result.find(token); in getTECode()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl3cCullDistanceTests.cpp | 842 /* Iterate over all token and replace them with stage-specific values */ in iterate() 845 const glw::GLchar* token; in iterate() member 863 token_value_pairs[1].token = input_fs_token_string; in iterate() 871 token_value_pairs[1].token = input_gs_token_string; in iterate() 879 token_value_pairs[1].token = input_tc_token_string; in iterate() 887 token_value_pairs[1].token = input_te_token_string; in iterate() 901 if (current_pair.token == NULL || current_pair.value == NULL) in iterate() 906 while ((token_position = current_body.body_ptr->find(current_pair.token)) != std::string::npos) in iterate() 908 current_body.body_ptr->replace(token_position, strlen(current_pair.token), current_pair.value); in iterate() 910 } /* for (all token in iterate() [all...] |
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_test/ |
H A D | mission_list_manager_test.cpp | 1697 sptr<IRemoteObject> token = abilityRecord->GetToken(); in HWTEST_F() local 1701 int res = missionListManager->AttachAbilityThread(scheduler, token); in HWTEST_F() 1718 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 1720 missionListManager->OnAbilityRequestDone(token, state); in HWTEST_F() 1736 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 1738 missionListManager->OnAbilityRequestDone(token, state); in HWTEST_F() 1812 sptr<IRemoteObject> token = abilityRecord->GetToken(); in HWTEST_F() local 1819 auto res = missionListManager->GetAbilityRecordByToken(token); in HWTEST_F() 1889 sptr<IRemoteObject> token = abilityRecord->GetToken(); in HWTEST_F() local 1895 int res = missionListManager->AbilityTransactionDone(token, stat in HWTEST_F() 1915 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 4581 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 4603 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 5022 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 5051 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 5081 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 5108 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 5151 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 5175 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local 5200 sptr<IRemoteObject> token = abilityRecord->GetToken(); HWTEST_F() local [all...] |
/third_party/backends/backend/ |
H A D | umax_pp.c | 424 SANE_Char *token; in umax_pp_configure_attach() local 427 /* check for mandatory 'port' token */ in umax_pp_configure_attach() 428 lp = sanei_config_get_string (devname, &token); in umax_pp_configure_attach() 429 if (strncmp (token, "port", 4) != 0) in umax_pp_configure_attach() 432 free (token); in umax_pp_configure_attach() 435 free (token); in umax_pp_configure_attach() 438 lp = sanei_config_get_string (lp, &token); in umax_pp_configure_attach() 441 if (strncmp (token, "safe-auto", 9) == 0) in umax_pp_configure_attach() 445 else if (strncmp (token, "auto", 4) == 0) in umax_pp_configure_attach() 451 status = umax_pp_attach (config, token); in umax_pp_configure_attach() [all...] |
/third_party/nghttp2/src/ |
H A D | nghttp.cc | 336 Headers::value_type *Request::get_res_header(int32_t token) { in get_res_header() argument 337 auto idx = res_hdidx[token]; in get_res_header() 344 Headers::value_type *Request::get_req_header(int32_t token) { in get_req_header() argument 345 auto idx = req_hdidx[token]; in get_req_header() 1933 auto token = http2::lookup_token(name, namelen); in on_header_callback() local 1935 http2::index_header(req->res_hdidx, token, req->res_nva.size()); in on_header_callback() 1937 flags & NGHTTP2_NV_FLAG_NO_INDEX, token); in on_header_callback() 1957 auto token = http2::lookup_token(name, namelen); in on_header_callback() local 1959 http2::index_header(req->req_hdidx, token, req->req_nva.size()); in on_header_callback() 1961 flags & NGHTTP2_NV_FLAG_NO_INDEX, token); in on_header_callback() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_threaded_context.c | 200 assert(!batch->token); in tc_batch_execute() 270 if (next->token) { in tc_batch_flush() 271 next->token->tc = NULL; in tc_batch_flush() 272 tc_unflushed_batch_token_reference(&next->token, NULL); in tc_batch_flush() 353 if (next->token) { in _tc_sync() 354 next->token->tc = NULL; in _tc_sync() 355 tc_unflushed_batch_token_reference(&next->token, NULL); in _tc_sync() 390 struct tc_unflushed_batch_token *token, in threaded_context_flush() 396 if (token->tc && token in threaded_context_flush() 389 threaded_context_flush(struct pipe_context *_pipe, struct tc_unflushed_batch_token *token, bool prefer_async) threaded_context_flush() argument [all...] |
/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | user_idm_service_test.cpp | 310 testCredPara.token = {1, 2, 3, 4}; in HWTEST_F() 322 testCredPara.token = {1, 2, 3, 4}; in HWTEST_F() 406 testCredPara.token = {1, 2, 3, 4}; in HWTEST_F() 444 testCredPara.token = {1, 2, 3, 4}; in HWTEST_F() 502 testCredPara.token = {1, 2, 3, 4}; in HWTEST_F()
|
/foundation/communication/ipc/ipc/native/src/mock/source/ |
H A D | dbinder_databus_invoker.cpp | 937 std::string token = std::to_string(((static_cast<uint64_t>(callerUid_) << PID_LEN) in ResetCallingIdentity() local 939 std::string identity = callerDeviceID_ + token; in ResetCallingIdentity() 974 ZLOGE(LOG_LABEL, "Identity param no token, len:%{public}zu, offset:%{public}zu", identity.length(), offset); in SetCallingIdentity() 979 ZLOGE(LOG_LABEL, "Identity param token is invalid"); in SetCallingIdentity() 983 uint64_t token = std::stoull(tokenStr.c_str()); in SetCallingIdentity() local 984 callerUid_ = static_cast<int>(token >> PID_LEN); in SetCallingIdentity() 985 callerPid_ = static_cast<int>(token); in SetCallingIdentity()
|
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_binder_databus_invoker_unittest.cpp | 576 std::string token = testInvoker.ResetCallingIdentity(); in HWTEST_F() local 577 EXPECT_FALSE(token.empty()); in HWTEST_F() 578 bool ret = testInvoker.SetCallingIdentity(token, false); in HWTEST_F() 601 std::string token = std::to_string(static_cast<uint64_t>(pid)); in HWTEST_F() 602 std::string identity = accessToken + deviceId + token; in HWTEST_F()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_wpa_sta_impl.c | 593 char *token = strtok_r(NULL, "\n", &savedPtr);
in HdiWpaStaGetScanInfos() local 595 while (token != NULL) {
in HdiWpaStaGetScanInfos() 604 int length = strlen(token);
in HdiWpaStaGetScanInfos() 608 if (DelScanInfoLine(&results[j], token, length)) {
in HdiWpaStaGetScanInfos() 618 token = strtok_r(NULL, "\n", &savedPtr);
in HdiWpaStaGetScanInfos()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | generic_syncer.cpp | 1101 ContinueToken token = nullptr; in GetSyncDataSize() local 1103 outData, token, syncDataSizeInfo); in GetSyncDataSize() 1104 if (token != nullptr) { in GetSyncDataSize() 1105 static_cast<SyncGenericInterface *>(syncInterface_)->ReleaseContinueToken(token); in GetSyncDataSize() 1106 token = nullptr; in GetSyncDataSize()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_extension_session_impl.cpp | 122 TLOGE(WmsLogTag::WMS_UIEXT, "token is nullptr"); in AddExtensionWindowStageToSCB() 137 TLOGE(WmsLogTag::WMS_UIEXT, "token is nullptr"); in RemoveExtensionWindowStageFromSCB() 497 BackupAndRestoreType type, sptr<IRemoteObject> token, AppExecFwk::Ability* ability) in NapiSetUIContent() 514 uiContent->SetParentToken(token); in NapiSetUIContent() 564 TLOGE(WmsLogTag::WMS_UIEXT, "token is nullptr"); in UpdateRect() 755 TLOGE(WmsLogTag::WMS_UIEXT, "get token of window:%{public}d failed because of context is null.", in NotifyDisplayInfoChange() 759 auto token = context_->GetToken(); in NotifyDisplayInfoChange() local 760 if (token == nullptr) { in NotifyDisplayInfoChange() 761 TLOGE(WmsLogTag::WMS_UIEXT, "get token of window:%{public}d failed.", GetPersistentId()); in NotifyDisplayInfoChange() 765 token, confi in NotifyDisplayInfoChange() 496 NapiSetUIContent(const std::string& contentInfo, napi_env env, napi_value storage, BackupAndRestoreType type, sptr<IRemoteObject> token, AppExecFwk::Ability* ability) NapiSetUIContent() argument [all...] |
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_network.c | 74 "device/v3/token/activate", 90 devicePacket->tokenInfo.token = NULL; in CreateDevicePacket() 117 ATTEST_MEM_FREE(devicePacket->tokenInfo.token); in DestroyDevicePacket() 387 cJSON_AddStringToObject(postObj, "token", postValue->tokenInfo.token) == NULL) { in BuildCoapResetBody() 389 ATTEST_LOG_ERROR("[BuildCoapResetBody] postObj add uuid or token fail"); in BuildCoapResetBody() 471 cJSON_AddStringToObject(tokenInfo, "token", postValue->tokenInfo.token) == NULL) { in BuildCoapAuthBody() 473 ATTEST_LOG_ERROR("[BuildCoapAuthBody] tokenInfo Add uuid or token fail"); in BuildCoapAuthBody() 523 cJSON_AddStringToObject(postObj, "token", postValu in BuildCoapActiveBody() [all...] |
/third_party/libwebsockets/lib/roles/http/client/ |
H A D | client-http.c | 406 eb.token = NULL; in lws_http_client_socket_service() 421 if (lws_parse(wsi, eb.token, &n)) { in lws_http_client_socket_service() 436 (const uint8_t *)eb.token, in lws_http_client_socket_service() 451 * eb.token += m; in lws_http_client_socket_service() 1340 eb.token = (unsigned char *)*buf; in lws_http_client_read() 1344 *buf = (char *)eb.token; /* may be pointing to buflist or pt_serv_buf */ in lws_http_client_read() 1532 //eb.token += n; in lws_http_client_read()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | TextFormat.java | 891 * ":"), {@code Scanner} would recognize it only as a single token. Furthermore, {@code 905 // The character index within this.text at which the current token begins. 908 // The line and column numbers of the current token. 912 // The line and column numbers of the previous token (allows throwing 963 /** Advance to the next token. */ 979 // Match the next token. in nextToken() 998 /** Skip over any whitespace so that the matcher region starts at the next token. */ 1007 * If the next token exactly matches {@code token}, consume it and return {@code true}. 1010 public boolean tryConsume(final String token) { in tryConsume() argument 1023 consume(final String token) consume() argument [all...] |