/external/icu4c/common/ |
ucnv_lmb.c | 72 based, in that the bytes from 0x20 - 0x7F are almost exactly the 76 bytes from 0x20-0x7F are represented by the same single-byte values in LMBCS. 78 The general LMBCS code unit is from 1-3 bytes. We can describe the 3 bytes as 84 data bytes. The maximum size of a LMBCS chjaracter is 3 bytes: 88 The single-byte values from 0x20 to 0x7F are examples of single D1 bytes. 103 which national character standard is being used for the 'D' bytes. 123 character is one of those 12 values, you can interpret the remaining bytes of 125 ANSI bytes already are represented in single bytes, using one of the character 1206 char bytes[2]; local [all...] |
/external/icu4c/test/cintltst/ |
custrtrn.c | 873 static const uint8_t bytes[]={ 0xe0, 0xa5, 0x9c, 0 }; local 924 static const uint8_t bytes[]={ local [all...] |
trie2test.c | 376 uint32_t value, bytes; local 386 /* first a couple of trail bytes in lead position */ 435 bytes=0; 438 bytes=(bytes<<8)|s[prev8++]; 443 testName, (unsigned long)bytes, (long)c, (long)value, (long)values[i]); 447 testName, (unsigned long)bytes, (long)c, (long)(p-s), (long)i8); 465 bytes=0; 469 bytes=(bytes<<8)|s[k++] [all...] |
udatatst.c | 1160 const char *bytes; member in struct:__anon6158 [all...] |
/external/icu4c/test/intltest/ |
csdetest.cpp | 128 char *bytes = NULL; local 133 bytes = NEW_ARRAY(char, length + 1); 134 source.extract(0, sLength, bytes, codepage); 137 return bytes; 140 static void freeBytes(char *bytes) 142 DELETE_ARRAY(bytes); 160 char *bytes = extractBytes(testString, codepage, byteLength); local 162 if (bytes == NULL) { 169 ucsdet_setText(csd.getAlias(), bytes, byteLength, &status); 225 freeBytes(bytes); 277 char *bytes = extractBytes(s, "UTF-8", byteLength); local 377 char *bytes = extractBytes(s, "ISO-8859-1", byteLength); local 584 char *bytes = extractBytes(s1, "IBM424", bLength); local 668 char *bytes = extractBytes(s1, "IBM420", bLength); local [all...] |
/external/icu4c/test/perf/ubrkperf/ |
ubrkperfold.cpp | 587 // Figure out the lenght of the char and read the rest of the bytes 599 unsigned char bytes[10]; local 600 bytes[0] = (unsigned char)ch; 603 bytes[i] = fgetc(fFile); 604 if (bytes[i] < 0x80 || bytes[i] >= 0xc0) { 605 fprintf(stderr, "utf-8 encoded file %s contains corrupt data at offset %d. Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch); 611 // Convert the bytes from the temp array to a Unicode char. 614 UTF8_NEXT_CHAR_UNSAFE(bytes, i, cp); 705 // (The number of bytes read from file per loop iteration depends on external encoding. [all...] |
/external/icu4c/tools/genuca/ |
genuca.cpp | 709 // Check for valid bytes in CE weights. 710 // TODO: Tighten this so that it allows 03 & 04 in intermediate bytes 711 // but not in final bytes. 715 uint8_t bytes[4] = { local 726 if (0 != bytes[j] && bytes[j] < maxByte) { 727 fprintf(stderr, "Warning: invalid UCA weight byte %02X for %s\n", bytes[j], buffer); [all...] |
/external/icu4c/tools/makeconv/ |
gencnvex.c | 38 const uint8_t *bytes, int32_t length); 109 const uint8_t *bytes, int32_t length) { 283 /* return the number of bytes that should have been written */ 418 uint8_t *bytes; local 428 bytes=UCM_GET_BYTES(table, m); 429 low=bytes[unitIndex]; 435 bytes=UCM_GET_BYTES(table, m); 436 high=bytes[unitIndex]; 475 bytes=UCM_GET_BYTES(table, m); 476 high=bytes[unitIndex] 636 uint8_t *bytes, *resultBytes; local [all...] |
/external/kernel-headers/original/linux/ |
mroute6.h | 106 unsigned long ibytes; /* In bytes */ 107 unsigned long obytes; /* Out bytes */ 201 unsigned long bytes; member in struct:mfc6_cache::__anon7008::__anon7010
|
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 898 ssize_t bytes, bits; local 905 bytes = (bits + 7) / 8; 907 b = malloc(bytes); 910 memset(b, 0, bytes); 917 if ((j + k) >= bytes) 931 int i, bytes; local 933 bytes = (crp->crp_nbits + 7) / 8; 935 if (bytes == 0) 938 if ((pd = (u_int8_t *) malloc(bytes)) == NULL) 941 for (i = 0; i < bytes; i++ [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.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:CodedInputStreamTest 55 byte[] bytes = new byte[bytesAsInts.length]; 57 bytes[i] = (byte) bytesAsInts[i]; 59 return bytes; 63 * An InputStream which limits the number of bytes it reads at a time. 89 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 123 * Parses the given bytes using readRawVarint32() and readRawVarint64() and 157 assertReadVarint(bytes(0x00), 0); 158 assertReadVarint(bytes(0x01), 1) [all...] |
/external/qemu/audio/ |
ossaudio.c | 403 oss_logerr (errno, "failed to write %d bytes\n", 435 int bytes, pos; local 444 bytes = audio_ring_dist (cntinfo.ptr, pos, bufsize); 445 decr = audio_MIN (bytes >> hw->info.shift, live); 454 if (abinfo.bytes > bufsize) { 458 abinfo.bytes, bufsize); 460 abinfo.bytes = bufsize; 463 if (abinfo.bytes < 0) { 466 abinfo.bytes, bufsize); 471 decr = audio_MIN (abinfo.bytes >> hw->info.shift, live) [all...] |
/external/qemu/hw/ |
goldfish_fb.c | 140 uint8_t bytes; member in struct:__anon9877 169 printf(" bytes/pixel: %d\n", pf->bytes_per_pixel); 186 pf->bytes_per_pixel == fbc->bytes &&
|
/external/qemu/ |
loader.c | 167 uint32_t a_text; /* length of text, in bytes */ 168 uint32_t a_data; /* length of data, in bytes */ 169 uint32_t a_bss; /* length of uninitialized data area, in bytes */ 170 uint32_t a_syms; /* length of symbol table data in file, in bytes */ 172 uint32_t a_trsize; /* length of relocation info for text, in bytes */ 173 uint32_t a_drsize; /* length of relocation info for data, in bytes */ 306 /* return < 0 if error, otherwise the number of bytes loaded in memory */ 515 ssize_t bytes; local 521 bytes = gunzip(data, max_bytes, compressed_data, hdr->ih_size); 523 if (bytes < 0) [all...] |
/external/tremolo/Tremolo/ |
framing.c | 101 static ogg_buffer *_fetch_buffer(ogg_buffer_state *bs,long bytes){ 111 if(ob->size<bytes){ 112 ob->data=_ogg_realloc(ob->data,bytes); 113 ob->size=bytes; 118 ob->data=_ogg_malloc(bytes<16?16:bytes); 119 ob->size=bytes; 147 of at least [bytes] length */ 148 static ogg_reference *ogg_buffer_alloc(ogg_buffer_state *bs,long bytes){ 149 ogg_buffer *ob=_fetch_buffer(bs,bytes); 696 long bytes,ret=0; local 781 long bytes=next-now; local 787 long bytes=oy->fifo_tail->length; local [all...] |
vorbisfile.c | 95 long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource); local 96 if(bytes>0)ogg_sync_wrote(vf->oy,bytes); 97 if(bytes==0 && gerrno)return -1; 98 return bytes; 123 n) search for a new page beginning for n bytes 140 /* skipped n bytes */ 587 vf->bittrack+=op.bytes*8; 642 /* bitrate tracking; add the header's bytes here, the body bytes [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Program.cpp | 31 int bytes = UniformTypeSize(type) * arraySize; local 32 data = new unsigned char[bytes]; 33 memset(data, 0, bytes); [all...] |
/external/webkit/Source/WebCore/history/ |
HistoryItem.cpp | 835 Vector<uint8_t> bytes; local 836 if (!decoder.decodeBytes(bytes)) 838 node->m_stateObject = SerializedScriptValue::adopt(bytes);
|
/external/webkit/Source/WebCore/platform/network/cf/ |
ResourceHandleCFNet.cpp | 205 const UInt8* bytes = CFDataGetBytePtr(data); local 208 LOG(Network, "CFNet - didReceiveData(conn=%p, handle=%p, bytes=%d) (%s)", conn, handle, length, handle->firstRequest().url().string().utf8().data()); 211 handle->client()->didReceiveData(handle, (const char*)bytes, length, originalLength); [all...] |
/external/webkit/Source/WebKit/android/jni/ |
WebHistory.cpp | 164 // Get the actual bytes and the length from the java array. 165 const jbyte* bytes = env->GetByteArrayElements(data, NULL); local 178 // ptr's value. We can't pass &bytes since we have to send bytes to 180 const char* ptr = reinterpret_cast<const char*>(bytes); 182 env->ReleaseByteArrayElements(data, const_cast<jbyte*>(bytes), JNI_ABORT); [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_model.c | 58 } tiles, bytes; member in struct:tile_account 81 acc->bytes.allocated = 0; 82 acc->bytes.freed = 0; 94 acc->bytes.allocated += t->bytes; 97 bytes_allocated += t->bytes; 107 acc->bytes.freed += t->bytes; 110 bytes_freed += t->bytes; 120 "bytes[+%"PRIu64",-%"PRIu64":%"PRIu64"]\n" 131 uint64_t tiles, bytes; local 250 size_t bytes; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_ralink.c | 469 int bytes; local 474 * bytes = strlen(spos); ==> bug, bytes may less than original 476 * if (!bytes) 479 bytes = drv->assoc_req_ies_len; 481 data.assoc_info.req_ies = os_malloc(bytes); 485 data.assoc_info.req_ies_len = bytes; 486 os_memcpy(data.assoc_info.req_ies, spos, bytes); 489 spos += bytes + 1; 498 bytes = os_strlen(spos) [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_ralink.c | 473 int bytes; local 478 * bytes = strlen(spos); ==> bug, bytes may less than original 480 * if (!bytes) 483 bytes = drv->assoc_req_ies_len; 485 req_ies = os_malloc(bytes); 488 os_memcpy(req_ies, spos, bytes); 490 data.assoc_info.req_ies_len = bytes; 493 spos += bytes + 1; 502 bytes = os_strlen(spos) [all...] |
/external/zlib/contrib/untgz/ |
untgz.c | 529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; local 533 if (fwrite(&buffer,sizeof(char),bytes,outfile) != bytes) 542 remaining -= bytes;
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 70 char* bytes = const_cast< char* > (env->GetStringUTFChars(valueString, NULL)); local 72 const int length = strlen(bytes) + 1; 74 strncpy(data, bytes, length); 77 env->ReleaseStringUTFChars(valueString, bytes); 90 char* bytes = const_cast< char* > (env->GetStringUTFChars(string, NULL)); local 92 const int length = strlen(bytes) + 1; 94 strncpy(data, bytes, length); 97 env->ReleaseStringUTFChars(string, bytes);
|