/external/chromium_org/third_party/sqlite/src/src/ |
test5.c | 36 char *bytes; local 40 bytes = Tcl_GetStringFromObj(objv[1], &len); 41 pRet = Tcl_NewByteArrayObj((u8*)bytes, len+1);
|
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
low_latency_event_posix.cc | 82 size_t bytes = sizeof(buffer); local 86 bytes)); 87 if (bytes_written != static_cast<ssize_t>(bytes)) { 94 size_t bytes = sizeof(buffer); local 95 ssize_t bytes_read = HANDLE_EINTR(read(handles_[kReadHandle], buffer, bytes)); 100 } else if (bytes_read == static_cast<ssize_t>(bytes)) {
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/ |
test_utils.h | 129 // number of bytes read. 131 scoped_ptr<uint8_t[]>* bytes) { 140 bytes->reset(new uint8_t[size]); 141 return fread(bytes->get(), sizeof((*bytes)[0]), size, file); 147 scoped_ptr<uint8_t[]> bytes; local 148 size_t size = ReadMessageBytesFromFile(file, &bytes); 153 return msg->ParseFromArray(bytes.get(), size);
|
/external/dhcpcd/ |
arp.c | 113 ssize_t bytes; local 121 bytes = get_raw_packet(iface, ETHERTYPE_ARP, 123 if (bytes == 0 || bytes == -1) 126 if ((size_t)bytes < sizeof(ar)) 143 if ((hw_t + ar.ar_hln + ar.ar_pln) - arp_buffer > bytes)
|
control.c | 76 ssize_t bytes; local 81 bytes = read(l->fd, buffer, sizeof(buffer) - 1); 82 if (bytes == -1 || bytes == 0) { 86 buffer[bytes] = '\0'; 88 e = buffer + bytes;
|
lpf.c | 182 ssize_t bytes; local 194 bytes = recvmsg(fd, &msg, 0); 195 if (bytes == -1) 213 return bytes;
|
/external/e2fsprogs/lib/blkid/ |
getsize.c | 54 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */ 73 * Returns the number of bytes in a partition 195 long long bytes; local 207 bytes = blkid_get_dev_size(fd); 209 (unsigned long long)bytes >> 10);
|
/external/icu/icu4c/source/i18n/ |
collationsettings.cpp | 114 uint8_t *bytes = (uint8_t *)uprv_malloc(256 + capacity * 4); local 115 if(bytes == NULL) { return FALSE; } 119 reorderTable = ownedTable = bytes + capacity * 4; 120 reorderCodes = ownedCodes = (int32_t *)bytes;
|
/external/icu/icu4c/source/samples/uciter8/ |
uciter8.c | 300 static const uint8_t bytes[]={ local 315 uiter_setLenient8(&iter2, (const char *)bytes, sizeof(bytes)-1); 319 uiter_setLenient8(&iter2, (const char *)bytes, -1); 324 uiter_setLenient8(&iter1, (const char*)bytes, -1);
|
/external/icu/icu4c/source/tools/toolutil/ |
unewdata.c | 41 uint8_t bytes[16]; local 130 /* write padding bytes to align the data section to 16 bytes */ 134 uprv_memset(bytes, 0, headerSize); 135 T_FileStream_write(pData->file, bytes, headerSize);
|
/external/iproute2/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 22 __u64 bytes; member in struct:gnet_stats_basic 26 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/external/ipsec-tools/ |
main.c | 73 unsigned char bytes[2]; local 74 if (recv(control, &bytes[0], 1, 0) != 1 || 75 recv(control, &bytes[1], 1, 0) != 1) { 79 int length = bytes[0] << 8 | bytes[1];
|
/external/iptables/include/linux/netfilter/ |
xt_set.h | 70 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v3
|
/external/jpeg/ |
jmemmac.c | 158 long bytes = byte_count; local 164 retVal = FSRead ( info->temp_file, &bytes, 166 if ( retVal != noErr || bytes != byte_count ) 176 long bytes = byte_count; local 182 retVal = FSWrite ( info->temp_file, &bytes, 184 if ( retVal != noErr || bytes != byte_count ) 279 * Note that FreeMem returns the total number of free bytes;
|
/external/kernel-headers/original/uapi/linux/ |
gen_stats.h | 19 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic 27 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_set.h | 70 struct ip_set_counter_match bytes; member in struct:xt_set_info_match_v3
|
/external/libedit/src/ |
chartype.c | 142 ssize_t bytes; local 160 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace); 162 if (bytes == -1) { 166 bytes++; /* include '\0' in the count */ 167 bufspace -= (size_t)bytes; 168 p += bytes;
|
/external/libnl/include/linux/ |
gen_stats.h | 15 * @bytes: number of seen bytes 20 __u64 bytes; member in struct:gnet_stats_basic
|
/external/libvorbis/examples/ |
decoder_example.c | 57 int bytes; local 90 bytes=fread(buffer,1,4096,stdin); 91 ogg_sync_wrote(&oy,bytes); 96 if(bytes<4096)break; 177 bytes=fread(buffer,1,4096,stdin); 178 if(bytes==0 && i<2){ 182 ogg_sync_wrote(&oy,bytes); 286 bytes=fread(buffer,1,4096,stdin); 287 ogg_sync_wrote(&oy,bytes); 288 if(bytes==0)eos=1 [all...] |
encoder_example.c | 65 /* we cheat on the WAV header; we just bypass 44 bytes (simplest WAV 66 header is 44 bytes) and assume that the data is 44.1khz, stereo, 16 bit 182 long bytes=fread(readbuffer,1,READ*4,stdin); /* stereo hardwired here */ local 184 if(bytes==0){ 198 for(i=0;i<bytes/4;i++){
|
/external/libvorbis/test/ |
write_read.c | 147 int bytes; local 163 bytes = fread (buffer,1,8192,file); 164 ogg_sync_wrote (&oy,bytes); 167 if(bytes < 8192) { 220 bytes = fread (buffer,1,4096,file); 221 if (bytes == 0 && i < 2) { 226 ogg_sync_wrote (&oy,bytes); 278 bytes = fread (buffer,1,4096,file); 279 ogg_sync_wrote (&oy,bytes); 280 if (bytes == 0) eos = 1 [all...] |
/external/lldb/tools/debugserver/source/ |
RNBServices.cpp | 205 const UInt8 *bytes = ::CFDataGetBytePtr (plistData.get()); local 206 if (bytes != NULL && size > 0) 208 plist.assign((char *)bytes, size);
|
/external/llvm/lib/Target/R600/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 135 unsigned bytes = Desc.getSize(); local 137 for (unsigned i = 0; i < bytes; i++) { 141 if (bytes > 4)
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_parse.c | 309 unsigned bytes = n * sizeof(struct tgsi_token); local 310 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes); 312 memcpy(new_tokens, tokens, bytes); 323 unsigned bytes = num_tokens * sizeof(struct tgsi_token); local 324 return (struct tgsi_token *) MALLOC(bytes);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_util.h | 84 GLubyte bytes[4]; local 85 _mesa_unclamped_float_rgba_to_ubyte(bytes, c); 86 return pack_rgba_i(f, bytes);
|