/external/icu/icu4c/source/tools/toolutil/ |
pkgitems.cpp | 61 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {} 72 return bytes; 89 bytes=pItem->data+itemHeaderLength; 108 bytes=swapped+itemHeaderLength; 116 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UBiDiProps.java | 36 ByteBuffer bytes=ICUBinary.getData(DATA_FILE_NAME); local 37 readData(bytes); 40 private void readData(ByteBuffer bytes) throws IOException { 42 ICUBinary.readHeader(bytes, FMT, new IsAcceptable()); 46 count=bytes.getInt(); 54 indexes[i]=bytes.getInt(); 58 trie=Trie2_16.createFromSerialized(bytes); 62 throw new IOException(DATA_FILE_NAME+": not enough bytes for the trie"); 64 // skip padding after trie bytes 65 ICUBinary.skipBytes(bytes, expectedTrieLength-trieLength) [all...] |
/external/libchrome/base/ |
pickle_unittest.cc | 386 int bytes = sizeof(int) * 2; local 391 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes)); 392 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes + 1)); 490 // Check we can write zero bytes of data and 'data' can be NULL. 544 // Checks that claimed bytes are zero-initialized. 548 const char* bytes = static_cast<const char*>(pickle.ClaimBytes(kChunkSize)); local 550 EXPECT_EQ(0, bytes[i]); 560 void* bytes = pickle.ClaimBytes(data.size()); local 562 memcpy(bytes, data.data(), data.size());
|
/external/libchrome/base/strings/ |
string_util_unittest.cc | 353 EXPECT_FALSE(IsStringUTF8("\xf8\xa0\xbf\x80\xbf")); // 5 bytes 354 EXPECT_FALSE(IsStringUTF8("\xfc\x9c\xbf\x80\xbf\x80")); // 6 bytes 554 int64_t bytes; member in struct:base::__anon15236 559 // sense (zero or bytes). 561 // the display of file sizes or bytes consistently around three 583 FormatBytesUnlocalized(cases[i].bytes)); [all...] |
/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/opencv3/3rdparty/libtiff/ |
tif_dir.c | 49 tmsize_t bytes = (tmsize_t)(nmemb * elem_size); local 50 if (elem_size && bytes / elem_size == nmemb) 51 *vpp = (void*) _TIFFmalloc(bytes); 53 _TIFFmemcpy(*vpp, vp, bytes); [all...] |
/external/pdfium/third_party/libtiff/ |
tif_dir.c | 49 tmsize_t bytes = (tmsize_t)(nmemb * elem_size); local 50 if (elem_size && bytes / elem_size == nmemb) 51 *vpp = (void*) _TIFFmalloc(bytes); 53 _TIFFmemcpy(*vpp, vp, bytes); [all...] |
/external/piex/src/ |
piex.cc | 628 const size_t bytes = BytesRequiredForIsRaw(); local 633 // Read required number of bytes into a vector. 634 std::vector<std::uint8_t> file_header(bytes); 646 const size_t bytes = BytesRequiredForIsRaw(); local 647 if (data == nullptr || bytes == 0) { 651 std::vector<std::uint8_t> file_header(bytes);
|
tiff_parser.cc | 116 std::vector<std::uint8_t> bytes; local 117 if (!gps_directory.Get(kGpsTagAltitudeRef, &bytes) || bytes.empty() || 122 preview_image_data->gps.altitude_ref = bytes[0] != 0; 268 length /= 4; // length in bytes divided by 4 gives number of IFDs.
|
/external/protobuf/src/google/protobuf/io/ |
coded_stream.cc | 78 GOOGLE_LOG(WARNING) << "The total number of bytes read was " << total_bytes_read_; 182 << " bytes). To increase the limit (or to disable these " 289 uint8 bytes[sizeof(*value)]; local 293 // Fast path: Enough bytes in the buffer to read directly. 298 if (!ReadRaw(bytes, sizeof(*value))) return false; 299 ptr = bytes; 306 uint8 bytes[sizeof(*value)]; local 310 // Fast path: Enough bytes in the buffer to read directly. 315 if (!ReadRaw(bytes, sizeof(*value))) return false; 316 ptr = bytes; 663 uint8 bytes[sizeof(value)]; local 678 uint8 bytes[sizeof(value)]; local 733 uint8 bytes[kMaxVarint32Bytes]; local 833 uint8 bytes[kMaxVarintBytes]; local [all...] |
/external/regex-re2/re2/testing/ |
re2_test.cc | 1003 // Both should match in either mode, bytes or UTF-8 1110 int bytes = 15 * 1024; \/\/ enough to crash PCRE local [all...] |
/external/skia/src/codec/ |
SkPngCodec.cpp | 37 const size_t bytes = stream->read(data, length); local 38 if (bytes != length) { 253 // byte into separate bytes (useful for paletted and grayscale images). 482 // bytes), and if we can't fill the buffer, we immediately fail. 483 // For example, if we try to read 8192 bytes, and the image (incorrectly) only contains
|
/external/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 327 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); local 329 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes); 330 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
PrimitiveArrayTest.java | 32 private final byte[] bytes = new byte[] { 1, 2, 3 }; field in class:PrimitiveArrayTest 42 String testInput = "- " + pkg + ".ByteArr [ " + Arrays.toString(bytes) + " ]\n" + "- " 54 Assert.assertArrayEquals(bytes, ((ByteArr) wrappers.get(0)).getBytes()); 157 ByteArr byteArr = new ByteArr(bytes);
|
/external/squashfs-tools/squashfs-tools/ |
mksquashfs.h | 83 long long bytes; member in struct:file_info
|
/external/tremolo/Tremolo/ |
ogg.h | 152 long bytes; member in struct:__anon24112 192 extern int ogg_sync_wrote(ogg_sync_state *oy, long bytes);
|
/external/webrtc/webrtc/modules/pacing/ |
paced_sender.cc | 54 bytes(length_in_bytes), 63 size_t bytes; member in struct:webrtc::paced_sender::Packet 111 bytes_ += packet.bytes; 124 bytes_ -= packet.bytes; 191 // Total number of bytes in the queue. 214 int64_t bytes = target_rate_kbps_ * delta_time_ms / 8; local 217 bytes_remaining_ = bytes_remaining_ + bytes; 220 bytes_remaining_ = bytes; 224 void UseBudget(size_t bytes) { 225 bytes_remaining_ = std::max(bytes_remaining_ - static_cast<int>(bytes), [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_named_pipe.c | 89 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, 96 static VOID WINAPI global_iface_read_completed(DWORD err, DWORD bytes, 254 static VOID WINAPI ctrl_iface_write_completed(DWORD err, DWORD bytes, 259 "err=%d bytes=%d", dst, (int) err, (int) bytes); 346 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, 351 "bytes=%d", dst, (int) err, (int) bytes); 352 if (err == 0 && bytes > 0) 353 wpa_supplicant_ctrl_iface_rx(dst, bytes); 361 DWORD bytes; local 779 DWORD bytes; local [all...] |
/hardware/libhardware/tests/camera2/ |
CameraStreamFixture.h | 321 size_t bytes; local 324 bytes = fwrite( 327 if (bytes != img.width) { 345 bytes = fwrite(reinterpret_cast<const char*>(px), 347 if (bytes != img.width / 2) {
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_primary.cpp | 624 int32_t bytes = snprintf(buffer, MAX_SYSFS_COMMAND_LENGTH, "%d\n", level); local 625 if (bytes < 0) { 631 ssize_t ret = Sys::pwrite_(fd, buffer, static_cast<size_t>(bytes), 0); 670 ssize_t bytes = snprintf(buffer, kWriteLength, "%d", enable); local 676 if (HWDevice::SysFsWrite(kAutoRefreshNode, buffer, bytes) <= 0) { // Returns bytes written
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
OMX_G711Decoder.c | 80 extern int bytes[500] = {0}; variable [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
OMX_G726Enc_Utils.c | 90 extern int bytes[500] = {0}; variable 114 bytes[e]=size; 116 printf("__ Allocating %d bytes on address %p, line %d file %s\n", size, p, line, s); 129 printf("__ Deleting %d bytes on address %p, line %d file %s\n", bytes[q],dp, line, s); [all...] |