/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
bytesio.c | 10 size_t buf_size;
member in struct:__anon4381 63 size_t alloc = self->buf_size;
97 self->buf_size = alloc;
117 if ((size_t)self->pos + len > self->buf_size) {
814 res += self->buf_size;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
bytesio.c | 10 size_t buf_size;
member in struct:__anon4694 63 size_t alloc = self->buf_size;
97 self->buf_size = alloc;
117 if ((size_t)self->pos + len > self->buf_size) {
|
/external/adhd/cras/src/server/ |
cras_udev.c | 192 int buf_size = 0; local 218 if (read_size == buf_size) { 219 if (buf_size == 0) 220 buf_size = 256; 222 buf_size *= 2; 223 uint8_t *new_buf = realloc(buf, buf_size); 231 n = read(fd, buf + read_size, buf_size - read_size);
|
/external/adhd/cras/src/tests/ |
fmt_conv_unittest.cc | 65 const size_t buf_size = 4096; local 76 c = cras_fmt_conv_create(&in_fmt, &out_fmt, buf_size, 0); 79 out_frames = cras_fmt_conv_out_frames_to_in(c, buf_size); 80 EXPECT_EQ(buf_size, out_frames); 82 out_frames = cras_fmt_conv_in_frames_to_out(c, buf_size); 83 EXPECT_EQ(buf_size, out_frames); 85 in_buff = (int16_t *)ralloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); 86 out_buff = (int16_t *)ralloc(buf_size * 2 * cras_get_format_bytes(&out_fmt)); 91 buf_size); 92 EXPECT_EQ(buf_size, out_frames) 116 const size_t buf_size = 4096; local 167 const size_t buf_size = 100; local 227 const size_t buf_size = 4096; local 334 const size_t buf_size = 4096; local 369 const size_t buf_size = 4096; local 404 const size_t buf_size = 4096; local 444 const size_t buf_size = 4096; local 485 const size_t buf_size = 4096; local 526 const size_t buf_size = 4096; local 568 const size_t buf_size = 4096; local 609 const size_t buf_size = 4096; local 650 const size_t buf_size = 4096; local 692 const size_t buf_size = 4096; local 735 const size_t buf_size = 4096; local 787 const size_t buf_size = 4096; local 839 const size_t buf_size = 4096; local 882 const size_t buf_size = 4096; local 926 const size_t buf_size = 4096; local 970 const size_t buf_size = 4096; local 1015 const size_t buf_size = 4096; local 1059 const size_t buf_size = 4096; local 1108 const size_t buf_size = 4096; local [all...] |
/external/dnsmasq/src/ |
helper.c | 51 static size_t bytes_in_buf = 0, buf_size = 0; variable 322 if (size > buf_size) 335 buf_size = size;
|
/external/flatbuffers/include/flatbuffers/ |
grpc.h | 161 auto buf_size = buf_.capacity(); // size of memory local 168 assert(msg_data + msg_size <= buf_data + buf_size); 173 grpc_slice slice = slice_allocator_.get_slice(buf_data, buf_size);
|
/external/freetype/src/lzw/ |
ftzopen.h | 120 FT_UInt buf_size; member in struct:FT_LzwStateRec_
|
/external/kernel-headers/original/uapi/linux/ |
cciss_ioctl.h | 45 WORD buf_size; /* size in bytes of the buf */ member in struct:_IOCTL_Command_struct 54 DWORD buf_size; /* size in bytes of the buf */ member in struct:_BIG_IOCTL_Command_struct
|
/external/kernel-headers/original/uapi/linux/hsi/ |
cs-protocol.h | 74 __u32 buf_size; /* bytes */ member in struct:cs_buffer_config 94 __u32 buf_size; /* 0=disabled, otherwise the transfer size */ member in struct:cs_mmap_config_block
|
/external/libxaac/decoder/ |
ixheaacd_bitbuffer.h | 44 WORD32 buf_size; member in struct:__anon26481
|
/external/mesa3d/include/GL/ |
mesa_glinterop.h | 223 ptrdiff_t buf_size; member in struct:mesa_glinterop_export_out
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_render_gen6.c | 557 int buf_size, count; local 564 buf_size = so->buffer_size - so_info->output[i].dst_offset * 4; 566 count = buf_size / struct_size; 567 if (buf_size % struct_size >= elem_size)
|
/external/mesa3d/src/util/ |
disk_cache.c | 180 size_t buf_size; local 183 buf_size = sysconf(_SC_GETPW_R_SIZE_MAX); 184 if (buf_size == -1) 185 buf_size = 512; 187 /* Loop until buf_size is large enough to query the directory */ 189 buf = ralloc_size(local, buf_size); 191 getpwuid_r(getuid(), &pwd, buf, buf_size, &result); local 198 buf_size *= 2;
|
/external/opencv/cv/src/ |
cvcanny.cpp | 99 int buf_size= 0; local 100 IPPI_CALL( icvCannyGetSize_p( size, &buf_size )); 101 CV_CALL( buffer = cvAlloc( buf_size ));
|
/external/opencv/cxcore/src/ |
cxlogic.cpp | 271 int buf_size; local 289 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 290 if( buf_size > CV_MAX_LOCAL_SIZE ) 292 CV_CALL( buffer = (uchar*)cvAlloc( buf_size )); 296 buffer = (uchar*)cvStackAlloc( buf_size ); 438 int buf_size; local 456 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 457 if( buf_size > CV_MAX_LOCAL_SIZE ) 459 CV_CALL( buffer = (uchar*)cvAlloc( buf_size )); 463 buffer = (uchar*)cvStackAlloc( buf_size ); [all...] |
/external/pdfium/fpdfsdk/ |
fpdftext.cpp | 354 int buf_size = size * sizeof(unsigned short); local 355 memcpy(buffer, cbUTF16URL.GetBuffer(buf_size), buf_size);
|
/external/python/cpython2/Modules/_io/ |
bytesio.c | 10 size_t buf_size; member in struct:__anon32715 63 size_t alloc = self->buf_size; 97 self->buf_size = alloc; 117 if ((size_t)self->pos + len > self->buf_size) { 814 res += self->buf_size;
|
/external/strace/ |
block.c | 61 uint32_t buf_size; /* input */ member in struct:blk_user_trace_setup 243 PRINT_FIELD_U(", ", buts, buf_size);
|
/external/vboot_reference/host/lib21/ |
host_key.c | 343 uint32_t buf_size = sizeof(*key) + sizeof(struct vb2_guid) + local 349 key = calloc(1, buf_size);
|
/external/vboot_reference/tests/ |
vb21_common_tests.c | 259 uint32_t buf_size; local 283 buf_size = kbuf->c.total_size; 286 buf2 = malloc(buf_size); 287 memcpy(buf2, buf, buf_size); 292 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk, &wb), 295 memcpy(buf, buf2, buf_size); 296 TEST_SUCC(vb2_verify_keyblock(kbuf, buf_size, &pubk2, &wb), 299 memcpy(buf, buf2, buf_size); 300 TEST_EQ(vb2_verify_keyblock(kbuf, buf_size, &pubk3, &wb), 304 memcpy(buf, buf2, buf_size); 386 uint32_t buf_size; local [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
read_device_node.c | 79 int buf_size, read_size; local 111 buf_size = ind - (dptr - data); 113 while ((buf_size > 0) && (!done_flag)) { 120 if (buf_size >= 16) { 128 if (buf_size >= 16) { 136 if (buf_size >= 16) { 144 if (buf_size >= 16) { 152 if (buf_size >= 16) { 160 if (buf_size >= 24) { 171 if (buf_size >= 24) [all...] |
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
IPACM_Netlink.cpp | 124 int buf_size = 6669999, sendbuff=0, res; local 146 IPACMDBG("sets the send buffer to %d\n", buf_size); 147 if (setsockopt(*p_sk_fd, SOL_SOCKET, SO_RCVBUF, &buf_size, sizeof(int)) == -1) { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
cciss_ioctl.h | 44 WORD buf_size; /* size in bytes of the buf */ member in struct:_IOCTL_Command_struct 53 DWORD buf_size; /* size in bytes of the buf */ member in struct:_BIG_IOCTL_Command_struct
|
/system/bt/stack/hid/ |
hidh_conn.cc | 874 uint16_t buf_size; local 898 buf_size = HID_CONTROL_BUF_SIZE; 902 buf_size = HID_INTERRUPT_BUF_SIZE; 915 p_buf = (BT_HDR*)osi_malloc(buf_size); 923 p_buf = (BT_HDR*)osi_malloc(buf_size); [all...] |
/system/media/audio_utils/ |
echo_reference.c | 50 size_t buf_size; // main buffer size in frames member in struct:echo_reference 117 er->buf_size = 0; 265 if (er->frames_in + inFrames > er->buf_size) { 267 er->buf_size, er->frames_in + inFrames); 268 er->buf_size = er->frames_in + inFrames; 269 er->buffer = realloc(er->buffer, er->buf_size * er->rd_frame_size); 278 inFrames, er->frames_in, er->buf_size, 413 if (er->frames_in > er->buf_size) { 414 er->buf_size = er->frames_in; 415 er->buffer = realloc(er->buffer, er->buf_size * er->rd_frame_size) [all...] |