Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 20 of 20) sorted by relevance

/device/generic/goldfish/wifi/wifi_hal/
Dwifi_hal.cpp370 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn* fn) in init_wifi_vendor_hal_func_table() argument
372 if (fn == NULL) { in init_wifi_vendor_hal_func_table()
375 fn->wifi_initialize = wifi_initialize; in init_wifi_vendor_hal_func_table()
376 fn->wifi_cleanup = wifi_cleanup; in init_wifi_vendor_hal_func_table()
377 fn->wifi_event_loop = wifi_event_loop; in init_wifi_vendor_hal_func_table()
378 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; in init_wifi_vendor_hal_func_table()
380 fn->wifi_get_ifaces = wifi_get_ifaces; in init_wifi_vendor_hal_func_table()
381 fn->wifi_get_iface_name = wifi_get_iface_name; in init_wifi_vendor_hal_func_table()
382 fn->wifi_get_link_stats = wifi_get_link_stats; in init_wifi_vendor_hal_func_table()
383 fn->wifi_set_link_stats = wifi_set_link_stats; in init_wifi_vendor_hal_func_table()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/https/
DRunLoop.cpp85 RunLoop::Token RunLoop::post(AsyncFunction fn) { in post() argument
86 CHECK(fn != nullptr); in post()
89 insert({ std::nullopt, fn, token }); in post()
94 bool RunLoop::postAndAwait(AsyncFunction fn) { in postAndAwait() argument
97 post(fn); in postAndAwait()
105 post([&cond_var, &mtx, &ran, fn](){ in postAndAwait()
106 fn(); in postAndAwait()
124 std::chrono::steady_clock::duration delay, AsyncFunction fn) { in postWithDelay() argument
125 CHECK(fn != nullptr); in postWithDelay()
128 insert({ std::chrono::steady_clock::now() + delay, fn, token }); in postWithDelay()
[all …]
DPlainSocket.cpp25 void PlainSocket::postRecv(RunLoop::AsyncFunction fn) { in postRecv() argument
26 runLoop()->postSocketRecv(fd(), fn); in postRecv()
29 void PlainSocket::postSend(RunLoop::AsyncFunction fn) { in postSend() argument
30 runLoop()->postSocketSend(fd(), fn); in postSend()
52 void PlainSocket::postFlush(RunLoop::AsyncFunction fn) { in postFlush() argument
53 fn(); in postFlush()
DSSLSocket.cpp117 void SSLSocket::postRecv(RunLoop::AsyncFunction fn) { in postRecv() argument
122 fn(); in postRecv()
127 mRecvCallback = fn; in postRecv()
296 void SSLSocket::postSend(RunLoop::AsyncFunction fn) { in postSend() argument
297 runLoop()->post(fn); in postSend()
395 auto fn = mFlushFn; in sendOutputData() local
397 if (fn != nullptr) { in sendOutputData()
398 fn(); in sendOutputData()
559 void SSLSocket::postFlush(RunLoop::AsyncFunction fn) { in postFlush() argument
563 fn(); in postFlush()
[all …]
DWebSocketHandler.cpp111 const sockaddr_in &remoteAddr, OutputCallback fn) { in setOutputCallback() argument
112 mOutputCallback = fn; in setOutputCallback()
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_hal.cpp158 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) in init_wifi_vendor_hal_func_table() argument
160 if (fn == NULL) { in init_wifi_vendor_hal_func_table()
163 fn->wifi_initialize = wifi_initialize; in init_wifi_vendor_hal_func_table()
164 fn->wifi_wait_for_driver_ready = wifi_wait_for_driver_ready; in init_wifi_vendor_hal_func_table()
165 fn->wifi_cleanup = wifi_cleanup; in init_wifi_vendor_hal_func_table()
166 fn->wifi_event_loop = wifi_event_loop; in init_wifi_vendor_hal_func_table()
167 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; in init_wifi_vendor_hal_func_table()
168 fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix; in init_wifi_vendor_hal_func_table()
169 fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui; in init_wifi_vendor_hal_func_table()
170 fn->wifi_get_ifaces = wifi_get_ifaces; in init_wifi_vendor_hal_func_table()
[all …]
/device/google/contexthub/firmware/lib/libm/
Def_rem_pio2.c105 float z,w,t,r,fn; local
142 fn = (float)n;
143 r = t-fn*pio2_1;
144 w = fn*pio2_1t; /* 1st round good to 40 bit */
155 w = fn*pio2_2;
157 w = fn*pio2_2t-((t-r)-w);
163 w = fn*pio2_3;
165 w = fn*pio2_3t-((t-r)-w);
/device/google/cuttlefish/host/frontend/gcastv2/https/include/https/
DRunLoop.h53 Token post(AsyncFunction fn);
59 bool postAndAwait(AsyncFunction fn);
62 std::chrono::steady_clock::duration delay, AsyncFunction fn);
67 void postSocketRecv(int sock, AsyncFunction fn);
68 void postSocketSend(int sock, AsyncFunction fn);
DPlainSocket.h27 void postRecv(RunLoop::AsyncFunction fn) override;
28 void postSend(RunLoop::AsyncFunction fn) override;
42 void postFlush(RunLoop::AsyncFunction fn) override;
DBufferedSocket.h30 virtual void postRecv(RunLoop::AsyncFunction fn) = 0;
31 virtual void postSend(RunLoop::AsyncFunction fn) = 0;
53 virtual void postFlush(RunLoop::AsyncFunction fn) = 0;
DSSLSocket.h54 void postRecv(RunLoop::AsyncFunction fn) override;
55 void postSend(RunLoop::AsyncFunction fn) override;
69 void postFlush(RunLoop::AsyncFunction fn) override;
DWebSocketHandler.h39 void setOutputCallback(const sockaddr_in &remoteAddr, OutputCallback fn);
/device/google/cuttlefish/host/frontend/webrtc/
Ddisplay_handler.cpp33 frame_num, [&frame_num, this](std::uint32_t fn, std::uint8_t* frame) { in Loop() argument
34 frame_num = fn; in Loop()
/device/linaro/dragonboard/qcom/qrtr/src/
Dwaiter.c116 void (* fn)(void *data, struct waiter_ticket *); member
255 if (ticket->callback.fn) in waiter_wait()
256 (* ticket->callback.fn)( in waiter_wait()
361 ticket->callback.fn = cb_fn; in waiter_ticket_callback()
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c561 char fn[256]; in pcm_params_get() local
564 snprintf(fn, sizeof(fn), "/dev/snd/pcmC%uD%u%c", card, device, in pcm_params_get()
567 fd = open(fn, O_RDWR); in pcm_params_get()
569 fprintf(stderr, "cannot open device '%s'\n", fn); in pcm_params_get()
845 char fn[256]; in pcm_open() local
854 snprintf(fn, sizeof(fn), "/dev/snd/pcmC%uD%u%c", card, device, in pcm_open()
858 pcm->fd = open(fn, O_RDWR|O_NONBLOCK); in pcm_open()
860 oops(pcm, errno, "cannot open device '%s'", fn); in pcm_open()
866 oops(pcm, errno, "failed to reset blocking mode '%s'", fn); in pcm_open()
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_hmac.cpp153 auto fn = data_size > TPM2_MAX_DIGEST_BUFFER ? SegmentedHmac : OneshotHmac; in TpmHmac() local
154 return fn(resource_manager, key_handle, auth, data, data_size); in TpmHmac()
/device/generic/goldfish-opengl/
Dcmake_transform.py185 with open(loc, 'w') as fn:
186 fn.write('\n'.join(cmklist))
/device/google/coral/audio/acdbdata/OEM/sm8150-iaxxx-flame-snd-card/
DworkspaceFile.qwsp1 …ZqdsL+PAN2JrVW+XrwzW0+3nrs30y/Tm1+dsfvVPo2T4ewrPkGYBouTuM48wM7LVHJSL1vRwfQ/fn+UTbhsL3tyFJHInzDtYp/…
/device/linaro/hikey/hifi/firmware/
Dhifi-hikey960.img1155 l���fn�J��"&nY�>���A�
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
Dxa_hikey.img1155 l���fn�J��"&nY�>���A�