Searched defs:bytes (Results 26 - 50 of 1081) sorted by relevance

1234567891011>>

/external/chromium_org/cc/resources/
H A Dresource.cc10 size_t Resource::bytes() const { function in class:cc::Resource
/external/chromium_org/chrome/browser/parsers/
H A Dmetadata_parser_jpeg_factory.cc16 char* bytes,
15 CanParse(const base::FilePath& path, char* bytes, int bytes_size) argument
/external/chromium_org/content/browser/webui/
H A Durl_data_source_impl.cc28 base::RefCountedMemory* bytes) {
30 scoped_refptr<base::RefCountedMemory> bytes_ptr(bytes);
53 scoped_refptr<base::RefCountedMemory> bytes) {
56 backend_->DataAvailable(request_id, bytes.get());
26 SendResponse( int request_id, base::RefCountedMemory* bytes) argument
51 SendResponseOnIOThread( int request_id, scoped_refptr<base::RefCountedMemory> bytes) argument
/external/chromium_org/gpu/ipc/
H A Dgpu_command_buffer_traits.cc49 const char* bytes = NULL; local
50 if (!m->ReadBytes(iter, &bytes, sizeof(p->name)))
52 DCHECK(bytes);
53 memcpy(p->name, bytes, sizeof(p->name));
/external/chromium_org/net/base/
H A Dbandwidth_metrics.cc32 void ScopedBandwidthMetrics::RecordBytes(int bytes) { argument
33 g_bandwidth_metrics.Get().RecordBytes(bytes);
/external/chromium_org/net/quic/congestion_control/
H A Dtcp_receiver.cc10 // Originally 64K bytes for TCP, setting it to 256K to support higher bitrates.
27 void TcpReceiver::RecordIncomingPacket(QuicByteCount bytes, argument
/external/chromium_org/net/udp/
H A Dudp_net_log_parameters.cc17 const char* bytes,
23 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count));
40 const char* bytes,
42 DCHECK(bytes);
43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address);
16 NetLogUDPDataTranferCallback(int byte_count, const char* bytes, const IPEndPoint* address, NetLog::LogLevel log_level) argument
38 CreateNetLogUDPDataTranferCallback( int byte_count, const char* bytes, const IPEndPoint* address) argument
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device.h31 int64_t bytes = (int64_t)width * height * bytesPerPixel; local
32 return bytes > SKIA_EXT_RASTER_DEVICE_ALLOCATION_MAX;
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtestutil.cpp54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { argument
57 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
58 buf.append(HEX[0x0F & bytes[i]]);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dfileutils_unittest.cc49 size_t bytes; local
53 EXPECT_EQ(SR_SUCCESS, fs->Write("test", 4, &bytes, NULL));
54 EXPECT_EQ(4U, bytes);
61 EXPECT_EQ(SR_SUCCESS, fs->Read(buf, sizeof(buf), &bytes, NULL));
62 EXPECT_EQ(4U, bytes);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A Dloader.cpp23 unsigned char * bytes; local
34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
/external/chromium_org/third_party/tlslite/tlslite/utils/
H A Dwin32prng.c11 unsigned char* bytes = NULL; local
29 /* Allocate bytes */
30 bytes = malloc(howMany);
37 bytes) == 0)
40 returnVal = Py_BuildValue("s#", bytes, howMany);
42 free(bytes);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArrayByteInput.java21 private final byte[] bytes; field in class:ByteArrayByteInput
24 public ByteArrayByteInput(byte... bytes) { argument
25 this.bytes = bytes;
29 return bytes[position++];
/external/dhcpcd/compat/
H A Dgetline.c44 size_t bytes, newlen; local
54 bytes = 0;
58 if (*buf == NULL || bytes != 0) {
66 p = *buf + bytes;
70 bytes += strlen(p);
71 } while (bytes == 0 || *(*buf + (bytes - 1)) != '\n');
72 if (bytes == 0)
74 return bytes;
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathCacheEntry.java28 public ClassPathCacheEntry (final byte [] bytes, final String srcURL) argument
32 $assert.ASSERT (bytes != null, "bytes = null");
36 m_bytes = bytes;
H A DIClassLoadHook.java26 // * returns false, the current loader will load the class bytes itself and
62 * class definition in 'bytes' ('out' could be backed by the same array as
63 * 'bytes')
68 byte [] bytes, int length,
67 processClassDef(String className, byte [] bytes, int length, ByteArrayOStream out) argument
/external/icu4c/test/intltest/
H A Dtestutil.cpp54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { argument
57 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
58 buf.append(HEX[0x0F & bytes[i]]);
/external/mesa3d/src/gallium/drivers/radeon/
H A Dloader.cpp23 unsigned char * bytes; local
34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoTypeWriterVariable.java23 public static void write(long v, ByteBuffer bb, int bytes) { argument
24 switch (bytes) {
41 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DInternalNano.java53 * To get around this, protoc instead embeds the UTF-8 bytes into the
59 * in each value. This is much less efficient than just embedding the bytes
62 * generates a string literal corresponding to the bytes. The easiest way
67 * So we have a string literal which represents a set of bytes which
72 public static final String stringDefaultValue(String bytes) { argument
74 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8");
84 * Helper called by generated code to construct default values for bytes
87 * This is a lot like {@link #stringDefaultValue}, but for bytes fields.
89 * embed raw bytes as a string literal with ISO-8859-1 encoding.
91 public static final byte[] bytesDefaultValue(String bytes) { argument
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowBase64.java12 public static String encodeToString(byte[] bytes, int flags) { argument
14 return base64.encodeBase64String(bytes);
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java39 protected void engineNextBytes(byte[] bytes) { argument
41 for (int i = 0; i < bytes.length; i++) {
42 bytes[i] = (byte)(i + 0xF1);
/external/apache-http/src/org/apache/commons/codec/net/
H A DBCodec.java76 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument
77 if (bytes == null) {
80 return Base64.encodeBase64(bytes);
83 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument
84 if (bytes == null) {
87 return Base64.decodeBase64(bytes);
H A DRFC1522Codec.java139 * Encodes an array of bytes using the defined encoding scheme
141 * @param bytes Data to be encoded
148 protected abstract byte[] doEncoding(byte[] bytes) throws EncoderException; argument
151 * Decodes an array of bytes using the defined encoding scheme
153 * @param bytes Data to be decoded
160 protected abstract byte[] doDecoding(byte[] bytes) throws DecoderException; argument
/external/bison/lib/
H A Dmbswidth.c101 size_t bytes; local
104 bytes = mbrtowc (&wc, p, plimit - p, &mbstate);
106 if (bytes == (size_t) -1)
119 if (bytes == (size_t) -2)
132 if (bytes == 0)
134 bytes = 1;
158 p += bytes;

Completed in 4133 milliseconds

1234567891011>>