/external/dhcpcd/ |
if-bsd.c | 316 ssize_t bytes; local 339 bytes = read(fd, link_buf, link_buflen); 340 if (bytes == -1) { 347 e = link_buf + bytes;
|
if-linux.c | 153 ssize_t buflen = 0, bytes; local 158 bytes = recv(fd, NULL, 0, 160 if (bytes == -1) { 168 } else if (bytes == buflen) { 170 if (bytes == 0) 171 bytes = 512; 173 bytes *= 2; 175 if (buflen < bytes) { 177 buflen = bytes + 1; 183 bytes = recv(fd, buf, buflen, flags) [all...] |
showlease.c | 130 ssize_t bytes; local 137 bytes = read(fd, dhcp, sizeof(*dhcp)); 139 if (bytes < 0) {
|
/external/e2fsprogs/e2fsck/ |
ea_refcount.c | 52 size_t bytes; local 62 bytes = (size_t) (size * sizeof(struct ea_refcount_el)); 64 printf("Refcount allocated %d entries, %d bytes.\n", 65 refcount->size, bytes); 67 retval = ext2fs_get_mem(bytes, &refcount->list); 70 memset(refcount->list, 0, bytes);
|
/external/flac/libFLAC/ |
bitwriter.c | 62 /* SWAP_BE_WORD_TO_HOST swaps bytes in a bwword (which is always big-endian) if necessary to match host byte order */ 237 size_t bytes; local 241 if(!FLAC__bitwriter_get_buffer(bw, &buffer, &bytes)) 244 *crc = (FLAC__uint16)FLAC__crc16(buffer, bytes); 252 size_t bytes; local 256 if(!FLAC__bitwriter_get_buffer(bw, &buffer, &bytes)) 259 *crc = FLAC__crc8(buffer, bytes); 274 FLAC__bool FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes) 290 *bytes = (FLAC__BYTES_PER_WORD * bw->words) + (bw->bits >> 3);
|
/external/freetype/src/pshinter/ |
pshrec.h | 102 FT_Byte* bytes; member in struct:PS_MaskRec_
|
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 374 unsigned int bytes, chars, i, j, len; local 387 bytes = strlen (test->utf8); 392 hb_buffer_add_utf8 (b, test->utf8, bytes, 1, bytes - 2); 461 /* continuation bytes */ 599 /* missing continuation bytes */ 610 /* impossible bytes */
|
/external/harfbuzz_ng/util/ |
options.cc | 535 unsigned int bytes = strlen (buf); local 536 if (bytes && buf[bytes - 1] == '\n') { 537 bytes--; 538 g_string_append_len (gs, buf, bytes); 541 g_string_append_len (gs, buf, bytes);
|
/external/icu4c/common/ |
ucnv_u16.c | 112 /* copy an even number of bytes for complete UChars */ 183 length=2; /* 2 bytes to output */ 196 length=0; /* from here on, length counts the bytes in overflow[] */ 215 length=4; /* 4 bytes to output */ 232 /* output length bytes with overflow (length>targetCapacity>0) */ 317 /* continue collecting bytes for the trail surrogate */ 356 * used for the lead unit's bytes 374 /* copy an even number of bytes for complete UChars */ 536 /* too few (2 or 3) bytes for a surrogate pair: truncated code point */ 537 uint8_t *bytes=pArgs->converter->toUBytes local 554 uint8_t *bytes=pArgs->converter->toUBytes; local 1136 uint8_t *bytes=pArgs->converter->toUBytes; local 1153 uint8_t *bytes=pArgs->converter->toUBytes; local [all...] |
ucnv_u7.c | 214 uint8_t *bytes; local 244 bytes=cnv->toUBytes; 271 bytes[0]=b; 304 * base64 bytes, while nextSourceIndex is precisely parallel to source, 310 bytes[byteIndex++]=b=*source++; 332 bytes[0]=PLUS; 357 /* collect base64 bytes into UChars */ 377 bytes[0]=b; /* keep this byte in case an error occurs */ 388 bytes[0]=b; /* keep this byte in case an error occurs */ 587 * Output 2 or 3 base64 bytes for the remaining bits of the previous characte 896 uint8_t *bytes; local [all...] |
/external/icu4c/common/unicode/ |
bytestrie.h | 55 * The BytesTrie object will not read more bytes than 106 State() { bytes=NULL; } 110 const uint8_t *bytes; member in class:BytesTrie::State 123 state.bytes=bytes_; 140 if(bytes_==state.bytes && bytes_!=NULL) { 233 * @return the number of bytes which continue the byte sequence from here 246 * @param trieBytes The trie bytes. 432 // encode match values or continue matching further bytes. 439 // - Linear-match node: Matches a number of bytes. 441 // The node byte is the length of the branch (number of bytes to select from [all...] |
/external/icu4c/test/cintltst/ |
ucsdetst.c | 75 char *bytes = NEW_ARRAY(char, byteCount + 1); local 76 char *dest = bytes, *destLimit = bytes + byteCount + 1; 82 return bytes; 85 static void freeBytes(char *bytes) 87 DELETE_ARRAY(bytes); 125 char *bytes; local 131 bytes = extractBytes(s, sLength, "UTF-8", &byteLength); 133 ucsdet_setText(csd, bytes, byteLength, &status); 155 freeBytes(bytes); 287 char *bytes; local 475 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength); local 553 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength); local [all...] |
/external/icu4c/test/intltest/ |
tscoll.cpp | 386 const uint8_t *bytes = source.getByteArray(byteCount); local 396 appendHex(bytes[i], 2, target);
|
uobjtest.cpp | 510 char *bytes = stackMemory.bytes_; local 514 p=new(bytes) UnicodeString(len, (UChar32)0x20ac, len); 515 if((void *)p!=(void *)bytes) { 556 UnicodeString::operator delete(p, bytes);
|
/external/icu4c/tools/toolutil/ |
ucm.h | 41 * b if bLen<=4: up to 4 bytes 42 * else index to bLen bytes 44 * bLen number of words containing left-justified bytes 45 * bIsMultipleChars indicates that the bytes contain more than one sequence 55 uint8_t bytes[4]; member in union:UCMapping::__anon21003 75 uint8_t *bytes; member in struct:UCMTable 78 /* index map for mapping by bytes first */ 115 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx) 129 /* @return -1 illegal bytes 0 suitable for base table 1 needs to go into extension table * [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
BinaryOutputCapsule.java | 62 protected byte[] bytes; field in class:BinaryOutputCapsule 413 byte[] other = ((BinaryOutputCapsule) arg0).bytes; 414 if (bytes.length != other.length) 416 return Arrays.equals(bytes, other); 422 hash = 23 * hash + Arrays.hashCode(this.bytes); 431 bytes = baos.toByteArray(); 649 byte[] bytes = value.getBytes("UTF8"); 650 write(bytes.length); 651 baos.write(bytes); 689 protected static byte[] deflate(byte[] bytes) { [all...] |
/external/libffi/src/powerpc/ |
ffi_darwin.c | 85 const unsigned bytes = ecif->cif->bytes; local 89 unsigned *const stacktop = stack + (bytes / sizeof(unsigned)); 111 FFI_ASSERT((bytes & 0xF) == 0); 193 /* Structures that match the basic modes (QI 1 byte, HI 2 bytes, 194 SI 4 bytes) are aligned as if they were those modes. 277 unsigned bytes; local 282 /* All the machine-independent calculation of cif->bytes will be wrong. 296 bytes = (6 + ASM_NEEDS_REGISTERS) * sizeof(long); 300 - Structures of size <= 4 bytes also returned in gpr3 [all...] |
/external/libffi/src/x86/ |
ffi64.c | 46 extern void ffi_call_unix64 (void *args, unsigned long bytes, unsigned flags, 79 of this code is to classify each 8bytes of incoming argument by the register 174 /* If the struct is larger than 16 bytes, pass it on the stack. */ 280 size_t bytes; local 315 for (bytes = 0, i = 0, avn = cif->nargs; i < avn; i++) 326 bytes = ALIGN(bytes, align); 327 bytes += cif->arg_types[i]->size; 338 cif->bytes = bytes; [all...] |
/external/liblzf/ |
lzf.c | 226 ssize_t rc, cs, us, bytes, over = 0; local 271 bytes = cs == -1 ? us : cs; 277 if (l > bytes) 279 over = l - bytes; 280 memmove (header, &p[bytes], over); 284 rd = bytes - l;
|
/external/libogg/include/ogg/ |
ogg.h | 54 unsigned char *body_data; /* bytes from packet bodies */ 92 long bytes; member in struct:__anon22762 125 extern void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes); 144 extern void oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes); 173 extern int ogg_sync_wrote(ogg_sync_state *oy, long bytes);
|
/external/libpng/contrib/gregbook/ |
wpng.c | 704 ulg bytes; local 717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); 718 if (bytes != image_bytes) { 719 fprintf(stderr, PROGNAME ": expected %lu bytes, got %lu bytes\n", 720 image_bytes, bytes); 733 ulg bytes; local 744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); 745 if (bytes != rowbytes) { 747 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes [all...] |
/external/libvorbis/lib/ |
info.c | 48 static void _v_writestring(oggpack_buffer *o,const char *s, int bytes){ 50 while(bytes--){ 55 static void _v_readstring(oggpack_buffer *o,char *buf,int bytes){ 56 while(bytes--){ 355 oggpack_readinit(&opb,op->packet,op->bytes); 383 oggpack_readinit(&opb,op->packet,op->bytes); 462 int bytes = strlen(ENCODE_VENDOR_STRING); local 469 oggpack_write(opb,bytes,32); 470 _v_writestring(opb,ENCODE_VENDOR_STRING, bytes); 558 op->bytes=oggpack_bytes(&opb) [all...] |
psytune.c | 293 /* we cheat on the WAV header; we just bypass 44 bytes and never 305 long bytes=fread(buffer2,1,framesize*2,stdin); local 306 if(bytes<framesize*2) 307 memset(buffer2+bytes,0,framesize*2-bytes); 309 if(bytes!=0){
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_debug.c | 905 unsigned long bytes = (unsigned long) (end - start) * 4; local 917 debug_printf( "\n\nBATCH: (%d)\n", (int)bytes / 4); 920 stream.offset < bytes) 925 assert(stream.offset <= bytes &&
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_point.c | 323 unsigned bytes; local 360 &bytes);
|