/external/chromium_org/third_party/skia/include/core/ |
H A D | SkData.h | 18 * but the actual ptr that is returned (by data() or bytes()) is guaranteed 26 * Returns the number of bytes stored. 41 const uint8_t* bytes() const { function in class:SkData 60 * Returns the actual number of bytes copied, after clamping offset and 62 * only the computed number of bytes is returned. 91 * (a null-terminated array of bytes). The returned SkData will have size() 142 * Attempt to read size bytes into a SkData. If the read succeeds, return the data,
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | central_freelist.cc | 64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); local 67 ASSERT(objs_to_move > 0 && bytes > 0); 74 (max)(1, (1024 * 1024) / (bytes * objs_to_move)));
|
H A D | type_profiler_map.cc | 53 void* TypeProfilerMalloc(size_t bytes) { argument 54 return LowLevelAlloc::AllocWithArena(bytes, g_type_profiler_map_memory);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | central_freelist.cc | 64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); local 67 ASSERT(objs_to_move > 0 && bytes > 0); 74 (max)(1, (1024 * 1024) / (bytes * objs_to_move)));
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | decode.c | 41 const uint16_t *bytes, /* (i) encoded signal bits */ 72 WebRtcIlbcfix_SwapBytes(bytes, iLBCdec_inst->no_of_words, swapped); 75 last_bit = WebRtcIlbcfix_UnpackBits(bytes, iLBCbits_inst, iLBCdec_inst->mode); 39 WebRtcIlbcfix_DecodeImpl( int16_t *decblock, const uint16_t *bytes, iLBC_Dec_Inst_t *iLBCdec_inst, int16_t mode ) argument
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
H A D | byte_io_unittest.cc | 54 // Template arguments: Type T, read method RM(buffer), B bytes of data. 63 uint8_t bytes[B + kAlignments]; local 67 PopulateTestData(bytes + i, test_value, B, big_endian); 70 EXPECT_EQ(test_value, RM(bytes + i)); 76 // Template arguments: Type T, write method WM(buffer, value), B bytes of data 86 uint8_t bytes[B + kAlignments]; local 93 memset(bytes, 0, B + kAlignments); 94 WM(bytes + i, test_value); 98 EXPECT_EQ(expected_bytes[i + j], bytes[i + j]);
|
/external/chromium_org/ui/base/text/ |
H A D | bytes_formatting.cc | 37 base::string16 FormatBytesInternal(int64 bytes, argument 42 if (bytes < 0) { 43 NOTREACHED() << "Negative bytes value"; 48 double unit_amount = static_cast<double>(bytes); 53 if (bytes != 0 && units != DATA_UNITS_BYTE && unit_amount < 100) 66 DataUnits GetByteDisplayUnits(int64 bytes) { argument 68 // in unit U when kUnitThresholds[U] <= bytes < kUnitThresholds[U+1]. 79 if (bytes < 0) { 80 NOTREACHED() << "Negative bytes value"; 86 if (bytes > 94 FormatBytesWithUnits(int64 bytes, DataUnits units, bool show_units) argument 100 FormatSpeedWithUnits(int64 bytes, DataUnits units, bool show_units) argument 106 FormatBytes(int64 bytes) argument 110 FormatSpeed(int64 bytes) argument [all...] |
/external/deqp/executor/ |
H A D | xeTestLogParser.cpp | 52 void TestLogParser::parse (const deUint8* bytes, int numBytes) argument 54 m_containerParser.feed(bytes, numBytes);
|
/external/elfutils/0.153/libdw/ |
H A D | dwarf_nextcu.c | 95 const unsigned char *bytes = data + off; local 118 4. A 1-byte unsigned integer representing the size in bytes of 122 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes); 147 length = read_8ubyte_unaligned_inc (dwarf, bytes); 150 uint_fast16_t version = read_2ubyte_unaligned_inc (dwarf, bytes); 155 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, 160 uint8_t address_size = *bytes++; 164 uint64_t type_sig8 = read_8ubyte_unaligned_inc (dwarf, bytes); 167 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, 172 if (unlikely (type_offset < (size_t) (bytes [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | Exception_info.java | 114 Exception_info (final UDataInputStream bytes) throws IOException argument 116 m_start_pc = bytes.readU2 (); 117 m_end_pc = bytes.readU2 (); 118 m_handler_pc = bytes.readU2 (); 119 m_catch_type = bytes.readU2 ();
|
H A D | ExceptionsAttribute_info.java | 113 final UDataInputStream bytes) 118 final int number_of_exceptions = bytes.readU2 (); 123 final int exception_index = bytes.readU2 (); 112 ExceptionsAttribute_info(final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
|
H A D | GenericAttribute_info.java | 89 final UDataInputStream bytes) 95 bytes.readFully (m_info); 88 GenericAttribute_info(final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
|
H A D | InnerClass_info.java | 79 InnerClass_info (final UDataInputStream bytes) throws IOException argument 81 m_inner_class_index = bytes.readU2 (); 82 m_outer_class_index = bytes.readU2 (); 83 m_inner_name_index = bytes.readU2 (); 84 m_inner_access_flags = bytes.readU2 ();
|
H A D | SourceFileAttribute_info.java | 85 final UDataInputStream bytes) 90 m_sourcefile_index = bytes.readU2 (); 84 SourceFileAttribute_info(final int attribute_name_index, final long attribute_length, final UDataInputStream bytes) argument
|
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
H A D | CONSTANT_Class_info.java | 88 protected CONSTANT_Class_info (final UDataInputStream bytes) throws IOException argument 90 m_name_index = bytes.readU2 ();
|
H A D | CONSTANT_Double_info.java | 81 protected CONSTANT_Double_info (final UDataInputStream bytes) throws IOException argument 83 m_value = bytes.readDouble ();
|
H A D | CONSTANT_Float_info.java | 21 * The bytes item of the CONSTANT_Float_info structure contains the value of 72 protected CONSTANT_Float_info (final UDataInputStream bytes) throws IOException argument 74 m_value = bytes.readFloat ();
|
H A D | CONSTANT_Integer_info.java | 21 * The bytes item of the CONSTANT_Integer_info structure contains the value of 22 * the int constant. The bytes of the value are stored in big-endian (high byte 73 protected CONSTANT_Integer_info (final UDataInputStream bytes) throws IOException argument 75 m_value = bytes.readInt ();
|
H A D | CONSTANT_Long_info.java | 23 * (( long ) high_bytes << 32) + low_bytes , where the bytes of each of high_bytes 82 protected CONSTANT_Long_info (final UDataInputStream bytes) throws IOException argument 84 m_value = bytes.readLong ();
|
H A D | CONSTANT_String_info.java | 75 protected CONSTANT_String_info (final UDataInputStream bytes) throws IOException argument 77 m_string_index = bytes.readU2 ();
|
H A D | CONSTANT_Utf8_info.java | 20 * The bytes of multibyte characters are stored in the class file in big-endian 77 protected CONSTANT_Utf8_info (final UDataInputStream bytes) throws IOException argument 79 m_value = bytes.readUTF ();
|
H A D | CONSTANT_info.java | 60 public static CONSTANT_info new_CONSTANT_info (final UDataInputStream bytes) argument 63 byte tag = bytes.readByte (); 68 return new CONSTANT_Utf8_info (bytes); 71 return new CONSTANT_Integer_info (bytes); 74 return new CONSTANT_Float_info (bytes); 77 return new CONSTANT_Long_info (bytes); 80 return new CONSTANT_Double_info (bytes); 84 return new CONSTANT_Class_info (bytes); 87 return new CONSTANT_String_info (bytes); 91 return new CONSTANT_Fieldref_info (bytes); [all...] |
/external/flac/libFLAC/ |
H A D | ogg_helper.c | 44 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__StreamEncoderReadCallback read_callback, void *client_data) argument 46 while(bytes > 0) { 47 size_t bytes_read = bytes; 50 bytes -= bytes_read; 58 bytes -= bytes_read;
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | HashCodes.java | 26 * Creates a 32-bit {@code HashCode}, of which the bytes will form the passed int, interpreted 62 * Creates a 64-bit {@code HashCode}, of which the bytes will form the passed long, interpreted 106 static HashCode fromBytes(byte[] bytes) { argument 107 return new BytesHashCode(bytes); 111 final byte[] bytes; field in class:HashCodes.BytesHashCode 113 BytesHashCode(byte[] bytes) { argument 114 this.bytes = bytes; 118 return bytes.length * 8; 122 return bytes [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
H A D | HashCodesTest.java | 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above 30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes 46 // expectedHashCodes must contain at least one hash code with 4 bytes 49 if (expected.bytes.length == 4) { 56 // expectedHashCodes must contain at least one hash code with 8 bytes 59 if (expected.bytes.length == 8) { 68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes); 74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes())); 77 assertTrue(Arrays.equals(expected.bytes, bb)); 104 for (int bytes 113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode 117 ExpectedHashCode(byte[] bytes, int asInt, Long asLong, String toString) argument [all...] |