Searched defs:bytes (Results 151 - 175 of 1230) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/include/core/
H A DSkData.h18 * 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 Dcentral_freelist.cc64 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 Dtype_profiler_map.cc53 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 Dcentral_freelist.cc64 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 Ddecode.c41 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 Dbyte_io_unittest.cc54 // 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 Dbytes_formatting.cc37 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 DxeTestLogParser.cpp52 void TestLogParser::parse (const deUint8* bytes, int numBytes) argument
54 m_containerParser.feed(bytes, numBytes);
/external/elfutils/0.153/libdw/
H A Ddwarf_nextcu.c95 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 DException_info.java114 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 DExceptionsAttribute_info.java113 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 DGenericAttribute_info.java89 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 DInnerClass_info.java79 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 DSourceFileAttribute_info.java85 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 DCONSTANT_Class_info.java88 protected CONSTANT_Class_info (final UDataInputStream bytes) throws IOException argument
90 m_name_index = bytes.readU2 ();
H A DCONSTANT_Double_info.java81 protected CONSTANT_Double_info (final UDataInputStream bytes) throws IOException argument
83 m_value = bytes.readDouble ();
H A DCONSTANT_Float_info.java21 * 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 DCONSTANT_Integer_info.java21 * 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 DCONSTANT_Long_info.java23 * (( 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 DCONSTANT_String_info.java75 protected CONSTANT_String_info (final UDataInputStream bytes) throws IOException argument
77 m_string_index = bytes.readU2 ();
H A DCONSTANT_Utf8_info.java20 * 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 DCONSTANT_info.java60 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 Dogg_helper.c44 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 DHashCodes.java26 * 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 DHashCodesTest.java27 (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...]

Completed in 3285 milliseconds

1234567891011>>