/device/samsung/manta/liblights/ |
lights.c | 82 int bytes = sprintf(buffer, "%d\n", value); local 83 int amt = write(fd, buffer, bytes);
|
/external/aac/libAACdec/src/ |
aacdecoder.cpp | 231 \size Size of the buffer pointed on by buffer in bytes 255 \size Pointer to a buffer receiving the length of the requested anc data element in bytes 460 int bytes = (*count) >> 3; local 546 bytes--; 551 while (bytes > 0) { 553 bytes--; 559 *count = bytes<<3; 645 { /* Skip the remaining extension bytes */ [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileOutputStreamTest.java | 43 byte[] bytes; field in class:FileOutputStreamTest 177 assertTrue("Incorrect bytes written", new String(rbytes, 0, fileString 269 fos.write(bytes); 282 fos.write(bytes); 284 fos.write(bytes); 286 fos.write(bytes); 303 fos.write(bytes); 305 fos.write(bytes); 307 fos.write(bytes); 324 fos.write(bytes); [all...] |
/external/blktrace/btreplay/ |
btrecord.c | 66 * @bytes: Number of bytes transferred 72 __u32 bytes; member in struct:io_spec 275 .nbytes = spec->bytes, 514 spec->bytes = t.bytes; 521 spec->bytes = be32_to_cpu(t.bytes); 550 (long long unsigned)spec->bytes / 512LLU,
|
/external/chromium/base/ |
string_util_unittest.cc | 365 EXPECT_FALSE(IsStringUTF8("\xf8\xa0\xbf\x80\xbf")); // 5 bytes 366 EXPECT_FALSE(IsStringUTF8("\xfc\x9c\xbf\x80\xbf\x80")); // 6 bytes 495 int64 bytes; member in struct:base::__anon3717 510 EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes)); 515 int64 bytes; member in struct:base::__anon3718 522 // sense (zero or bytes). 524 // the display of file sizes or bytes consistently around three 553 FormatBytes(cases[i].bytes, cases[i].units, false)); 555 FormatBytes(cases[i].bytes, cases[i].units, true)); [all...] |
/external/chromium/net/spdy/ |
spdy_framer_test.cc | 622 const char bytes[] = "this is a test test test test test!"; local 624 send_framer.CreateDataFrame(1, bytes, arraysize(bytes), 636 send_framer.CreateDataFrame(3, bytes, arraysize(bytes), 662 EXPECT_EQ(arraysize(bytes), data_frame->length()); 663 EXPECT_EQ(0, memcmp(data_frame->payload(), bytes, data_frame->length())); 683 EXPECT_EQ(arraysize(bytes), data_frame->length()); 684 EXPECT_EQ(0, memcmp(data_frame->payload(), bytes, data_frame->length())); 712 const char bytes[] = "this is a test test test test test!" local [all...] |
/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/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/dropbear/ |
keyimport.c | 226 * bytes used out of the source data. 285 * number of bytes consumed. Assumes dest contains enough space. 303 * Identifier is multiple bytes: the first byte is 11111 304 * plus the flags, and subsequent bytes encode the value of 311 continue; /* count the bytes */ 327 * Length is multiple bytes. The first is 0x80 plus the 328 * number of subsequent bytes, and the subsequent bytes 332 continue; /* count the bytes */ 346 struct mpint_pos { void *start; int bytes; }; member in struct:mpint_pos [all...] |
/external/e2fsprogs/lib/ext2fs/ |
icount.c | 217 size_t bytes; local 244 bytes = (size_t) (icount->size * sizeof(struct ext2_icount_el)); 246 printf("Icount allocated %u entries, %d bytes.\n", 247 icount->size, bytes); 253 memset(icount->list, 0, bytes);
|
/external/elfutils/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/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/freetype/src/cff/ |
cffload.c | 281 if ( FT_FRAME_EXTRACT( size, idx->bytes ) ) 309 if ( idx->bytes ) 310 FT_FRAME_RELEASE( idx->bytes ); 409 FT_Byte* org_bytes = idx->bytes; 538 if ( idx->bytes ) 541 *pbytes = idx->bytes + off1 - 1; 570 if ( idx->bytes == 0 ) 587 FT_Byte* bytes; local 593 error = cff_index_access_element( idx, element, &bytes, &byte_len ); 599 FT_MEM_COPY( name, bytes, byte_len ) [all...] |
/external/icu4c/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/icu4c/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/icu4c/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/icu4c/tools/toolutil/ |
pkg_genc.c | 128 "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */ 148 "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */ 389 " const char *bytes; \n" 416 " uint8_t bytes[%ld]; \n" 638 char bytes[2048]; member in union:__anon8974 690 length=T_FileStream_read(in, buffer.bytes, sizeof(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 1128 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:__anon9398 472 #define FIELD_AT(spec,offset,type) (*((type *) &(spec.bytes[offset])))
|
/external/kernel-headers/original/linux/netfilter/ |
nf_conntrack_common.h | 139 u_int32_t bytes; member in struct:ip_conntrack_counter
|
/external/libffi/darwin-x86/ |
ffi.h | 182 unsigned bytes; member in struct:__anon10086
|
/external/libffi/include/ |
ffi_real.h | 183 unsigned bytes; member in struct:__anon10094
|