/external/chromium_org/third_party/cython/src/Cython/Tempita/ |
_tempita.py | 46 from Cython.Tempita.compat3 import bytes, basestring_, next, is_unicode, coerce_text namespace 337 value = bytes(value) 350 if self._unicode and isinstance(value, bytes): 353 'Cannot decode bytes value %r into unicode ' 367 'Cannot encode unicode value %r into bytes ' 451 if sys.version >= "3" and isinstance(value, bytes): [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
cffload.c | 281 if ( FT_FRAME_EXTRACT( size, idx->bytes ) ) 309 if ( idx->bytes ) 310 FT_FRAME_RELEASE( idx->bytes ); 410 FT_Byte* org_bytes = idx->bytes; 539 if ( idx->bytes ) 542 *pbytes = idx->bytes + off1 - 1; 571 if ( idx->bytes == 0 ) 588 FT_Byte* bytes; local 594 error = cff_index_access_element( idx, element, &bytes, &byte_len ); 600 FT_MEM_COPY( name, bytes, byte_len ) [all...] |
/external/chromium_org/third_party/icu/source/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/chromium_org/third_party/icu/source/test/cintltst/ |
custrtrn.c | 886 static const uint8_t bytes[]={ 0xe0, 0xa5, 0x9c, 0 }; local 937 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 | 1195 const char *bytes; member in struct:__anon16899 [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
csdetest.cpp | 140 char *bytes = NULL; local 145 bytes = NEW_ARRAY(char, length + 1); 146 source.extract(0, sLength, bytes, codepage); 149 return bytes; 152 static void freeBytes(char *bytes) 154 DELETE_ARRAY(bytes); 172 char *bytes = extractBytes(testString, codepage, byteLength); local 174 if (bytes == NULL) { 181 ucsdet_setText(csd.getAlias(), bytes, byteLength, &status); 237 freeBytes(bytes); 328 char *bytes = extractBytes(s, "UTF-8", byteLength); local 428 char *bytes = extractBytes(s, "ISO-8859-1", byteLength); local 635 char *bytes = extractBytes(s1, "IBM424", bLength); local 723 char *bytes = extractBytes(s1, "IBM420", bLength); local [all...] |
/external/chromium_org/third_party/icu/source/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 U8_NEXT_UNSAFE(bytes, i, cp); 705 // (The number of bytes read from file per loop iteration depends on external encoding. [all...] |
/external/chromium_org/third_party/icu/source/tools/makeconv/ |
gencnvex.c | 38 const uint8_t *bytes, int32_t length); 110 const uint8_t *bytes, int32_t length) { 284 /* return the number of bytes that should have been written */ 419 uint8_t *bytes; local 429 bytes=UCM_GET_BYTES(table, m); 430 low=bytes[unitIndex]; 436 bytes=UCM_GET_BYTES(table, m); 437 high=bytes[unitIndex]; 476 bytes=UCM_GET_BYTES(table, m); 477 high=bytes[unitIndex] 637 uint8_t *bytes, *resultBytes; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
stun_unittest.cc | 213 // The actual length in bytes of the invalid messages (including STUN header) 217 0x00, 0x01, 0x00, 0x00, // length of 0 (last 2 bytes) 304 0x3a, 0x68, 0x36, 0x76, // } Username (9 bytes) and padding (3 bytes) 377 0xaa, 0xe3, 0x83, 0x83, // } Username value (18 bytes) and padding (2 bytes) 390 0x70, 0x6c, 0x65, 0x2e, // } Realm value (11 bytes) and padding (1 byte) 421 0x3a, 0x68, 0x36, 0x76, // } Username (9 bytes) and padding (3 bytes) 883 std::string bytes; local 912 std::string bytes; local 941 std::string bytes; local 971 std::string bytes; local 1332 const StunByteStringAttribute* bytes = msg.GetByteString(STUN_ATTR_USERNAME); local [all...] |
/external/chromium_org/third_party/libjpeg_turbo/ |
jchuff.c | 316 /* Outputting bytes to the file */ 348 * bytes can be stored in a 64-bit bit buffer before it has to be emptied. 436 bytes = buffer - _buffer; \ 438 while (bytes > 0) { \ 439 bytestocopy = min(bytes, state->free_in_buffer); \ 446 bytes -= bytestocopy; \ 461 size_t bytes, bytestocopy; int localbuf = 0; local 491 size_t bytes, bytestocopy; int localbuf = 0; local 835 * practice, because it produces more all-ones bytes (which incur stuffed 836 * zero bytes in the final file). In any case the difference is tiny [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
platform_x11.c | 165 uint32_t bytes = xcb_get_image_data_length(reply); local 167 memcpy(data, idata, bytes); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_texture.c | 283 const uint bytes = w * h * d * bpp; local 284 lpr->data = align_malloc(bytes, 16); 287 memset(lpr->data, 0, bytes); 760 unsigned bytes, 775 buffer->base.width0 = bytes; 787 * Compute size (in bytes) need to store a texture image / mipmap level, 819 * Compute size (in bytes) need to store a texture image / mipmap level, [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
pack.c | 64 * \param n number of bytes. 66 * \todo try this trick to flip bytes someday: 78 b = (GLuint) p[i]; /* words are often faster than bytes */ 152 GLint bytes, row, width_in_bytes; local 159 bytes = ((width + 7) / 8 * height); 160 buffer = (GLubyte *) malloc( bytes ); [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
GrContext.h | 122 * @param maxResourceBytes If non-null, returns maximum number of bytes of 136 * @param maxResourceBytes If non-null, returns the total number of bytes of video memory held 143 size_t bytes; local 144 this->getResourceCacheUsage(NULL, &bytes); 145 return bytes; 161 * @param maxResourceBytes The maximum number of bytes of video memory 228 * @param rowBytes The number of bytes between rows of the texture. Zero 617 * @param rowBytes number of bytes bewtween consecutive rows. Zero means rows are tightly 632 * Copy the src pixels [buffer, row bytes, pixel config] into a render target at the specified 641 * @param rowBytes number of bytes between consecutive rows. Zero means rows are tightl [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrInOrderDrawBuffer.cpp | 349 size_t bytes = (info.vertexCount() + info.startVertex()) * drawState.getVertexStride(); local 350 poolState.fUsedPoolVertexBytes = SkTMax(poolState.fUsedPoolVertexBytes, bytes); 355 size_t bytes = (info.indexCount() + info.startIndex()) * sizeof(uint16_t); local 356 poolState.fUsedPoolIndexBytes = SkTMax(poolState.fUsedPoolIndexBytes, bytes); [all...] |
/external/chromium_org/third_party/skia/tests/ |
BlurTest.cpp | 178 uint8_t* bytes = dst.getAddr8(midX, midY); local 182 result[i] = bytes[i];
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
heap-profile-table.cc | 216 const void* ptr, size_t bytes, int stack_depth, 220 b->alloc_size += bytes; 222 total_.alloc_size += bytes; 226 v.bytes = bytes; 235 b->free_size += v.bytes; 237 total_.free_size += v.bytes; 243 if (alloc_value != NULL) *object_size = alloc_value->bytes; 251 info->object_size = alloc_value->bytes; 264 if (alloc_value != NULL) *object_size = alloc_value->bytes; 645 int bytes; member in struct:HeapProfileTable::Snapshot::Entry [all...] |
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/ |
serialutil.py | 10 bytes 15 # strings anyway, only later versions have a true bytes type. 16 bytes = str variable 18 # bytes 20 # for bytes(bytearray()) usage 49 # ``memoryview`` was introduced in Python 2.7 and ``bytes(some_memoryview)`` 64 # so a simple ``bytes(sequence)`` doesn't work for all versions 66 """convert a sequence to a bytes type""" 67 if isinstance(seq, bytes): 70 return bytes(seq [all...] |
/external/chromium_org/ui/base/resource/ |
resource_bundle.cc | 435 base::RefCountedStaticMemory* bytes = NULL; local 437 bytes = delegate_->LoadDataResourceBytes(resource_id, scale_factor); 439 if (!bytes) { 443 bytes = new base::RefCountedStaticMemory(data.data(), data.length()); 447 return bytes;
|
/external/compiler-rt/lib/lsan/ |
lsan_common.cc | 398 Printf(" count bytes template\n"); 585 Printf("%p (%zu bytes)\n", leaked_objects_[j].addr, 592 uptr bytes = 0, allocations = 0; local 595 bytes += leaks_[i].total_size; 600 "%zu byte(s) leaked in %zu allocation(s).", bytes,
|
/external/dhcpcd/ |
dhcp.c | 500 ssize_t b, bytes = 0, ocets; local 521 bytes += ((4 * 4) * 2) + 4; 553 return bytes; 659 ssize_t b, bytes = 0; local 691 bytes += b; 693 bytes += 16 * 2 + 8 + 2 + 1 + 2; 708 bytes += b; 710 bytes += (4 * 4); 714 return bytes; 1122 ssize_t bytes = sizeof(*dhcp) local 1173 ssize_t bytes; local 1200 ssize_t bytes = 0; local 1270 ssize_t bytes = 0; local [all...] |
/external/eigen/Eigen/src/Core/util/ |
Memory.h | 102 * Fast, but wastes 16 additional bytes of memory. Does not throw any exception. 209 /** \internal Allocates \a size bytes. The returned pointer is guaranteed to have 16 bytes alignment. 296 /** \internal Allocates \a size bytes. If Align is true, then the returned ptr is 16-byte-aligned. 369 /** \internal Allocates \a size objects of type T. The returned pointer is guaranteed to have 16 bytes alignment. 458 * power of 2, the packet size in bytes is also a power of 2, and is a multiple of sizeof(Scalar). On the 663 * // Matrix4f requires 16 bytes alignment: 666 * // Vector3f does not require 16 bytes alignment, no need to use Eigen's allocator: 823 unsigned char * bytes = reinterpret_cast<unsigned char *>(abcd)+2; local 827 switch(bytes[i] [all...] |
/external/fio/ |
blktrace_api.h | 99 __u32 bytes; /* transfer length */ member in struct:blk_io_trace
|
/external/fio/engines/ |
net.c | 255 int bytes = 0; local 261 if (!bytes) 262 bytes = ret; 268 bytes += ret; 272 return bytes; 276 * Receive bytes from a socket and fill them into the internal pipe 286 * Transmit 'len' bytes from the internal pipe 302 int bytes = 0; local 308 if (!bytes) 309 bytes = ret [all...] |