/external/webrtc/webrtc/modules/audio_device/mac/portaudio/ |
D | pa_ringbuffer.c | 66 PaRingBufferSize PaUtil_InitializeRingBuffer(PaUtilRingBuffer* rbuf, in PaUtil_InitializeRingBuffer() argument 71 rbuf->bufferSize = elementCount; in PaUtil_InitializeRingBuffer() 72 rbuf->buffer = (char *)dataPtr; in PaUtil_InitializeRingBuffer() 73 PaUtil_FlushRingBuffer( rbuf ); in PaUtil_InitializeRingBuffer() 74 rbuf->bigMask = (elementCount*2)-1; in PaUtil_InitializeRingBuffer() 75 rbuf->smallMask = (elementCount)-1; in PaUtil_InitializeRingBuffer() 76 rbuf->elementSizeBytes = elementSizeBytes; in PaUtil_InitializeRingBuffer() 82 PaRingBufferSize PaUtil_GetRingBufferReadAvailable( PaUtilRingBuffer *rbuf ) in PaUtil_GetRingBufferReadAvailable() argument 85 return ( (rbuf->writeIndex - rbuf->readIndex) & rbuf->bigMask ); in PaUtil_GetRingBufferReadAvailable() 89 PaRingBufferSize PaUtil_GetRingBufferWriteAvailable( PaUtilRingBuffer *rbuf ) in PaUtil_GetRingBufferWriteAvailable() argument [all …]
|
D | pa_ringbuffer.h | 114 PaRingBufferSize PaUtil_InitializeRingBuffer( PaUtilRingBuffer *rbuf, PaRingBufferSize elementSizeB… 120 void PaUtil_FlushRingBuffer( PaUtilRingBuffer *rbuf ); 128 PaRingBufferSize PaUtil_GetRingBufferWriteAvailable( PaUtilRingBuffer *rbuf ); 136 PaRingBufferSize PaUtil_GetRingBufferReadAvailable( PaUtilRingBuffer *rbuf ); 148 PaRingBufferSize PaUtil_WriteRingBuffer( PaUtilRingBuffer *rbuf, const void *data, PaRingBufferSize… 160 PaRingBufferSize PaUtil_ReadRingBuffer( PaUtilRingBuffer *rbuf, void *data, PaRingBufferSize elemen… 182 PaRingBufferSize PaUtil_GetRingBufferWriteRegions( PaUtilRingBuffer *rbuf, PaRingBufferSize element… 194 PaRingBufferSize PaUtil_AdvanceRingBufferWriteIndex( PaUtilRingBuffer *rbuf, PaRingBufferSize eleme… 216 PaRingBufferSize PaUtil_GetRingBufferReadRegions( PaUtilRingBuffer *rbuf, PaRingBufferSize elementC… 228 PaRingBufferSize PaUtil_AdvanceRingBufferReadIndex( PaUtilRingBuffer *rbuf, PaRingBufferSize elemen…
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen_buffer.c | 56 struct r300_resource *rbuf = r300_resource(buf); in r300_buffer_destroy() local 58 if (rbuf->malloced_buffer) in r300_buffer_destroy() 59 FREE(rbuf->malloced_buffer); in r300_buffer_destroy() 61 if (rbuf->buf) in r300_buffer_destroy() 62 pb_reference(&rbuf->buf, NULL); in r300_buffer_destroy() 64 FREE(rbuf); in r300_buffer_destroy() 106 struct r300_resource *rbuf = r300_resource(transfer->resource); in r300_buffer_transfer_map() local 110 if (rbuf->malloced_buffer) in r300_buffer_transfer_map() 111 return (uint8_t *) rbuf->malloced_buffer + transfer->box.x; in r300_buffer_transfer_map() 120 map = rws->buffer_map(rbuf->cs_buf, r300->cs, usage); in r300_buffer_transfer_map() [all …]
|
D | r300_state.c | 1935 struct r300_resource *rbuf = r300_resource(cb->buffer); in r300_set_constant_buffer() local 1937 if (rbuf && rbuf->malloced_buffer) in r300_set_constant_buffer() 1938 mapped = (uint32_t*)rbuf->malloced_buffer; in r300_set_constant_buffer()
|
/external/drm_gralloc/ |
D | gralloc_drm_radeon.c | 260 struct radeon_buffer *rbuf; in drm_gem_radeon_alloc() local 262 rbuf = calloc(1, sizeof(*rbuf)); in drm_gem_radeon_alloc() 263 if (!rbuf) in drm_gem_radeon_alloc() 267 rbuf->rbo = radeon_bo_open(info->bufmgr, in drm_gem_radeon_alloc() 269 if (!rbuf->rbo) { in drm_gem_radeon_alloc() 272 free(rbuf); in drm_gem_radeon_alloc() 277 rbuf->rbo = radeon_alloc(info, handle); in drm_gem_radeon_alloc() 278 if (!rbuf->rbo) { in drm_gem_radeon_alloc() 279 free(rbuf); in drm_gem_radeon_alloc() 284 radeon_zero(info, rbuf->rbo); in drm_gem_radeon_alloc() [all …]
|
/external/valgrind/none/tests/ |
D | process_vm_readv_writev.c | 18 char rbuf[] = "ABCDEF"; in test_process_vm_readv() local 28 rvec[0].iov_base = rbuf + 1; in test_process_vm_readv() 30 rvec[1].iov_base = rbuf + 4; in test_process_vm_readv() 54 char rbuf[] = "ABCDEF"; in test_process_vm_writev() local 64 rvec[0].iov_base = rbuf + 1; in test_process_vm_writev() 66 rvec[1].iov_base = rbuf + 4; in test_process_vm_writev() 77 if (strcmp(rbuf, "A24D5F") != 0) { in test_process_vm_writev() 78 fprintf(stderr, "Expected: \"A24D5F\"; Got: \"%s\"\n", rbuf); in test_process_vm_writev()
|
/external/selinux/libselinux/src/ |
D | seusers.c | 102 char *rbuf = malloc(rbuflen); in get_default_gid() local 103 if (rbuf == NULL) return -1; in get_default_gid() 105 int retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent); in get_default_gid() 109 free(rbuf); in get_default_gid() 122 char *rbuf; in check_group() local 125 rbuf = malloc(rbuflen); in check_group() 126 if (rbuf == NULL) in check_group() 128 int retval = getgrnam_r(group, &gbuf, rbuf, in check_group() 132 free(rbuf); in check_group() 165 free(rbuf); in check_group()
|
/external/valgrind/mpi/ |
D | mpiwrap_type_test.c | 126 char* rbuf; in sendToMyself() local 166 rbuf = malloc(ub); in sendToMyself() 167 assert(rbuf); in sendToMyself() 169 rbuf[i] = 0xFF; in sendToMyself() 171 r = MPI_Recv( rbuf,1,*tyP, 0,99,MPI_COMM_WORLD, &status); in sendToMyself() 193 if (rbuf_walk[i] == rbuf[i]) in sendToMyself() 211 printf("%c", characterise(rbuf[i])); in sendToMyself() 215 free(rbuf); in sendToMyself()
|
/external/valgrind/memcheck/tests/solaris/ |
D | door_data.c | 133 params.rbuf = buf; in client_main() 146 printf("CLIENT: %.*s\n", (int)params.rsize, params.rbuf); in client_main() 151 if (params.rbuf != buf) in client_main() 152 if (munmap(params.rbuf, params.rsize) != 0) { in client_main()
|
D | name_service_door.c | 36 if (params->rbuf != buf) { in handle_rbuf() 37 if (munmap(params->rbuf, params->rsize) != 0) { in handle_rbuf() 62 params.rbuf = buf; in test_app_small_request() 99 params.rbuf = buf; in test_app_uninitialized_request() 166 params.rbuf = buf; in test_app_proto_icmp()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | tdls.c | 738 u8 *rbuf, *pos; in wpa_tdls_send_teardown() local 778 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown() 779 if (rbuf == NULL) in wpa_tdls_send_teardown() 781 pos = rbuf; in wpa_tdls_send_teardown() 818 reason_code, 0, peer->initiator, rbuf, pos - rbuf); in wpa_tdls_send_teardown() 819 os_free(rbuf); in wpa_tdls_send_teardown() 1053 u8 *rbuf, *pos, *count_pos; in wpa_tdls_send_tpk_m1() local 1138 rbuf = os_zalloc(buf_len + 1); in wpa_tdls_send_tpk_m1() 1139 if (rbuf == NULL) { in wpa_tdls_send_tpk_m1() 1143 pos = rbuf; in wpa_tdls_send_tpk_m1() [all …]
|
D | peerkey.c | 70 u8 *rbuf, *pos; in wpa_supplicant_send_smk_error() local 78 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, in wpa_supplicant_send_smk_error() 81 if (rbuf == NULL) in wpa_supplicant_send_smk_error() 118 ETH_P_EAPOL, rbuf, rlen, err192->key_mic); in wpa_supplicant_send_smk_error() 132 u8 *rbuf, *pos; in wpa_supplicant_send_smk_m3() local 141 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, in wpa_supplicant_send_smk_m3() 144 if (rbuf == NULL) in wpa_supplicant_send_smk_m3() 172 ETH_P_EAPOL, rbuf, rlen, reply192->key_mic); in wpa_supplicant_send_smk_m3() 986 u8 bssid[ETH_ALEN], *rbuf, *pos, *count_pos; in wpa_sm_stkstart() local 1049 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_sm_stkstart() [all …]
|
D | wpa.c | 102 u8 bssid[ETH_ALEN], *rbuf, *key_mic; in wpa_sm_key_request() local 123 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_sm_key_request() 125 if (rbuf == NULL) in wpa_sm_key_request() 159 ETH_P_EAPOL, rbuf, rlen, key_mic); in wpa_sm_key_request() 345 u8 *rbuf, *key_mic; in wpa_supplicant_send_2_of_4() local 388 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, in wpa_supplicant_send_2_of_4() 391 if (rbuf == NULL) { in wpa_supplicant_send_2_of_4() 425 ETH_P_EAPOL, rbuf, rlen, key_mic); in wpa_supplicant_send_2_of_4() 1151 u8 *rbuf, *key_mic; in wpa_supplicant_send_4_of_4() local 1155 rbuf = wpa_sm_alloc_eapol(sm, IEEE802_1X_TYPE_EAPOL_KEY, NULL, in wpa_supplicant_send_4_of_4() [all …]
|
/external/selinux/libsemanage/src/ |
D | genhomedircon.c | 283 char *rbuf = NULL; in get_home_dirs() local 358 rbuf = malloc(rbuflen); in get_home_dirs() 359 if (rbuf == NULL) in get_home_dirs() 362 while ((retval = getpwent_r(&pwstorage, rbuf, rbuflen, &pwbuf)) == 0) { in get_home_dirs() 415 free(rbuf); in get_home_dirs() 422 free(rbuf); in get_home_dirs() 820 char *rbuf = NULL; in get_users() local 841 rbuf = malloc(rbuflen); in get_users() 842 if (rbuf == NULL) in get_users() 876 retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent); in get_users() [all …]
|
/external/opencv3/modules/ml/src/ |
D | knearest.cpp | 153 float* rbuf = dbuf + testcount*k; in findNearestCore() local 162 rbuf[testidx*k + i] = 0.f; in findNearestCore() 190 float* nr = &rbuf[testidx*k]; in findNearestCore() 217 nr[j] = rbuf[testidx*k + j]; in findNearestCore() 237 s += rbuf[testidx*k + j]; in findNearestCore() 242 float* rp = rbuf + testidx*k; in findNearestCore()
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_das.c | 203 struct wpabuf *rbuf; in radius_das_receive() local 310 rbuf = radius_msg_get_buf(reply); in radius_das_receive() 311 res = sendto(das->sock, wpabuf_head(rbuf), in radius_das_receive() 312 wpabuf_len(rbuf), 0, in radius_das_receive()
|
D | radius_server.c | 1313 struct wpabuf *rbuf; in radius_server_receive_acct() local 1411 rbuf = radius_msg_get_buf(resp); in radius_server_receive_acct() 1414 res = sendto(data->acct_sock, wpabuf_head(rbuf), wpabuf_len(rbuf), 0, in radius_server_receive_acct()
|
/external/toybox/lib/ |
D | lib.c | 452 char *buf, *rbuf; in readfileat() local 468 for (rbuf = buf;;) { in readfileat() 469 rlen = readall(fd, rbuf, len); in readfileat() 473 rlen += rbuf-buf; in readfileat() 475 rbuf = buf+rlen; in readfileat() 478 *plen = len = rlen+(rbuf-buf); in readfileat()
|
/external/libmicrohttpd/src/microhttpd/ |
D | connection.c | 1127 char *rbuf; local 1133 rbuf = connection->read_buffer; 1135 ('\r' != rbuf[pos]) && ('\n' != rbuf[pos])) 1138 ('\n' != rbuf[pos]) ) 1154 if (('\r' == rbuf[pos]) && ('\n' == rbuf[pos + 1])) 1155 rbuf[pos++] = '\0'; /* skip both r and n */ 1156 rbuf[pos++] = '\0'; 1160 return rbuf;
|
/external/ipsec-tools/src/racoon/ |
D | handler.c | 853 check_recvdpkt(remote, local, rbuf) in check_recvdpkt() argument 855 vchar_t *rbuf; 865 hash = eay_md5_one(rbuf); 932 add_recvdpkt(remote, local, sbuf, rbuf) in add_recvdpkt() argument 934 vchar_t *sbuf, *rbuf; 950 new->hash = eay_md5_one(rbuf);
|
/external/opencv3/modules/core/test/ |
D | test_arithm.cpp | 610 union { double d[4]; float f[4]; int i[4];} lbuf, rbuf; in inRangeS() local 613 scalarToRawData(rb, rbuf.d, wtype, cn); in inRangeS() 623 inRangeS_((const uchar*)sptr, lbuf.i, rbuf.i, dptr, total, cn); in inRangeS() 626 inRangeS_((const schar*)sptr, lbuf.i, rbuf.i, dptr, total, cn); in inRangeS() 629 inRangeS_((const ushort*)sptr, lbuf.i, rbuf.i, dptr, total, cn); in inRangeS() 632 inRangeS_((const short*)sptr, lbuf.i, rbuf.i, dptr, total, cn); in inRangeS() 635 inRangeS_((const int*)sptr, lbuf.i, rbuf.i, dptr, total, cn); in inRangeS() 638 inRangeS_((const float*)sptr, lbuf.f, rbuf.f, dptr, total, cn); in inRangeS() 641 inRangeS_((const double*)sptr, lbuf.d, rbuf.d, dptr, total, cn); in inRangeS()
|
/external/curl/tests/server/ |
D | tftpd.c | 629 char rbuf[PKTSIZE]; in synchnet() local 649 (void) recvfrom(f, rbuf, sizeof(rbuf), 0, in synchnet()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-solaris.c | 756 void *rbuf, SizeT rsize); 807 void (*post_mem_hook)(ThreadId tid, Int fd, void *rbuf, SizeT rsize)) in door_record_client() argument 8341 void *rbuf, SizeT rsize) argument 8347 POST_MEM_WRITE((Addr) rbuf, rsize); 8493 void *rbuf, SizeT rsize, argument 8506 vki_kcf_door_arg_t *p = (vki_kcf_door_arg_t *) rbuf; 8513 vki_nss_pheader_t *p = (vki_nss_pheader_t *) rbuf; 8559 POST_FIELD_WRITE(((vki_repository_door_response_t *) rbuf)->rdr_status); 8571 open_door->post_mem_hook(tid, fd, rbuf, rsize); 8574 POST_MEM_WRITE((Addr) rbuf, rsize); [all …]
|
/external/opencv3/modules/objdetect/src/ |
D | cascadedetect.cpp | 512 sz0 = Size(std::max(rbuf.cols, (int)alignSize(sz0.width, 16)), std::max(rbuf.rows, sz0.height)); in setImage() 538 rbuf.create(sz0, CV_8U); in setImage() 560 Mat dst(s.szi.height - 1, s.szi.width - 1, CV_8U, rbuf.ptr()); in setImage()
|
D | cascadedetect.hpp | 71 Mat sbuf, rbuf; member in cv::FeatureEvaluator
|