HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 651 - 675 of 1804) sorted by null

<<21222324252627282930>>

  /external/chromium_org/base/android/linker/
linker_jni.cc 65 // Note: the result contains Java "modified UTF-8" bytes.
67 const char* bytes = env->GetStringUTFChars(str, NULL); local
68 ::memcpy(ptr_, bytes, size_);
71 env->ReleaseStringUTFChars(str, bytes);
565 jlong GetRandomBaseLoadAddress(JNIEnv* env, jclass clazz, jlong bytes) {
567 mmap(NULL, bytes, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
572 munmap(address, bytes);
  /external/chromium_org/base/i18n/
build_utf8_validator_tables.cc 7 // surrogate code points, to an ordered array of sequences of bytes in
9 // 2. Convert individual bytes to ranges, starting from the right of each byte
10 // sequence. For each range, ensure the bytes on the left and the ranges
14 // 4. Convert the state machine to an array of bytes.
26 // This code uses type uint8 throughout to represent bytes, to avoid
110 // a set of strings of the same length that have bytes in each position in
114 // A UTF-8 "character" is represented by a sequence of bytes.
178 uint8 bytes[4]; local
181 U8_APPEND(bytes, offset, arraysize(bytes), i, is_error)
    [all...]
  /external/chromium_org/base/strings/
string_util_unittest.cc 351 EXPECT_FALSE(IsStringUTF8("\xf8\xa0\xbf\x80\xbf")); // 5 bytes
352 EXPECT_FALSE(IsStringUTF8("\xfc\x9c\xbf\x80\xbf\x80")); // 6 bytes
478 int64 bytes; member in struct:base::__anon7101
483 // sense (zero or bytes).
485 // the display of file sizes or bytes consistently around three
507 FormatBytesUnlocalized(cases[i].bytes));
    [all...]
  /external/chromium_org/chrome/browser/password_manager/
native_backend_kwallet_x.cc 442 const uint8_t* bytes = NULL; local
444 if (!reader.PopArrayOfBytes(&bytes, &length)) {
449 if (!bytes)
451 if (!CheckSerializedValue(bytes, length, signon_realm)) {
459 // Can't we all just agree on whether bytes are signed or not? Please?
460 Pickle pickle(reinterpret_cast<const char*>(bytes), length);
528 const uint8_t* bytes = NULL; local
530 if (!reader.PopArrayOfBytes(&bytes, &length)) {
535 if (!bytes || !CheckSerializedValue(bytes, length, signon_realm)
665 const uint8_t* bytes = NULL; local
    [all...]
  /external/chromium_org/chrome/renderer/extensions/
cast_streaming_native_handler.cc 61 std::vector<uint8> bytes; local
62 if (!base::HexStringToBytes(input, &bytes))
64 output->assign(reinterpret_cast<const char*>(&bytes[0]), bytes.size());
  /external/chromium_org/chrome/test/base/
ui_test_utils.cc 526 int bytes = static_cast<int>(png_data.size()); local
528 out_path, reinterpret_cast<char*>(&png_data[0]), bytes);
529 succeeded = (written == bytes);
  /external/chromium_org/net/quic/crypto/
strike_register.cc 73 // These bytes are organised thus:
497 const uint8* bytes = external_node(ext); local
505 CHECK_EQ((bytes[byte] & kMasks[bit]) != 0, i->second);
  /external/chromium_org/sync/internal_api/public/base/
unique_position.cc 30 bool UniquePosition::IsValidBytes(const std::string& bytes) {
36 return bytes.length() >= kSuffixLength
37 && bytes[bytes.length()-1] != 0;
91 std::string bytes(8, 0);
93 bytes[i] = static_cast<uint8>(y);
96 return UniquePosition(bytes + suffix, suffix);
202 const std::string bytes = Uncompress(compressed_); local
203 if (bytes.empty())
206 std::string debug_string = base::HexEncode(bytes.data(), bytes.length())
218 const std::string bytes = Uncompress(compressed_); local
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
Image9.cpp 111 unsigned int bytes = d3d9::ComputeBlockSize(desc.Format, desc.Width, d3dFormatInfo.blockHeight); local
112 ASSERT(bytes <= static_cast<unsigned int>(sourceLock.Pitch) &&
113 bytes <= static_cast<unsigned int>(destLock.Pitch));
117 memcpy((char*)destLock.pBits + destLock.Pitch * i, (char*)sourceLock.pBits + sourceLock.Pitch * i, bytes);
  /external/chromium_org/third_party/boringssl/src/crypto/bn/
bn_test.c 1344 size_t bytes; local
1366 for (bytes = 128 - 7; bytes <= 128; bytes++) {
1367 if (!BN_rand(n, bytes * 8, 0 /* make sure top bit is 1 */,
1372 if (BN_num_bytes(n) != bytes || BN_bn2bin(n, reference) != bytes) {
1373 fprintf(stderr, "Bad result from BN_rand; bytes.\n");
1383 if (BN_bn2bin_padded(out, bytes - 1, n)) {
1388 if (!BN_bn2bin_padded(out, bytes, n) |
    [all...]
  /external/chromium_org/third_party/cython/src/Cython/Utility/
TypeConversion.c 324 unsigned char *bytes = (unsigned char *) &ival; local
326 return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0);
497 unsigned char *bytes = (unsigned char *)&value; variable
498 return _PyLong_FromByteArray(bytes, sizeof({{TYPE}}),
609 unsigned char *bytes = (unsigned char *)&val; variable
611 bytes, sizeof(val),
  /external/chromium_org/third_party/icu/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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/source/tools/toolutil/
pkg_genc.c 116 // hardware, so we use .balign 16 which always means 16 bytes.
163 // 16 bytes alignment.
173 // 16 bytes alignment for sun-x86.
215 // align 16 bytes
407 " const char *bytes; \n"
434 " uint8_t bytes[%ld]; \n"
656 char bytes[2048]; member in union:__anon17036
708 length=T_FileStream_read(in, buffer.bytes, sizeof(buffer.bytes));
753 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/chromium_org/third_party/leveldatabase/src/db/
repair.cc 78 unsigned long long bytes = 0; local
80 bytes += tables_[i].meta.file_size;
84 "recovered %d files; %llu bytes. "
89 bytes);
167 virtual void Corruption(size_t bytes, const Status& s) {
169 Log(info_log, "Log #%llu: dropping %d bytes; %s",
171 static_cast<int>(bytes),
  /external/chromium_org/third_party/libwebp/enc/
picture_csp.c 27 uint8_t bytes[4]; member in union:__anon17902
29 #define ALPHA_IS_LAST (test_endian.bytes[3] == 0xff)
45 if (alpha[x] != 0xff) return 1; // TODO(skal): check 4/8 bytes at a time.
175 int step, // bytes per pixel
176 int rgb_stride, // bytes per scanline
  /external/chromium_org/third_party/protobuf/src/google/protobuf/io/
coded_stream.cc 78 GOOGLE_LOG(WARNING) << "The total number of bytes read was " << total_bytes_read_;
173 << " bytes). To increase the limit (or to disable these "
272 uint8 bytes[sizeof(*value)]; local
276 // Fast path: Enough bytes in the buffer to read directly.
281 if (!ReadRaw(bytes, sizeof(*value))) return false;
282 ptr = bytes;
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;
613 uint8 bytes[sizeof(value)]; local
628 uint8 bytes[sizeof(value)]; local
683 uint8 bytes[kMaxVarint32Bytes]; local
783 uint8 bytes[kMaxVarintBytes]; local
    [all...]
  /external/chromium_org/third_party/re2/re2/testing/
re2_test.cc 1012 // Both should match in either mode, bytes or UTF-8
1119 int bytes = 15 * 1024; \/\/ enough to crash PCRE local
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
SkGr.cpp 73 // need to trim off the extra bytes per row
182 const uint8_t *bytes = data->bytes(); local
183 if (etc1_pkm_is_valid(bytes)) {
184 uint32_t encodedWidth = etc1_pkm_get_width(bytes);
185 uint32_t encodedHeight = etc1_pkm_get_height(bytes);
195 bytes += ETC_PKM_HEADER_SIZE;
197 } else if (SkKTXFile::is_ktx(bytes)) {
211 bytes = ktx.pixelData();
217 return sk_gr_allocate_texture(ctx, cache, params, bm, desc, bytes, 0)
    [all...]
  /external/chromium_org/third_party/skia/src/ports/
SkImageDecoder_WIC.cpp 325 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); local
327 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes);
328 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
  /external/chromium_org/third_party/tcmalloc/chromium/src/
heap-profile-table.h 112 // Record an allocation at 'ptr' of 'bytes' bytes. 'stack_depth'
115 void RecordAlloc(const void* ptr, size_t bytes,
183 // of currently allocated bytes.
247 size_t bytes; // Number of bytes in this allocation member in struct:HeapProfileTable::AllocValue
278 static size_t AllocValueSize(const AllocValue& v) { return v.bytes; }
334 : bytes(bytes_arg),
338 size_t bytes; member in struct:HeapProfileTable::TypeCount
380 info.object_size = v->bytes;
    [all...]

Completed in 1353 milliseconds

<<21222324252627282930>>