/foundation/systemabilitymgr/samgr_lite/samgr_client/source/ |
H A D | remote_register_rpc.c | 53 int32 token = SAMGR_AddRouter(g_remoteRegister.endpoint, &saName, identity, iUnknown);
in SAMGR_RegisterServiceApi() local 57 HILOG_INFO(HILOG_MODULE_SAMGR, "register saname: %s index: %d\n", saNameStr, token);
in SAMGR_RegisterServiceApi() 64 if (token < 0 || !g_remoteRegister.endpoint->running) {
in SAMGR_RegisterServiceApi() 65 return token;
in SAMGR_RegisterServiceApi() 68 SAMGR_ProcPolicy(g_remoteRegister.endpoint, &saName, token);
in SAMGR_RegisterServiceApi()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | key_manager_mock.cpp | 53 int32_t KeyManager::ActiveUserKey(unsigned int user, const std::vector<uint8_t> &token, in ActiveUserKey() argument 69 int32_t KeyManager::UnlockUserScreen(uint32_t user, const std::vector<uint8_t> &token, in UnlockUserScreen() argument 95 int32_t KeyManager::CreateRecoverKey(uint32_t userId, uint32_t userType, const std::vector<uint8_t> &token, in CreateRecoverKey() argument 118 const std::vector<uint8_t> &token, in GenerateUserKeyByType() 125 const std::vector<uint8_t> &token, in ActiveCeSceSeceUserKey() 117 GenerateUserKeyByType(unsigned int user, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) GenerateUserKeyByType() argument 124 ActiveCeSceSeceUserKey(unsigned int user, KeyType type, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) ActiveCeSceSeceUserKey() argument
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | queue.c | 54 void timer_event(struct s_smc *smc, u_long token) in timer_event() argument 56 PRINTF("timer event class %d token %d\n", in timer_event() 57 EV_T_CLASS(token), in timer_event() 58 EV_T_EVENT(token)) ; in timer_event() 59 queue_event(smc,EV_T_CLASS(token),EV_T_EVENT(token)); in timer_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.h | 64 typedef void (*cpdma_handler_fn)(void *token, int len, int status); 80 int cpdma_chan_submit_mapped(struct cpdma_chan *chan, void *token, 82 int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data, 84 int cpdma_chan_idle_submit_mapped(struct cpdma_chan *chan, void *token, 86 int cpdma_chan_idle_submit(struct cpdma_chan *chan, void *token, void *data,
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | trace.h | 50 __field(u32, token) 60 __entry->token = le32_to_cpu(td->ptr->token); 67 (int)((__entry->token & TD_TOTAL_BYTES) >> __ffs(TD_TOTAL_BYTES)), 68 __entry->token & TD_STATUS
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.h | 64 typedef void (*cpdma_handler_fn)(void *token, int len, int status); 80 int cpdma_chan_submit_mapped(struct cpdma_chan *chan, void *token, 82 int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data, 84 int cpdma_chan_idle_submit_mapped(struct cpdma_chan *chan, void *token, 86 int cpdma_chan_idle_submit(struct cpdma_chan *chan, void *token, void *data,
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | queue.c | 50 void timer_event(struct s_smc *smc, u_long token) in timer_event() argument 52 PRINTF("timer event class %d token %d\n", in timer_event() 53 EV_T_CLASS(token), in timer_event() 54 EV_T_EVENT(token)) ; in timer_event() 55 queue_event(smc,EV_T_CLASS(token),EV_T_EVENT(token)); in timer_event()
|
/third_party/elfutils/tests/ |
H A D | dwarf-getmacros.c | 30 static void include (Dwarf *dbg, Dwarf_Off macoff, ptrdiff_t token); 110 include (Dwarf *dbg, Dwarf_Off macoff, ptrdiff_t token) in include() argument 112 while ((token = dwarf_getmacros_off (dbg, macoff, mac, dbg, token)) != 0) in include() 113 if (token == -1) in include()
|
/third_party/nghttp2/src/ |
H A D | shrpx_quic.h | 107 int generate_quic_stateless_reset_token(uint8_t *token, const ngtcp2_cid &cid, 111 int generate_retry_token(uint8_t *token, size_t &tokenlen, uint32_t version, 116 int verify_retry_token(ngtcp2_cid &odcid, const uint8_t *token, size_t tokenlen, 121 int generate_token(uint8_t *token, size_t &tokenlen, const sockaddr *sa, 124 int verify_token(const uint8_t *token, size_t tokenlen, const sockaddr *sa,
|
/third_party/libcoap/src/ |
H A D | coap_block.c | 131 size_t token_options = pdu->data ? (size_t)(pdu->data - pdu->token) : pdu->used_size; in setup_block_b() 257 size_t token_options = pdu->data ? (size_t)(pdu->data - pdu->token) : pdu->used_size; in coap_add_block_b_data() 405 coap_cancel_observe(coap_session_t *session, coap_binary_t *token, in coap_cancel_observe() argument 421 if ((!token && !lg_crcv->app_token->length) || (token && in coap_cancel_observe() 422 coap_binary_equal(token, lg_crcv->app_token))) { in coap_cancel_observe() 467 * Need to fix lg_xmit stateless token as using tokens from in coap_cancel_observe() 503 uint64_t token; in coap_retransmit_oscore_pdu() local 518 /* Re-send request with new token */ in coap_retransmit_oscore_pdu() 519 token in coap_retransmit_oscore_pdu() 1189 uint64_t token = STATE_TOKEN_FULL(p->state_token, ++p->retry_counter); coap_build_missing_pdu() local 1646 uint64_t token = coap_decode_var_bytes8(pdu->actual_token.s, coap_send_q_blocks() local 1887 track_fetch_observe(coap_pdu_t *pdu, coap_lg_crcv_t *lg_crcv, uint32_t block_num, coap_bin_const_t *token) track_fetch_observe() argument 1991 uint8_t token[8]; coap_block_test_q_block() local 2929 uint64_t token; check_freshness() local 3100 uint64_t token = STATE_TOKEN_FULL(p->b.b1.state_token, ++p->b.b1.count); coap_handle_response_send_block() local 3201 uint64_t token = coap_decode_var_bytes8(rcvd->actual_token.s, coap_handle_response_send_block() local 3467 uint64_t token = STATE_TOKEN_FULL(p->state_token, coap_handle_response_get_block() local 3577 uint64_t token; coap_handle_response_get_block() local [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/photo_editor_extension_ability/ |
H A D | js_photo_editor_extension.cpp | 38 const sptr<IRemoteObject> &token) in Init() 42 context->SetToken(token); in Init() 69 Extension::Init(record, application, handler, token); in Init() 72 auto extensionCommon = impl_->Init(record, application, handler, token); in Init() 35 Init(const std::shared_ptr<AppExecFwk::AbilityLocalRecord> &record, const std::shared_ptr<AppExecFwk::OHOSApplication> &application, std::shared_ptr<AppExecFwk::AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | service_extension.cpp | 58 const sptr<IRemoteObject> &token) in Init() 60 ExtensionBase<ServiceExtensionContext>::Init(record, application, handler, token); in Init() 68 const sptr<IRemoteObject> &token) in CreateAndInitContext() 71 ExtensionBase<ServiceExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext() 55 Init(const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument 64 CreateAndInitContext( const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
|
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/unittest/ |
H A D | ability_manager_inner_test.cpp | 63 auto token = 0;
in AbilityManagerInnerTest002() local 64 auto ret = SchedulerLifecycleDone(token, state);
in AbilityManagerInnerTest002() 74 auto token = 0;
in AbilityManagerInnerTest003() local 75 auto ret = ForceStopBundle(token);
in AbilityManagerInnerTest003()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | ability_local_record_test.cpp | 92 sptr<IRemoteObject> token = new (std::nothrow) MockAbilityToken(); in HWTEST_F() local 93 auto record = std::make_shared<OHOS::AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F() 107 sptr<IRemoteObject> token = new (std::nothrow) MockAbilityToken(); in HWTEST_F() local 108 auto record = std::make_shared<OHOS::AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_manager/include/crypto/ |
H A D | filesystem_crypto.h | 31 const std::vector<uint8_t> &token, 40 const std::vector<uint8_t> &token, 46 const std::vector<uint8_t> &token, 54 const std::vector<uint8_t> &token,
|
/foundation/multimedia/player_framework/services/services/screen_capture_monitor/ipc/ |
H A D | screen_capture_monitor_listener_proxy.cpp | 43 bool token = data.WriteInterfaceToken(ScreenCaptureMonitorListenerProxy::GetDescriptor()); in OnScreenCaptureStarted() local 44 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnScreenCaptureStarted() 57 bool token = data.WriteInterfaceToken(ScreenCaptureMonitorListenerProxy::GetDescriptor()); in OnScreenCaptureFinished() local 58 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnScreenCaptureFinished()
|
/foundation/multimedia/player_framework/services/services/transcoder/ipc/ |
H A D | transcoder_listener_proxy.cpp | 43 bool token = data.WriteInterfaceToken(TransCoderListenerProxy::GetDescriptor());
in OnError() local 44 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!");
in OnError() 58 bool token = data.WriteInterfaceToken(TransCoderListenerProxy::GetDescriptor());
in OnInfo() local 59 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!");
in OnInfo()
|
/foundation/communication/netmanager_ext/frameworks/native/vpnextension/src/ |
H A D | vpn_extension.cpp | 62 const sptr<IRemoteObject> &token) in Init() 64 ExtensionBase<VpnExtensionContext>::Init(record, application, handler, token); in Init() 72 const sptr<IRemoteObject> &token) in CreateAndInitContext() 75 ExtensionBase<VpnExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext() 59 Init(const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) Init() argument 68 CreateAndInitContext( const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
|
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/include/ |
H A D | datashare_connection.h | 35 DataShareConnection(const Uri &uri, const sptr<IRemoteObject> &token, int32_t waitTime = 2) : uri_(uri), in DataShareConnection() argument 36 token_(token), waitTime_(waitTime) {} in DataShareConnection() 72 std::shared_ptr<DataShareProxy> GetDataShareProxy(const Uri &uri, const sptr<IRemoteObject> &token); 86 std::shared_ptr<DataShareProxy> ConnectDataShareExtAbility(const Uri &uri, const sptr<IRemoteObject> &token);
|
/foundation/window/window_manager/wm/src/ |
H A D | window_display_change_adapter.cpp | 26 WindowDisplayChangeAdapter::WindowDisplayChangeAdapter(const sptr<IRemoteObject>& token, in WindowDisplayChangeAdapter() argument 28 : token_(token), in WindowDisplayChangeAdapter() 83 void WindowDisplayChangeAdapter::OnDisplayInfoChange(const sptr<IRemoteObject>& token, in OnDisplayInfoChange() argument 97 displayInfoChangeListener_->OnDisplayInfoChange(token, displayId, density, orientation); in OnDisplayInfoChange()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | expr.y | 35 %token EXPR_PARSE EXPR_OTHER EXPR_ERROR 36 %token <num> NUMBER 37 %token <str> ID 39 %token MIN MAX IF ELSE SMT_ON D_RATIO
|
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H A D | xenbus.h | 48 const char *path, const char *token); 50 const char *token); 66 const char *token; member 126 const char *path, const char *token,
|
/kernel/linux/linux-6.6/drivers/xen/xenbus/ |
H A D | xenbus.h | 48 const char *path, const char *token); 50 const char *token); 66 const char *token; member 126 const char *path, const char *token,
|
/kernel/linux/linux-6.6/rust/macros/ |
H A D | vtable.rs | 13 .find_map(|token| match token { 23 // Retrieve the main body. The main body should be the last token tree. 32 while let Some(token) = body_it.next() { 33 match token {
|
/third_party/lzma/CPP/Windows/ |
H A D | MemoryLock.cpp | 57 HANDLE token;
in EnablePrivilege() local 58 if (MY_FUNC_SELECT(OpenProcessToken)(::GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &token))
in EnablePrivilege() 65 if (MY_FUNC_SELECT(AdjustTokenPrivileges)(token, FALSE, &tp, 0, NULL, NULL))
in EnablePrivilege() 68 ::CloseHandle(token);
in EnablePrivilege()
|