/external/yaffs2/yaffs2/direct/ |
H A D | yaffs_fileem.c | 57 int handle; member in struct:__anon34292 85 filedisk.handle = open("yaffsemfile", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); 87 if(filedisk.handle < 0) 94 fSize = lseek(filedisk.handle,0,SEEK_END); 100 lseek(filedisk.handle,0,SEEK_SET); 106 written = write(filedisk.handle,&p,sizeof(yflash_Page)); 129 lseek(filedisk.handle,chunkInNAND * 528,SEEK_SET); 130 written = write(filedisk.handle,data,512); 137 lseek(filedisk.handle,chunkInNAND * 528 + 512,SEEK_SET); 138 written = write(filedisk.handle,spar [all...] |
H A D | yaffs_fileem2k.c | 55 int handle[MAX_HANDLES]; member in struct:__anon34295 125 filedisk.handle[i] = -1; 128 filedisk.handle[i] = GetBlockFileHandle(i); 155 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; 171 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; 224 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; 234 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; 288 h = filedisk.handle[(blockNo / ( BLOCKS_PER_HANDLE))]; 325 h = filedisk.handle[(blockNumber / ( BLOCKS_PER_HANDLE))];
|
H A D | yaffsfs.c | 44 __u8 inUse:1; // this handle is in use 45 __u8 readOnly:1; // this handle is read only 79 yaffs_Object *yaffsfs_GetHandleObject(int handle) argument 81 yaffsfs_Handle *h = yaffsfs_GetHandlePointer(handle); 93 // Grab a handle (when opening a file) 119 // Let go of a handle (when closing a file) 121 static int yaffsfs_PutHandle(int handle) argument 123 yaffsfs_Handle *h = yaffsfs_GetHandlePointer(handle); 341 int handle = -1; local 357 handle [all...] |
/external/webrtc/src/common_audio/vad/ |
H A D | vad_unittest.cc | 82 VadInst* handle = NULL; local 113 EXPECT_EQ(-1, WebRtcVad_Assign(&handle, NULL)); 114 EXPECT_EQ(0, WebRtcVad_Assign(&handle, tmp_handle)); 115 EXPECT_EQ(handle, tmp_handle); 119 ASSERT_EQ(0, WebRtcVad_Create(&handle)); 122 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0])); 123 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0])); 126 ASSERT_EQ(0, WebRtcVad_Init(handle)); 129 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0] - 1)); 130 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kMode 187 VadInstT* handle = (VadInstT*) malloc(sizeof(VadInstT)); local [all...] |
/external/webrtc/src/modules/audio_processing/aec/ |
H A D | echo_cancellation.c | 802 int WebRtcAec_GetDelayMetrics(void* handle, int* median, int* std) { argument 803 aecpc_t* self = handle;
|
/external/webrtc/src/modules/audio_processing/ |
H A D | echo_cancellation_impl.cc | 88 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 128 Handle* my_handle = handle(handle_index); 254 Handle* my_handle = static_cast<Handle*>(handle(0)); 297 // TODO(bjornv): How should we handle the multi-channel case? 311 Handle* my_handle = static_cast<Handle*>(handle(0)); 341 Handle* handle = NULL; local 342 if (WebRtcAec_Create(&handle) != apm_->kNoError) { 343 handle = NULL; 345 assert(handle != NULL); 348 return handle; [all...] |
H A D | echo_control_mobile_impl.cc | 94 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 137 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 230 Handle* my_handle = static_cast<Handle*>(handle(0)); 261 Handle* handle = NULL; local 262 if (WebRtcAecm_Create(&handle) != apm_->kNoError) { 263 handle = NULL; 265 assert(handle != NULL); 268 return handle; 271 int EchoControlMobileImpl::DestroyHandle(void* handle) const { 272 return WebRtcAecm_Free(static_cast<Handle*>(handle)); [all...] |
H A D | gain_control_impl.cc | 35 T* handle; 85 Handle* my_handle = static_cast<Handle*>(handle(i)); 111 Handle* my_handle = static_cast<Handle*>(handle(i)); 125 Handle* my_handle = static_cast<Handle*>(handle(i)); 163 Handle* my_handle = static_cast<Handle*>(handle(i)); 345 Handle* handle = NULL; local 346 if (WebRtcAgc_Create(&handle) != apm_->kNoError) { 347 handle = NULL; 349 assert(handle != NULL); 352 return handle; [all...] |
H A D | noise_suppression_impl.cc | 67 Handle* my_handle = static_cast<Handle*>(handle(i)); 69 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)), 75 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)), 128 Handle* handle = NULL; local 130 if (WebRtcNs_Create(&handle) != apm_->kNoError) 132 if (WebRtcNsx_Create(&handle) != apm_->kNoError) 135 handle = NULL; 137 assert(handle != NULL); 140 return handle; 143 int NoiseSuppressionImpl::DestroyHandle(void* handle) cons [all...] |
H A D | processing_component.cc | 59 void* ProcessingComponent::handle(int index) const { function in class:webrtc::ProcessingComponent
|
H A D | voice_detection_impl.cc | 77 int vad_ret = WebRtcVad_Process(static_cast<Handle*>(handle(0)), 170 Handle* handle = NULL; local 171 if (WebRtcVad_Create(&handle) != apm_->kNoError) { 172 handle = NULL; 174 assert(handle != NULL); 177 return handle; 180 int VoiceDetectionImpl::DestroyHandle(void* handle) const { 181 return WebRtcVad_Free(static_cast<Handle*>(handle)); 184 int VoiceDetectionImpl::InitializeHandle(void* handle) const { 185 return WebRtcVad_Init(static_cast<Handle*>(handle)); [all...] |
/external/webrtc/src/modules/audio_processing/utility/ |
H A D | delay_estimator.c | 62 int WebRtc_FreeBinaryDelayEstimator(BinaryDelayEstimator* handle) { argument 63 assert(handle != NULL); 65 if (handle->mean_bit_counts != NULL) { 66 free(handle->mean_bit_counts); 67 handle->mean_bit_counts = NULL; 69 if (handle->bit_counts != NULL) { 70 free(handle->bit_counts); 71 handle->bit_counts = NULL; 73 if (handle->binary_far_history != NULL) { 74 free(handle 91 WebRtc_CreateBinaryDelayEstimator(BinaryDelayEstimator** handle, int max_delay, int lookahead) argument 162 WebRtc_InitBinaryDelayEstimator(BinaryDelayEstimator* handle) argument 184 WebRtc_ProcessBinarySpectrum(BinaryDelayEstimator* handle, uint32_t binary_far_spectrum, uint32_t binary_near_spectrum) argument 297 WebRtc_binary_last_delay(BinaryDelayEstimator* handle) argument 302 WebRtc_history_size(BinaryDelayEstimator* handle) argument [all...] |
H A D | delay_estimator_wrapper.c | 143 int WebRtc_FreeDelayEstimator(void* handle) { argument 144 DelayEstimator* self = (DelayEstimator*) handle; 166 int WebRtc_CreateDelayEstimator(void** handle, argument 176 if (handle == NULL) { 184 *handle = self; 219 int WebRtc_InitDelayEstimator(void* handle) { argument 220 DelayEstimator* self = (DelayEstimator*) handle; 242 int WebRtc_DelayEstimatorProcessFix(void* handle, argument 248 DelayEstimator* self = (DelayEstimator*) handle; 291 int WebRtc_DelayEstimatorProcessFloat(void* handle, argument 328 WebRtc_last_delay(void* handle) argument [all...] |
H A D | ring_buffer.c | 68 int WebRtc_CreateBuffer(void** handle, argument 73 if (handle == NULL) { 81 *handle = self; 96 int WebRtc_InitBuffer(void* handle) { argument 97 buf_t* self = (buf_t*) handle; 113 int WebRtc_FreeBuffer(void* handle) { argument 114 buf_t* self = (buf_t*) handle; 126 size_t WebRtc_ReadBuffer(void* handle, argument 131 buf_t* self = (buf_t*) handle; 166 WebRtc_MoveReadPtr(handle, (in 172 WebRtc_WriteBuffer(void* handle, const void* data, size_t element_count) argument 209 WebRtc_MoveReadPtr(void* handle, int element_count) argument 249 WebRtc_available_read(const void* handle) argument 263 WebRtc_available_write(const void* handle) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | vlan_util.c | 35 struct nl_sock *handle = NULL; local 55 handle = nl_socket_alloc(); 56 if (!handle) { 61 if (nl_connect(handle, NETLINK_ROUTE) < 0) { 66 if (rtnl_link_alloc_cache(handle, AF_UNSPEC, &cache) < 0) { 108 if (rtnl_link_add(handle, rlink, NLM_F_CREATE) < 0) { 122 if (handle) 123 nl_socket_free(handle); 131 struct nl_sock *handle = NULL; local 137 handle [all...] |
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_nl80211.c | 79 * Therefore, we wrap the handle alloc/destroy and add our own pid 86 struct nl_handle *handle; local 90 handle = nl_handle_alloc_cb(cb); 100 nl_socket_set_local_port(handle, pid); 102 return handle; 105 static void nl80211_handle_destroy(struct nl_handle *handle) argument 107 uint32_t port = nl_socket_get_local_port(handle); 112 nl_handle_destroy(handle); 119 static int android_nl_socket_set_nonblocking(struct nl_handle *handle) argument 121 return fcntl(nl_socket_get_fd(handle), F_SETF 130 struct nl_handle *handle; local 150 nl_destroy_handles(struct nl_handle **handle) argument 165 nl80211_register_eloop_read(struct nl_handle **handle, eloop_sock_handler handler, void *eloop_data) argument 176 nl80211_destroy_eloop_handle(struct nl_handle **handle) argument 934 nl80211_recv_beacons(int sock, void *eloop_ctx, void *handle) argument 3386 wpa_driver_nl80211_event_receive(int sock, void *eloop_ctx, void *handle) argument 4144 android_genl_ctrl_resolve(struct nl_handle *handle, const char *name) argument 4305 wpa_driver_nl80211_handle_eapol_tx_status(int sock, void *eloop_ctx, void *handle) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_methods.c | 184 void *handle; local 188 handle = dlopen(so, RTLD_LAZY); 189 if (handle == NULL) { 195 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init"); 197 dlclose(handle); 205 dlclose(handle); 211 /* Store the handle for this shared object. It will be freed with 213 eap_methods->dl_handle = handle; 234 void *handle; local 253 handle 348 void *handle; local [all...] |
H A D | tncc.c | 258 static void * tncc_get_sym(void *handle, char *func) argument 264 fptr = GetProcAddressA(handle, func); 266 fptr = GetProcAddress(handle, func); 269 fptr = dlsym(handle, func); 278 void *handle = imc->dlhandle; local 281 imc->Initialize = tncc_get_sym(handle, "TNC_IMC_Initialize"); 288 imc->BeginHandshake = tncc_get_sym(handle, "TNC_IMC_BeginHandshake"); 296 tncc_get_sym(handle, "TNC_IMC_ProvideBindFunction"); 305 tncc_get_sym(handle, "TNC_IMC_NotifyConnectionChange"); 306 imc->ReceiveMessage = tncc_get_sym(handle, "TNC_IMC_ReceiveMessag [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | tncs.c | 325 static void * tncs_get_sym(void *handle, char *func) argument 329 fptr = dlsym(handle, func); 337 void *handle = imv->dlhandle; local 340 imv->Initialize = tncs_get_sym(handle, "TNC_IMV_Initialize"); 348 handle, "TNC_IMV_SolicitRecommendation"); 356 tncs_get_sym(handle, "TNC_IMV_ProvideBindFunction"); 365 tncs_get_sym(handle, "TNC_IMV_NotifyConnectionChange"); 366 imv->ReceiveMessage = tncs_get_sym(handle, "TNC_IMV_ReceiveMessage"); 367 imv->BatchEnding = tncs_get_sym(handle, "TNC_IMV_BatchEnding"); 368 imv->Terminate = tncs_get_sym(handle, "TNC_IMV_Terminat [all...] |
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | http_client.c | 44 static void http_client_got_response(struct httpread *handle, void *cookie, argument 49 wpa_printf(MSG_DEBUG, "HTTP: httpread callback: handle=%p cookie=%p " 50 "e=%d", handle, cookie, e); 339 return url; /* unable to handle base URL */
|
H A D | http_server.c | 41 static void http_request_cb(struct httpread *handle, void *cookie, argument
|
H A D | httpread.c | 63 void (*cb)(struct httpread *handle, void *cookie, 699 * Provided that httpread_create successfully returns a handle, 700 * the callback fnc is called to handle httpread_event events. 708 void (*cb)(struct httpread *handle, void *cookie, 706 httpread_create( int sd, void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds ) argument
|
/external/wpa_supplicant_8/hs20/server/www/ |
H A D | est.php | 146 $handle = popen("openssl x509 -in $cert_pem -serial -noout", "r"); variable 147 $serial = fread($handle, 200); 148 pclose($handle);
|
/external/wpa_supplicant_8/src/ap/ |
H A D | vlan_util.c | 35 struct nl_sock *handle = NULL; local 55 handle = nl_socket_alloc(); 56 if (!handle) { 61 if (nl_connect(handle, NETLINK_ROUTE) < 0) { 66 if (rtnl_link_alloc_cache(handle, AF_UNSPEC, &cache) < 0) { 108 if (rtnl_link_add(handle, rlink, NLM_F_CREATE) < 0) { 122 if (handle) 123 nl_socket_free(handle); 131 struct nl_sock *handle = NULL; local 137 handle [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_nl80211.c | 79 * Therefore, we wrap the handle alloc/destroy and add our own pid 86 struct nl_handle *handle; local 90 handle = nl_handle_alloc_cb(cb); 100 nl_socket_set_local_port(handle, pid); 102 return handle; 105 static void nl80211_handle_destroy(struct nl_handle *handle) argument 107 uint32_t port = nl_socket_get_local_port(handle); 112 nl_handle_destroy(handle); 119 static int android_nl_socket_set_nonblocking(struct nl_handle *handle) argument 121 return fcntl(nl_socket_get_fd(handle), F_SETF 130 struct nl_handle *handle; local 150 nl_destroy_handles(struct nl_handle **handle) argument 165 nl80211_register_eloop_read(struct nl_handle **handle, eloop_sock_handler handler, void *eloop_data) argument 176 nl80211_destroy_eloop_handle(struct nl_handle **handle) argument 934 nl80211_recv_beacons(int sock, void *eloop_ctx, void *handle) argument 3386 wpa_driver_nl80211_event_receive(int sock, void *eloop_ctx, void *handle) argument 4144 android_genl_ctrl_resolve(struct nl_handle *handle, const char *name) argument 4305 wpa_driver_nl80211_handle_eapol_tx_status(int sock, void *eloop_ctx, void *handle) argument [all...] |