/external/webkit/Source/WebCore/platform/text/ |
H A D | TextCodecLatin1.cpp | 119 String TextCodecLatin1::decode(const char* bytes, size_t length, bool, bool, bool&) argument 124 const uint8_t* source = reinterpret_cast<const uint8_t*>(bytes); 125 const uint8_t* end = reinterpret_cast<const uint8_t*>(bytes + length); 163 char* bytes = result.data(); local 180 bytes = result.data(); 181 memcpy(bytes + resultLength, replacement, replacementLength); 186 bytes[resultLength++] = b; 189 return CString(bytes, resultLength); 195 char* bytes; local 196 CString string = CString::newUninitialized(length, bytes); [all...] |
/external/chromium/net/base/ |
H A D | upload_data.cc | 35 void UploadData::Element::SetToChunk(const char* bytes, argument 39 bytes_.insert(bytes_.end(), bytes, bytes + bytes_len); 129 void UploadData::AppendBytes(const char* bytes, int bytes_len) { argument 133 elements_.back().SetToBytes(bytes, bytes_len); 158 void UploadData::AppendChunk(const char* bytes, argument 163 elements_.back().SetToChunk(bytes, bytes_len, is_last_chunk);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | BufferedInputStreamTest.java | 75 // Close underlying FileInputStream, all but 1 buffered bytes should 117 assertTrue("Returned incorrect number of available bytes", is 208 byte[] bytes = new byte[256]; 210 bytes[i] = (byte) i; 213 new ByteArrayInputStream(bytes), 12); 218 assertTrue("Wrong bytes", in.read() == 6 && in.read() == 7); 220 in = new BufferedInputStream(new ByteArrayInputStream(bytes), 12); 225 assertTrue("Wrong bytes 2", in.read() == 6 && in.read() == 7); 230 bytes = new byte[3]; 231 int result = buf.read(bytes); [all...] |
/external/dbus/tools/ |
H A D | dbus-print-message.c | 57 print_hex (unsigned char *bytes, unsigned int len, int depth) argument 61 printf ("array of bytes [\n"); 75 printf ("%02x", bytes[i]); 105 unsigned char *bytes = malloc (DEFAULT_SIZE + 1); local 117 bytes[len] = val; 126 bytes = realloc (bytes, max + 1); 134 bytes[len] = '\0'; 135 printf ("array of bytes \"%s\"\n", bytes); [all...] |
/external/icu4c/tools/toolutil/ |
H A D | 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 54 uint8_t bytes[4]; member in union:UCMapping::__anon5073 74 uint8_t *bytes; member in struct:UCMTable 77 /* index map for mapping by bytes first */ 114 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx) 128 /* @return -1 illegal bytes [all...] |
/external/tremolo/Tremolo/ |
H A D | framing.c | 101 static ogg_buffer *_fetch_buffer(ogg_buffer_state *bs,long bytes){ argument 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){ argument 149 ogg_buffer *ob=_fetch_buffer(bs,bytes); 156 ogg_buffer_realloc(ogg_reference *or,long bytes) argument 611 ogg_sync_bufferin(ogg_sync_state *oy, long bytes) argument 655 ogg_sync_wrote(ogg_sync_state *oy, long bytes) argument 667 _checksum(ogg_reference *or, int bytes) argument 696 long bytes,ret=0; local 781 long bytes=next-now; local 787 long bytes=oy->fifo_tail->length; local [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | fprw.stderr.exp | 9 Address 0x........ is 0 bytes inside a block of size 8 free'd 15 Address 0x........ is 0 bytes inside a block of size 8 free'd 21 Address 0x........ is 0 bytes inside a block of size 4 free'd 27 Address 0x........ is 0 bytes inside a block of size 4 free'd 38 Address 0x........ is 0 bytes inside a block of size 4 alloc'd
|
H A D | addressable.stderr.exp | 4 in use at exit: ... bytes in ... blocks 5 total heap usage: ... allocs, ... frees, ... bytes allocated 33 in use at exit: ... bytes in ... blocks 34 total heap usage: ... allocs, ... frees, ... bytes allocated 42 in use at exit: ... bytes in ... blocks 43 total heap usage: ... allocs, ... frees, ... bytes allocated 56 in use at exit: ... bytes in ... blocks 57 total heap usage: ... allocs, ... frees, ... bytes allocated 75 in use at exit: ... bytes in ... blocks 76 total heap usage: ... allocs, ... frees, ... bytes allocate [all...] |
H A D | custom_alloc.stderr.exp | 3 Address 0x........ is 0 bytes after a block of size 40 alloc'd 15 Address 0x........ is 0 bytes inside a block of size 40 alloc'd 21 Address 0x........ is 0 bytes inside a block of size 40 free'd
|
H A D | leak-cases-possible.stderr.exp | 5 16 bytes in 1 blocks are definitely lost in loss record ... of ... 11 32 (16 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record ... of ... 17 32 (16 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
|
/external/bison/lib/ |
H A D | bitset.c | 36 /* Return number of bytes required to create a N_BIT bitset 37 of TYPE. The bitset may grow to require more bytes than this. */ 41 size_t bytes; local 52 bytes = abitset_bytes (n_bits); 56 bytes = lbitset_bytes (n_bits); 60 bytes = ebitset_bytes (n_bits); 64 bytes = vbitset_bytes (n_bits); 68 return bytes; 136 size_t bytes; local 139 bytes 156 size_t bytes; local [all...] |
/external/icu4c/tools/makeconv/ |
H A D | genmbcs.c | 73 const uint8_t *bytes, int32_t length, 79 const uint8_t *bytes, int32_t length); 83 const uint8_t *bytes, int32_t length, 89 const uint8_t *bytes, int32_t length, 111 printBytes(char *buffer, const uint8_t *bytes, int32_t length) { argument 114 *s++=hexDigit((uint8_t)(*bytes>>4)); 115 *s++=hexDigit((uint8_t)(*bytes&0xf)); 116 ++bytes; 222 /* allocate 1M * maxCharLength bytes for at most 1M mappings */ 367 const uint8_t *bytes, int32_ 366 MBCSAddToUnicode(MBCSData *mbcsData, const uint8_t *bytes, int32_t length, UChar32 c, int8_t flag) argument 549 MBCSIsValid(NewConverter *cnvData, const uint8_t *bytes, int32_t length) argument 557 MBCSSingleAddFromUnicode(MBCSData *mbcsData, const uint8_t *bytes, int32_t length, UChar32 c, int8_t flag) argument 675 MBCSAddFromUnicode(MBCSData *mbcsData, const uint8_t *bytes, int32_t length, UChar32 c, int8_t flag) argument 890 MBCSOkForBaseFromUnicode(const MBCSData *mbcsData, const uint8_t *bytes, int32_t length, UChar32 c, int8_t flag) argument [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | AuthorityKeyIdentifier.java | 111 byte[] bytes = spki.getPublicKeyData().getBytes(); 112 digest.update(bytes, 0, bytes.length); 129 byte[] bytes = spki.getPublicKeyData().getBytes(); 130 digest.update(bytes, 0, bytes.length);
|
H A D | SubjectKeyIdentifier.java | 132 byte[] bytes = spki.getPublicKeyData().getBytes(); 133 digest.update(bytes, 0, bytes.length);
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
H A D | locale.js | 38 * Convert a number of bytes into an appropriate International System of 44 * @param {number} bytes The number of bytes. 46 bytesToSi: function(bytes) { 48 var rounded = Math.round(bytes / s * 10) / 10; 52 // This loop index is used outside the loop if it turns out |bytes| 57 if (bytes < scale[i + 1])
|
/external/dbus/test/ |
H A D | unused-code-gc.py | 47 def sizeAsString(bytes): 48 if bytes < 1024: 49 return "%d bytes" % bytes 50 elif bytes < 1024*1024: 51 return "%.2gK" % (bytes / 1024.0) 53 return "%.2gM" % (bytes / 1024.0 / 1024.0)
|
/external/dhcpcd/ |
H A D | control.c | 76 ssize_t bytes; local 81 bytes = read(l->fd, buffer, sizeof(buffer) - 1); 82 if (bytes == -1 || bytes == 0) { 86 buffer[bytes] = '\0'; 88 e = buffer + bytes;
|
/external/jpeg/ |
H A D | jmemmac.c | 158 long bytes = byte_count; local 164 retVal = FSRead ( info->temp_file, &bytes, 166 if ( retVal != noErr || bytes != byte_count ) 176 long bytes = byte_count; local 182 retVal = FSWrite ( info->temp_file, &bytes, 184 if ( retVal != noErr || bytes != byte_count ) 279 * Note that FreeMem returns the total number of free bytes;
|
/external/openssl/crypto/evp/ |
H A D | evp_pkey.c | 219 const unsigned char *bytes, int len) 222 type, bytes, len)) return 1; 228 const unsigned char *bytes, int len) 231 type, bytes, len)) return 1; 237 const unsigned char *bytes, int len) 240 type, bytes, len)) return 1; 217 EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument 226 EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len) argument 235 EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, const char *attrname, int type, const unsigned char *bytes, int len) argument
|
/external/skia/src/animator/ |
H A D | SkBase64.cpp | 53 unsigned char bytes[4]; local 64 bytes[byte] = decoded; 87 int one = (uint8_t) (bytes[0] << 2); 88 two = bytes[1]; 91 three = bytes[2]; 94 three |= bytes[3];
|
/external/v8/src/ |
H A D | string-stream.h | 38 // Allocate a number of bytes. 39 virtual char* allocate(unsigned bytes) = 0; 40 // Allocate a larger number of bytes and copy the old buffer to the new one. 41 // bytes is an input and output parameter passing the old size of the buffer 44 virtual char* grow(unsigned* bytes) = 0; 52 char* allocate(unsigned bytes); 53 char* grow(unsigned* bytes); 65 char* allocate(unsigned bytes) { return space_; } argument 66 char* grow(unsigned* bytes);
|
/external/webkit/Source/WebKit/efl/ewk/ |
H A D | ewk_tiled_matrix.c | 51 } tiles, bytes; member in struct:_Ewk_Tile_Matrix::__anon12056 88 tm->stats.bytes.freed += t->bytes; 131 tm->stats.bytes.freed += t->bytes; 196 uint64_t tiles, bytes; local 209 bytes = tm->stats.bytes.allocated - tm->stats.bytes.freed; 212 bytes_leaked += bytes; [all...] |
/external/blktrace/btt/ |
H A D | trace_issue.c | 36 update_d_histo(d_iop->t.bytes); 48 d_iop->bytes_left -= q_iop->t.bytes; 65 if (d_iop->t.bytes == 0)
|
/external/chromium/chrome/browser/ui/webui/ |
H A D | screenshot_source.cc | 63 std::vector<unsigned char> bytes; local 66 &bytes, &read_complete)); 68 return bytes;
|
/external/chromium/net/socket/ |
H A D | client_socket.cc | 17 // Includes bytes transferred and, if |bytes| is not NULL, the bytes themselves. 20 NetLogBytesTransferredParameter(int byte_count, const char* bytes); 150 char* bytes) const { 153 params = new NetLogBytesTransferredParameter(byte_count, bytes);
|