HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 676 - 700 of 3342) sorted by null

<<21222324252627282930>>

  /external/google-breakpad/src/client/mac/tests/
exception_handler_test.cc 198 // Ensure that minidump file exists and is > 0 bytes.
217 // Ensure that minidump file exists and is > 0 bytes.
288 // Ensure that minidump file exists and is > 0 bytes.
314 const uint32_t kMemorySize = 256; // bytes
336 // bytes on either side of the instruction pointer.
356 // Ensure that minidump file exists and is > 0 bytes.
391 const uint8_t* bytes = region->GetMemory(); local
392 ASSERT_TRUE(bytes);
398 EXPECT_TRUE(memcmp(bytes, prefix_bytes, sizeof(prefix_bytes)) == 0);
399 EXPECT_TRUE(memcmp(bytes + kOffset, instructions, sizeof(instructions)) == 0)
490 const uint8_t* bytes = region->GetMemory(); local
590 const uint8_t* bytes = region->GetMemory(); local
    [all...]
  /external/google-breakpad/src/client/windows/unittests/
exception_handler_death_test.cc 326 const uint32_t kMemorySize = 256; // bytes
338 // minidump should contain 128 bytes on either side of the
383 const uint8_t* bytes = region->GetMemory(); local
384 ASSERT_TRUE(bytes);
390 EXPECT_EQ(0, memcmp(bytes, prefix_bytes, sizeof(prefix_bytes)));
391 EXPECT_EQ(0, memcmp(bytes + kOffset, instructions, sizeof(instructions)));
392 EXPECT_EQ(0, memcmp(bytes + kOffset + sizeof(instructions),
415 const uint32_t kMemorySize = 256; // bytes
433 // minidump should contain 128 bytes on either side of the
478 const uint8_t* bytes = region->GetMemory() local
567 const uint8_t* bytes = region->GetMemory(); local
    [all...]
  /external/google-breakpad/src/processor/
minidump_unittest.cc 100 vector<char> bytes; local
103 bytes.resize(file_stream.tellg());
106 file_stream.read(&bytes[0], bytes.size());
108 string str(&bytes[0], bytes.size());
    [all...]
  /external/google-breakpad/src/third_party/libdisasm/
ia32_invariant.c 146 int x, type, bytes = 0, size = 0, modrm = 0; local
208 bytes += ia32_invariant_modrm( buf, out,
219 memset( &out[bytes + modrm], X86_WILDCARD_BYTE,
221 bytes += size;
232 memset( &out[bytes + modrm],
235 memcpy( &out[bytes + modrm],
236 &buf[bytes + modrm], size );
239 bytes += size;
276 return (bytes + modrm);
293 /* copy opcode bytes to buffer *
    [all...]
  /external/guava/guava/src/com/google/common/hash/
HashCode.java 48 * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to
56 * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to
65 * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
66 * most-significant bytes.
81 * Copies bytes from this hash code into {@code dest}.
85 * @param maxLength the maximum number of bytes to write
86 * @return the number of bytes written to {@code dest}
99 * Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is
258 final byte[] bytes; field in class:HashCode.BytesHashCode
    [all...]
  /external/guava/guava/src/com/google/common/io/
ByteSource.java 42 * A readable source of bytes, such as a file. Unlike an {@link InputStream}, a
69 * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source
106 * Returns a view of a slice of this byte source that is at most {@code length} bytes long
116 * Returns whether the source has zero bytes. The default implementation is to open a stream and
135 * Returns the size of this source in bytes. For most implementations, this is a heavyweight
137 * to the end of the stream and return the total number of bytes that were read.
141 * bytes than would be returned by reading all of the bytes (for example, some special files may
145 * the same number of bytes a subsequent read would return.
172 * Counts the bytes in the given input stream using skip if possible. Returns SKIP_FAILED if th
492 protected final byte[] bytes; field in class:ByteSource.ByteArrayByteSource
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
BytesTest.java 30 * Unit test for {@link Bytes}.
46 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value));
51 assertFalse(Bytes.contains(EMPTY, (byte) 1));
52 assertFalse(Bytes.contains(ARRAY1, (byte) 2));
53 assertFalse(Bytes.contains(ARRAY234, (byte) 1));
54 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1));
55 assertTrue(Bytes.contains(ARRAY234, (byte) 2));
56 assertTrue(Bytes.contains(ARRAY234, (byte) 3));
57 assertTrue(Bytes.contains(ARRAY234, (byte) 4));
61 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1))
204 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
BytesTest.java 32 * Unit test for {@link Bytes}.
48 assertEquals(((Byte) value).hashCode(), Bytes.hashCode(value));
53 assertFalse(Bytes.contains(EMPTY, (byte) 1));
54 assertFalse(Bytes.contains(ARRAY1, (byte) 2));
55 assertFalse(Bytes.contains(ARRAY234, (byte) 1));
56 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1));
57 assertTrue(Bytes.contains(ARRAY234, (byte) 2));
58 assertTrue(Bytes.contains(ARRAY234, (byte) 3));
59 assertTrue(Bytes.contains(ARRAY234, (byte) 4));
63 assertEquals(-1, Bytes.indexOf(EMPTY, (byte) 1))
206 List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); local
    [all...]
  /external/harfbuzz_ng/test/api/
test-buffer.c 383 unsigned int bytes, chars, i, j, len; local
397 bytes = strlen (test->utf8);
402 hb_buffer_add_utf8 (b, test->utf8, bytes, 1, bytes - 2);
475 /* continuation bytes */
613 /* missing continuation bytes */
624 /* impossible bytes */
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
UPropertyAliases.java 81 private void load(ByteBuffer bytes) throws IOException {
82 //dataVersion=ICUBinary.readHeaderAndDataVersion(bytes, DATA_FORMAT, IS_ACCEPTABLE);
83 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
84 int indexesLength=bytes.getInt()/4; // inIndexes[IX_VALUE_MAPS_OFFSET]/4
91 inIndexes[i]=bytes.getInt();
98 valueMaps=ICUBinary.getInts(bytes, numInts, 0);
105 bytes.get(bytesTries);
107 // Read the nameGroups and turn them from ASCII bytes into a Java String.
113 sb.append((char)bytes.get());
119 ByteBuffer bytes = ICUBinary.getRequiredData("pnames.icu") local
    [all...]
UResource.java 32 // Stores a reference to the resource bundle key string bytes array,
37 private byte[] bytes; field in class:UResource.Key
57 bytes = keyBytes;
64 * The corresponding ASCII-character bytes are not copied and
73 bytes = keyBytes;
84 bytes = null;
97 bytes = new byte[s.length()];
103 bytes[i] = (byte)c;
129 return (char)bytes[offset + i];
141 return new Key(bytes, offset + start, end - start)
    [all...]
  /external/icu/icu4c/source/common/
ucnv_u16.c 114 /* copy an even number of bytes for complete UChars */
185 length=2; /* 2 bytes to output */
198 length=0; /* from here on, length counts the bytes in overflow[] */
217 length=4; /* 4 bytes to output */
234 /* output length bytes with overflow (length>targetCapacity>0) */
319 /* continue collecting bytes for the trail surrogate */
358 * used for the lead unit's bytes
376 /* copy an even number of bytes for complete UChars */
538 /* too few (2 or 3) bytes for a surrogate pair: truncated code point */
539 uint8_t *bytes=pArgs->converter->toUBytes local
556 uint8_t *bytes=pArgs->converter->toUBytes; local
1138 uint8_t *bytes=pArgs->converter->toUBytes; local
1155 uint8_t *bytes=pArgs->converter->toUBytes; local
    [all...]
ucnv_u7.c 217 uint8_t *bytes; local
247 bytes=cnv->toUBytes;
274 bytes[0]=b;
307 * base64 bytes, while nextSourceIndex is precisely parallel to source,
313 bytes[byteIndex++]=b=*source++;
335 bytes[0]=PLUS;
360 /* collect base64 bytes into UChars */
380 bytes[0]=b; /* keep this byte in case an error occurs */
391 bytes[0]=b; /* keep this byte in case an error occurs */
590 * Output 2 or 3 base64 bytes for the remaining bits of the previous characte
899 uint8_t *bytes; local
    [all...]
  /external/icu/icu4c/source/common/unicode/
bytestrie.h 57 * The BytesTrie object will not read more bytes than
108 State() { bytes=NULL; }
112 const uint8_t *bytes; member in class:BytesTrie::State
125 state.bytes=bytes_;
142 if(bytes_==state.bytes && bytes_!=NULL) {
235 * @return the number of bytes which continue the byte sequence from here
248 * @param trieBytes The trie bytes.
433 // encode match values or continue matching further bytes.
440 // - Linear-match node: Matches a number of bytes.
442 // The node byte is the length of the branch (number of bytes to select from
    [all...]
  /external/icu/icu4c/source/i18n/
collationkeys.cpp 30 SortKeyByteSink::Append(const char *bytes, int32_t n) {
31 if (n <= 0 || bytes == NULL) {
40 bytes += ignore_;
47 if ((buffer_ + length) == bytes) {
48 return; // the caller used GetAppendBuffer() and wrote the bytes already
52 uprv_memcpy(buffer_ + length, bytes, n);
54 AppendBeyondCapacity(bytes, n, length);
69 // Do not write ignored bytes right at the end of the buffer.
150 uint8_t bytes[4] = { (uint8_t)(w >> 24), (uint8_t)(w >> 16), (uint8_t)(w >> 8), (uint8_t)w }; local
151 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 76 char *bytes = NEW_ARRAY(char, byteCount + 1); local
77 char *dest = bytes, *destLimit = bytes + byteCount + 1;
83 return bytes;
86 static void freeBytes(char *bytes)
88 DELETE_ARRAY(bytes);
126 char *bytes; local
132 bytes = extractBytes(s, sLength, "UTF-8", &byteLength);
134 ucsdet_setText(csd, bytes, byteLength, &status);
156 freeBytes(bytes);
288 char *bytes; local
476 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength); local
554 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength); local
    [all...]
  /external/icu/icu4c/source/test/intltest/
tscoll.cpp 370 const uint8_t *bytes = source.getByteArray(byteCount); local
380 appendHex(bytes[i], 2, target);
uobjtest.cpp 512 char *bytes = stackMemory.bytes_; local
516 p=new(bytes) UnicodeString(len, (UChar32)0x20ac, len);
517 if((void *)p!=(void *)bytes) {
558 UnicodeString::operator delete(p, bytes);
  /external/icu/icu4c/source/tools/makeconv/
makeconv.cpp 163 fprintf(stderr, "error: wrote %u bytes to the .cnv file but counted %u bytes\n", (int)sz2, (int)size);
168 printf("- Wrote %u bytes to the udata.\n", (int)sz2);
459 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local
463 length=ucm_parseBytes(bytes, line, (const char **)&s);
466 uprv_memcpy(staticData->subChar, bytes, length);
473 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local
476 if(1==ucm_parseBytes(bytes, line, (const char **)&s) && *s==0) {
477 staticData->subChar1=bytes[0];
820 if(!MBCSOkForBaseFromUnicode(mbcsData, m->b.bytes, m->bLen, m->u, m->f))
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
ucm.h 43 * b if bLen<=4: up to 4 bytes
44 * else index to bLen bytes
46 * bLen number of words containing left-justified bytes
47 * bIsMultipleChars indicates that the bytes contain more than one sequence
57 uint8_t bytes[4]; member in union:UCMapping::__anon20335
77 uint8_t *bytes; member in struct:UCMTable
80 /* index map for mapping by bytes first */
117 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx)
131 /* @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 80 private void load(ByteBuffer bytes) throws IOException {
81 //dataVersion=ICUBinary.readHeaderAndDataVersion(bytes, DATA_FORMAT, IS_ACCEPTABLE);
82 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE);
83 int indexesLength=bytes.getInt()/4; // inIndexes[IX_VALUE_MAPS_OFFSET]/4
90 inIndexes[i]=bytes.getInt();
97 valueMaps=ICUBinary.getInts(bytes, numInts, 0);
104 bytes.get(bytesTries);
106 // Read the nameGroups and turn them from ASCII bytes into a Java String.
112 sb.append((char)bytes.get());
118 ByteBuffer bytes = ICUBinary.getRequiredData("pnames.icu") local
    [all...]
UResource.java 30 // Stores a reference to the resource bundle key string bytes array,
35 private byte[] bytes; field in class:UResource.Key
55 bytes = keyBytes;
62 * The corresponding ASCII-character bytes are not copied and
71 bytes = keyBytes;
82 bytes = null;
95 bytes = new byte[s.length()];
101 bytes[i] = (byte)c;
127 return (char)bytes[offset + i];
139 return new Key(bytes, offset + start, end - start)
    [all...]
  /external/kernel-headers/original/uapi/drm/
omap_drm.h 56 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);

Completed in 1706 milliseconds

<<21222324252627282930>>