/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/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 189 long long bytes; local 201 bytes = blkid_get_dev_size(fd); 203 (unsigned long long) bytes >> 10);
|
/external/icu4c/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/icu4c/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/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/libffi/src/cris/ |
ffi.c | 161 unsigned bytes = 0; local 189 if (((*ptr)->alignment - 1) & bytes) 190 bytes = ALIGN (bytes, (*ptr)->alignment); 195 bytes += (*ptr)->size; 196 bytes += sizeof (void *); 201 bytes += 8; 203 bytes += 4; 207 bytes += STACK_ARG_SIZE ((*ptr)->size); 210 cif->bytes = bytes [all...] |
/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/llvm/lib/Target/R600/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 132 unsigned bytes = Desc.getSize(); local 134 for (unsigned i = 0; i < bytes; i++) { 138 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);
|
/external/okhttp/src/test/java/com/squareup/okhttp/ |
RequestTest.java | 77 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 78 body.writeTo(bytes); 79 return bytesToHex(bytes.toByteArray()); 82 private String bytesToHex(byte[] bytes) { 84 for (byte b : bytes) {
|
/external/pixman/test/ |
rotate-test.c | 64 uint32_t *bytes = malloc (WIDTH * HEIGHT * 4); local 67 prng_randmemset (bytes, WIDTH * HEIGHT * 4, 0); 70 format, WIDTH, HEIGHT, bytes, WIDTH * 4); 73 pixman_image_set_destroy_function (image, on_destroy, bytes);
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
ByteStringMicro.java | 36 * Immutable array of bytes. 42 private final byte[] bytes; field in class:ByteStringMicro 44 private ByteStringMicro(final byte[] bytes) { 45 this.bytes = bytes; 54 return bytes[index]; 58 * Gets the number of bytes. 61 return bytes.length; 68 return bytes.length == 0; 80 * Copies the given bytes into a {@code ByteStringMicro} [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedOutputStreamTest.java | 50 * Helper to construct a byte array from a bunch of bytes. The inputs are 54 private byte[] bytes(int... bytesAsInts) { method in class:CodedOutputStreamTest 55 byte[] bytes = new byte[bytesAsInts.length]; 57 bytes[i] = (byte) bytesAsInts[i]; 59 return bytes; 63 private List<Byte> toList(byte[] bytes) { 65 for (byte b : bytes) { 77 * checks that the result matches the given bytes. 130 assertWriteVarint(bytes(0x00), 0); 131 assertWriteVarint(bytes(0x01), 1) [all...] |
/external/qemu/block/ |
cloop.c | 108 uint32_t bytes = s->offsets[block_num+1]-s->offsets[block_num]; local 111 bytes); 112 if (ret != bytes) 116 s->zstream.avail_in = bytes;
|
/external/qemu/distrib/jpeg-6b/ |
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/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysevents.cc | 342 const char *bytes; local 343 if (msg->FindString("bytes", &bytes) == B_OK) { 348 keysym.unicode = Translate2Unicode(bytes); 372 const char *bytes; local 373 if (msg->FindString("bytes", &bytes) == B_OK) { 374 keysym.unicode = Translate2Unicode(bytes);
|
/external/regex-re2/util/ |
benchmark.cc | 34 static int64 bytes; variable 40 bytes = x; 67 bytes = 0; 121 if(ns > 0 && bytes > 0) 122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9));
|