| /external/icu/icu4c/source/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/icu/icu4c/source/i18n/ |
| collationkeys.cpp | 28 SortKeyByteSink::Append(const char *bytes, int32_t n) { 29 if (n <= 0 || bytes == NULL) { 38 bytes += ignore_; 45 if ((buffer_ + length) == bytes) { 46 return; // the caller used GetAppendBuffer() and wrote the bytes already 50 uprv_memcpy(buffer_ + length, bytes, n); 52 AppendBeyondCapacity(bytes, n, length); 67 // Do not write ignored bytes right at the end of the buffer. 148 uint8_t bytes[4] = { (uint8_t)(w >> 24), (uint8_t)(w >> 16), (uint8_t)(w >> 8), (uint8_t)w }; local 149 int32_t appendLength = (bytes[1] == 0) ? 1 : (bytes[2] == 0) ? 2 : (bytes[3] == 0) ? 3 : 4 [all...] |
| /external/icu/icu4c/source/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/icu/icu4c/source/test/intltest/ |
| tscoll.cpp | 368 const uint8_t *bytes = source.getByteArray(byteCount); local 378 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/icu/icu4c/source/tools/makeconv/ |
| makeconv.cpp | 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); 457 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local 461 length=ucm_parseBytes(bytes, line, (const char **)&s); 464 uprv_memcpy(staticData->subChar, bytes, length); 471 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local 474 if(1==ucm_parseBytes(bytes, line, (const char **)&s) && *s==0) { 475 staticData->subChar1=bytes[0]; 818 if(!MBCSOkForBaseFromUnicode(mbcsData, m->b.bytes, m->bLen, m->u, m->f)) [all...] |
| /external/icu/icu4c/source/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::__anon12274 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| UPropertyAliases.java | 77 private void load(ByteBuffer bytes) throws IOException { 78 //dataVersion=ICUBinary.readHeaderAndDataVersion(bytes, DATA_FORMAT, IS_ACCEPTABLE); 79 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); 80 int indexesLength=bytes.getInt()/4; // inIndexes[IX_VALUE_MAPS_OFFSET]/4 87 inIndexes[i]=bytes.getInt(); 94 valueMaps=ICUBinary.getInts(bytes, numInts, 0); 101 bytes.get(bytesTries); 103 // Read the nameGroups and turn them from ASCII bytes into a Java String. 109 sb.append((char)bytes.get()); 115 ByteBuffer bytes = ICUBinary.getRequiredData("pnames.icu") local [all...] |
| UResource.java | 28 // Stores a reference to the resource bundle key string bytes array, 33 private byte[] bytes; field in class:UResource.Key 44 bytes = keyBytes; 51 * The corresponding ASCII-character bytes are not copied and 60 bytes = keyBytes; 70 bytes = null; 91 return (char)bytes[offset + i]; 103 return new Key(bytes, offset + start, end - start); 119 sb.append((char)bytes[offset + i]); 143 if (bytes[offset + i] != otherBytes[otherOffset + i]) [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
| CoverageTest.java | 66 private void writeFile(String className, byte bytes[]) 72 stream.write(bytes); 85 private void add(String className, int classModifiers, byte bytes[]) 87 CoverageTarget newTarget = new CoverageTarget(className, classModifiers, bytes); 95 private byte bytes[]; field in class:CoverageTest.CoverageTarget 98 public CoverageTarget(String className, int classModifiers, byte bytes[]) 100 super(className, bytes == null? null : new ByteArrayInputStream(bytes)); 102 this.bytes = bytes; [all...] |
| /external/kernel-headers/original/uapi/drm/ |
| omap_drm.h | 52 uint32_t bytes; /* (for non-tiled formats) */ member in union:omap_gem_size
|
| /external/kernel-headers/original/uapi/mtd/ |
| ubi-user.h | 76 * this number of bytes to the volume character device. The update is finished 77 * when the claimed number of bytes is passed. So, the volume update sequence 99 * user is expected to write the requested amount of bytes (similarly to what 254 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or 263 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes 292 * @bytes: volume size in bytes 321 __s64 bytes; member in struct:ubi_mkvol_req 332 * @bytes: new size of the volume in byte 341 __s64 bytes; member in struct:ubi_rsvol_req 406 __s32 bytes; member in struct:ubi_leb_change_req [all...] |
| /external/libbrillo/brillo/dbus/ |
| data_serialization_unittest.cc | 394 std::vector<uint8_t> bytes{1, 2, 3}; 395 AppendValueToWriter(&writer, bytes); 403 EXPECT_EQ(bytes, bytes_out); 409 std::vector<uint8_t> bytes; local 410 AppendValueToWriter(&writer, bytes); 418 EXPECT_EQ(bytes, bytes_out);
|
| /external/libchrome/sandbox/linux/suid/ |
| sandbox.c | 122 ssize_t bytes; local 124 bytes = read(sv[0], &msg, 1); 125 } while (bytes == -1 && errno == EINTR); 127 if (bytes == 0) 129 if (bytes != 1) 148 bytes = write(sv[0], &reply, 1); 149 } while (bytes == -1 && errno == EINTR); 151 if (bytes != 1)
|
| /external/libdrm/omap/ |
| omap_drm.h | 68 uint32_t bytes; /* (for non-tiled formats) */ member in union:omap_gem_size
|
| /external/libevent/ |
| arc4random.c | 70 /* Add platform entropy 32 bytes (256 bits) at a time. */ 73 /* Re-seed from the platform RNG after generating this many bytes. */ 261 int bytes, n, i, nybbles; local 262 for (bytes = 0; bytes<ADD_ENTROPY; ) { 285 bytes += nybbles/2; 392 * we drop at least 2*256 bytes, with 12*256 as a conservative 472 /* arc4_addrandom() ignores all but the first 256 bytes of
|
| bufferevent_async.c | 398 DWORD bytes, flags; local 402 WSAGetOverlappedResult(fd, &eo->overlapped, &bytes, FALSE, &flags);
|
| event_tagging.c | 111 * have at least 5 bytes free. 112 * @return the number of bytes written into data. 174 int bytes = 0; local 185 data[bytes++] = lower; 189 evbuffer_add(evbuf, data, bytes); 191 return (bytes); 244 * tag number: one byte; length: var bytes; payload: var bytes
|
| /external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/ |
| OpenALAudioDevice.java | 43 private byte[] bytes;
field in class:OpenALAudioDevice 60 if (bytes == null || bytes.length < numSamples * 2) bytes = new byte[numSamples * 2];
64 bytes[ii++] = (byte)(sample & 0xFF);
65 bytes[ii++] = (byte)((sample >> 8) & 0xFF);
67 writeSamples(bytes, 0, numSamples * 2);
71 if (bytes == null || bytes.length < numSamples * 2) bytes = new byte[numSamples * 2]; [all...] |
| OpenALSound.java | 37 int bytes = pcm.length - (pcm.length % (channels > 1 ? 4 : 2));
local 38 int samples = bytes / (2 * channels);
41 ByteBuffer buffer = ByteBuffer.allocateDirect(bytes);
43 buffer.put(pcm, 0, bytes);
|
| /external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/ |
| OpenALAudioDevice.java | 43 private byte[] bytes;
field in class:OpenALAudioDevice 60 if (bytes == null || bytes.length < numSamples * 2) bytes = new byte[numSamples * 2];
64 bytes[ii++] = (byte)(sample & 0xFF);
65 bytes[ii++] = (byte)((sample >> 8) & 0xFF);
67 writeSamples(bytes, 0, numSamples * 2);
71 if (bytes == null || bytes.length < numSamples * 2) bytes = new byte[numSamples * 2]; [all...] |
| OpenALSound.java | 37 int bytes = pcm.length - (pcm.length % (channels > 1 ? 4 : 2));
local 38 int samples = bytes / (2 * channels);
41 ByteBuffer buffer = ByteBuffer.allocateDirect(bytes);
43 buffer.put(pcm, 0, bytes);
|
| /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pcf/ |
| pcfdrivr.c | 493 FT_ULong bytes; local 554 bytes = (FT_ULong)bitmap->pitch * bitmap->rows; 556 error = ft_glyphslot_alloc_bitmap( slot, (FT_ULong)bytes ); 561 FT_STREAM_READ( bitmap->buffer, bytes ) ) 565 BitOrderInvert( bitmap->buffer, bytes ); 576 TwoByteSwap( bitmap->buffer, bytes ); 580 FourByteSwap( bitmap->buffer, bytes );
|
| /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/ |
| pshrec.h | 98 FT_Byte* bytes; member in struct:PS_MaskRec_
|
| /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;
|