/external/chromium_org/tools/android/forwarder/ |
forwarder.cc | 138 LOG(INFO) << "No.: age up(bytes,idle) down(bytes,idle)"; 226 int bytes = buffer1.Read(socket1); local 227 if (bytes <= 0) 229 info->socket1_bytes += bytes; 233 int bytes = buffer2.Read(socket2); local 234 if (bytes <= 0) 236 info->socket2_bytes += bytes;
|
/external/clang/test/Analysis/ |
bstring.c | 432 char *bytes = malloc(sizeof(char) * (length + 1)); local 433 memcpy(bytes, input, length); 434 char x = bytes[0]; // no warning 435 free(bytes);
|
/external/deqp/framework/delibs/dethread/ |
deThreadTest.c | 50 deUint8 bytes[16]; member in struct:ThreadData3_s 58 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(data->bytes); ndx++) 59 DE_TEST_ASSERT(data->bytes[ndx] == 0); 61 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(data->bytes); ndx++) 62 data->bytes[ndx] = 0xff; 132 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(data.bytes); ndx++) 133 DE_TEST_ASSERT(data.bytes[ndx] == 0xff);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ByteArrayAnnotatedOutput.java | 60 * {@code >= 8 (if used);} the number of bytes of hex output to use 118 * may be larger than the number of bytes written 131 * bytes at the end). 256 public void write(ByteArray bytes) { 257 int blen = bytes.size(); 268 bytes.getBytes(data, writeAt); 273 public void write(byte[] bytes, int offset, int length) { 279 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) { 280 throw new IndexOutOfBoundsException("bytes.length " + 281 bytes.length + "; " [all...] |
/external/dhcpcd/ |
net.c | 766 uint16_t bytes, udpsum; local 786 bytes = ntohs(packet.ip.ip_len); 787 if (data_len < bytes) { 803 if (udpsum && checksum(&packet, bytes) != udpsum) {
|
/external/e2fsprogs/lib/ext2fs/ |
icount.c | 230 size_t bytes; local 257 bytes = (size_t) (icount->size * sizeof(struct ext2_icount_el)); 259 printf("Icount allocated %u entries, %d bytes.\n", 260 icount->size, bytes); 266 memset(icount->list, 0, bytes);
|
/external/elfutils/0.153/libasm/ |
libasmP.h | 103 /* Currently used number of bytes in the block. */ 106 /* Number of bytes allocated. */ 120 char bytes[flexarr_size]; member in struct:AsmScn::FillPattern 259 /* Ensure there are at least LEN bytes available in the output buffer
|
/external/fio/ |
iolog.c | 314 unsigned int bytes; local 336 &bytes); 408 ipo->len = bytes; 409 if (rw != DDIR_INVAL && bytes > td->o.max_bs[rw]) 410 td->o.max_bs[rw] = bytes;
|
/external/flac/libFLAC/ |
bitreader.c | 55 /* also, some sections currently only have fast versions for 4 or 8 bytes per word */ 60 /* SWAP_BE_WORD_TO_HOST swaps bytes in a brword (which is always big-endian) if necessary to match host byte order */ 86 * But to be practical it should be at least 1K bytes. 138 /* any incomplete word at the tail will be left-justified, and bytes from the read callback are added on the right */ 142 unsigned bytes; /* # of bytes in incomplete word at buffer[words] */ member in struct:FLAC__BitReader 211 size_t bytes; local 217 end = br->words + (br->bytes? 1:0); 227 bytes = (br->capacity - br->words) * FLAC__BYTES_PER_WORD - br->bytes; [all...] |
/external/harfbuzz_ng/util/ |
options.cc | 605 unsigned int bytes = strlen (buf); local 606 if (bytes && buf[bytes - 1] == '\n') { 607 bytes--; 608 g_string_append_len (gs, buf, bytes); 611 g_string_append_len (gs, buf, bytes);
|
/external/icu/icu4c/source/common/ |
ucnvbocu.cpp | 49 * C0 control codes and space are encoded with their US-ASCII bytes. 63 /* number of lead bytes */ 70 /* number of trail bytes */ 79 /* number of lead bytes for positive and negative 2/3/4-byte sequences */ 144 * but are also used as trail bytes in difference encoding 153 * External byte values that are illegal as trail bytes are mapped to -1. 220 /** Is a diff value encodable in two bytes? */ 268 * Encode a difference -0x10ffff..0x10ffff in 1..4 bytes 298 /* two bytes */ 308 /* three bytes */ 950 uint8_t *bytes; local 1172 uint8_t *bytes; local [all...] |
/external/icu/icu4c/source/samples/ucnv/ |
convsamp.cpp | 169 len will contain the number of bytes in target[] which were 188 'len' returns the number of OUTPUT bytes resulting from the 263 The 'buffersize' is in bytes of input. 266 expected for a given number of input bytes. 272 UChars as the input buffer has bytes. 276 chars as bytes are needed. 316 printf("input bytes %d / min chars %d = %d UChars\n", 325 // Convert bytes to unicode 418 fprintf(stderr, " Couldn't allocate %d bytes for freq counter\n", sizeof(CharFreqInfo)*charCount); 433 printf("input bytes %d / min chars %d = %d UChars\n" 615 char bytes[100]; local 709 char bytes[100]; local [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
makeconv.c | 161 fprintf(stderr, "error: wrote %u bytes to the .cnv file but counted %u bytes\n", (int)sz2, (int)size); 166 printf("- Wrote %u bytes to the udata.\n", (int)sz2); 467 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local 471 length=ucm_parseBytes(bytes, line, (const char **)&s); 474 uprv_memcpy(staticData->subChar, bytes, length); 481 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local 484 if(1==ucm_parseBytes(bytes, line, (const char **)&s) && *s==0) { 485 staticData->subChar1=bytes[0]; 828 if(!MBCSOkForBaseFromUnicode(mbcsData, m->b.bytes, m->bLen, m->u, m->f)) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
pkg_genc.c | 116 // hardware, so we use .balign 16 which always means 16 bytes. 155 // 16 bytes alignment. 165 // 16 bytes alignment for sun-x86. 207 // align 16 bytes 399 " const char *bytes; \n" 426 " uint8_t bytes[%ld]; \n" 648 char bytes[2048]; member in union:__anon26841 700 length=T_FileStream_read(in, buffer.bytes, sizeof(buffer.bytes)); 745 pHeader=(const IMAGE_FILE_HEADER *)buffer.bytes; [all...] |
pkgitems.cpp | 63 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {} 74 return bytes; 91 bytes=pItem->data+itemHeaderLength; 110 bytes=swapped+itemHeaderLength; 118 const uint8_t *bytes; member in class:NativeItem 471 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after header) for an ICU .cnv conversion table\n", 489 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table\n", 522 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table with extension data\n",
|
ucm.c | 21 * as well as byte sequences with more than 4 bytes or more than one complete 43 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) { 53 fprintf(f, "\\x%02X", bytes[j]); 159 /* compare the bytes */ 180 /* Unicode then bytes */ 186 /* bytes then Unicode */ 209 /* sorting by bytes first sorts the reverseMap; use indirection to mappings */ 253 /* 2. sort reverseMap by mappings bytes first */ 629 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1) 663 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1 1129 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local [all...] |
xmlparser.cpp | 164 char bytes[4096], charsetBuffer[100]; local 183 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes)); 184 if(bytesLength<(int32_t)sizeof(bytes)) { 198 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode); 216 pb=bytes; 221 &pb, bytes+bytesLength, 275 // convert contents of bytes[bytesLength] 276 pb=bytes; 289 &pb, bytes+bytesLength [all...] |
/external/jpeg/ |
jmemdos.c | 467 long length; /* It's easy to access first 4 bytes */ 468 char bytes[18]; /* Misaligned fields in here! */ member in union:__anon27332 472 #define FIELD_AT(spec,offset,type) (*((type *) &(spec.bytes[offset])))
|
/external/libnl/lib/ |
addr.c | 531 int bytes = len / 8; local 533 d = memcmp(a->a_addr, b->a_addr, bytes); 537 d = (a->a_addr[bytes] & mask) - 538 (b->a_addr[bytes] & mask);
|
/external/libogg/src/ |
bitwise.c | 60 long bytes=bits>>3; local 62 bits-=bytes*8; 63 b->ptr=b->buffer+bytes; 65 b->endbyte=bytes; 71 long bytes=bits>>3; local 73 bits-=bytes*8; 74 b->ptr=b->buffer+bytes; 76 b->endbyte=bytes; 184 long bytes=bits/8; local 185 bits-=bytes*8 512 long bytes,i; local 547 long bytes,i; local 583 long bytes,i; local [all...] |
/external/lldb/source/Expression/ |
DWARFExpression.cpp | 267 const uint8_t *bytes = data.PeekData(data_offset, data_length); local 268 if (bytes) 270 m_data.SetData(DataBufferSP(new DataBufferHeap(bytes, data_length))); [all...] |
/external/lldb/source/Plugins/Process/Utility/ |
RegisterContextDarwin_arm.h | 119 uint8_t bytes[16]; member in struct:RegisterContextDarwin_arm::QReg 134 // uint8_t bytes[16];
|
RegisterContextDarwin_x86_64.h | 89 uint8_t bytes[10]; member in struct:RegisterContextDarwin_x86_64::MMSReg 95 uint8_t bytes[16]; member in struct:RegisterContextDarwin_x86_64::XMMReg
|
/external/openssl/crypto/ |
mem_dbg.c | 661 long bytes; member in struct:mem_leak_st 705 l->bytes+=m->num; 766 ml.bytes=0; 773 BIO_printf(b,"%ld bytes leaked in %d chunks\n", 774 ml.bytes,ml.chunks);
|
/external/protobuf/src/google/protobuf/io/ |
coded_stream.cc | 149 << " bytes). To increase the limit (or to disable these " 248 uint8 bytes[sizeof(*value)]; local 252 // Fast path: Enough bytes in the buffer to read directly. 257 if (!ReadRaw(bytes, sizeof(*value))) return false; 258 ptr = bytes; 265 uint8 bytes[sizeof(*value)]; local 269 // Fast path: Enough bytes in the buffer to read directly. 274 if (!ReadRaw(bytes, sizeof(*value))) return false; 275 ptr = bytes; 286 // Fast path: We have enough bytes left in the buffer to guarantee tha 586 uint8 bytes[sizeof(value)]; local 601 uint8 bytes[sizeof(value)]; local 656 uint8 bytes[kMaxVarint32Bytes]; local 756 uint8 bytes[kMaxVarintBytes]; local [all...] |