HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 276 - 300 of 1073) sorted by null

<<11121314151617181920>>

  /external/chromium/base/
scoped_bstr_win.h 39 // Allocates a new BSTR with the specified number of bytes.
41 BSTR AllocateBytes(int bytes);
44 // |bytes|. This is useful when the BSTR was preallocated with e.g.
46 // then not all the bytes are being used.
51 // NOTE: The actual allocated size of the BSTR MUST be >= bytes.
53 void SetByteLen(uint32 bytes);
67 // Returns the number of bytes allocated for the BSTR.
  /external/chromium/net/base/
listen_socket.h 64 void Send(const char* bytes, int len, bool append_linefeed = false);
85 virtual void SendInternal(const char* bytes, int len);
  /external/chromium/net/tools/flip_server/
simple_buffer.h 44 virtual int Write(const char* bytes, int size);
50 virtual int Read(char* bytes, int size);
  /external/chromium/third_party/icu/public/common/unicode/
bytestream.h 7 // Abstract interface that consumes a sequence of bytes (ByteSink).
35 * \brief C++ API: Interface for writing bytes, and implementation classes.
45 * A ByteSink can be filled with bytes.
62 * Append "bytes[0,n-1]" to this.
63 * @param bytes the pointer to the bytes
64 * @param n the number of bytes; must be non-negative
67 virtual void Append(const char* bytes, int32_t n) = 0;
77 * After writing at most *result_capacity bytes, call Append() with the
78 * pointer returned from this function and the number of bytes written
    [all...]
  /external/dbus/tools/
dbus-cleanup-sockets.c 51 xmalloc (size_t bytes)
55 if (bytes == 0)
58 mem = malloc (bytes);
62 fprintf (stderr, "Allocation of %d bytes failed\n",
63 (int) bytes);
71 xrealloc (void *old, size_t bytes)
75 if (bytes == 0)
81 mem = realloc (old, bytes);
85 fprintf (stderr, "Reallocation of %d bytes failed\n",
86 (int) bytes);
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/attribute/
ConstantValueAttribute_info.java 121 final UDataInputStream bytes)
126 m_value_index = bytes.readU2 ();
GenericAttribute_info.java 89 final UDataInputStream bytes)
95 bytes.readFully (m_info);
  /external/icu4c/common/unicode/
bytestream.h 7 // Abstract interface that consumes a sequence of bytes (ByteSink).
35 * \brief C++ API: Interface for writing bytes, and implementation classes.
45 * A ByteSink can be filled with bytes.
62 * Append "bytes[0,n-1]" to this.
63 * @param bytes the pointer to the bytes
64 * @param n the number of bytes; must be non-negative
67 virtual void Append(const char* bytes, int32_t n) = 0;
77 * After writing at most *result_capacity bytes, call Append() with the
78 * pointer returned from this function and the number of bytes written
    [all...]
  /frameworks/base/libs/rs/
rsHandcode.h 13 cmd->bytes = sizeBytes;
37 cmd->bytes = sizeBytes;
rsLocklessFifo.cpp 160 uint32_t bytes = reinterpret_cast<const uint16_t *>(mGet)[1]; local
161 mGet += ((bytes + 3) & ~3) + 4;
168 void LocklessCommandFifo::makeSpace(uint32_t bytes)
171 if ((mPut+bytes) > mEnd) {
184 while(getFreeSpace() < bytes) {
  /libcore/luni/src/main/java/org/apache/harmony/luni/platform/
IFileSystem.java 64 public long read(int fileDescriptor, byte[] bytes, int offset, int length)
67 public long write(int fileDescriptor, byte[] bytes, int offset, int length)
110 // public long ttyRead(byte[] bytes, int offset, int length) throws IOException;
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetEncoderTest.java 38 private void assertReplacementBytesForEncoder(String charset, byte[] bytes) {
40 assertEquals(Arrays.toString(bytes), Arrays.toString(result));
  /libcore/luni/src/test/java/libcore/java/text/
OldCollationKeyTest.java 32 byte[] bytes = key1.toByteArray();
33 assertTrue("Not enough bytes", bytes.length >= 3);
46 * System.out.println(Integer.toHexString(order)); } for (int i=0; i<bytes.length;
47 * i+=2) { System.out.print(Integer.toHexString(bytes[i]) +
48 * Integer.toHexString(bytes[i+1]) + " "); } System.out.println();
52 // bytes = collator.getCollationKey("1234567").toByteArray();
  /packages/apps/Mms/src/com/android/mms/util/
AddressUtils.java 56 byte[] bytes = PduPersister.getBytes(from);
58 return new EncodedStringValue(charset, bytes)
  /dalvik/dx/src/com/android/dx/cf/direct/
ClassPathOpener.java 61 * @param bytes {@code non-null;} file data
66 boolean processFileBytes(String name, byte[] bytes);
133 byte[] bytes = FileUtils.readFile(file);
134 return consumer.processFileBytes(path, bytes);
243 byte[] bytes = baos.toByteArray();
244 any |= consumer.processFileBytes(path, bytes);
  /external/protobuf/src/google/protobuf/io/
coded_stream.cc 149 << " bytes). To increase the limit (or to disable these "
248 uint8 bytes[sizeof(*value)]; local
252 // Fast path: Enough bytes in the buffer to read directly.
257 if (!ReadRaw(bytes, sizeof(*value))) return false;
258 ptr = bytes;
265 uint8 bytes[sizeof(*value)]; local
269 // Fast path: Enough bytes in the buffer to read directly.
274 if (!ReadRaw(bytes, sizeof(*value))) return false;
275 ptr = bytes;
286 // Fast path: We have enough bytes left in the buffer to guarantee tha
586 uint8 bytes[sizeof(value)]; local
601 uint8 bytes[sizeof(value)]; local
656 uint8 bytes[kMaxVarint32Bytes]; local
756 uint8 bytes[kMaxVarintBytes]; local
    [all...]
  /libcore/luni/src/main/java/java/io/
PipedInputStream.java 66 * The size of the default pipe in bytes.
101 * @param pipeSize the size of the buffer in bytes.
118 * @param pipeSize the size of the buffer in bytes.
256 * Reads at most {@code count} bytes from this stream and stores them in the
257 * byte array {@code bytes} starting at {@code offset}. Blocks until at
265 * @param bytes
266 * the array in which to store the bytes read.
268 * the initial position in {@code bytes} to store the bytes
271 * the maximum number of bytes to store in {@code bytes}
    [all...]
  /external/chromium/third_party/icu/source/tools/toolutil/
ucm.c 21 * as well as byte sequences with more than 4 bytes or more than one complete
43 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) {
53 fprintf(f, "\\x%02X", bytes[j]);
159 /* compare the bytes */
180 /* Unicode then bytes */
186 /* bytes then Unicode */
209 /* sorting by bytes first sorts the reverseMap; use indirection to mappings */
253 /* 2. sort reverseMap by mappings bytes first */
629 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1)
663 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1
1128 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local
    [all...]
  /external/icu4c/tools/toolutil/
ucm.c 21 * as well as byte sequences with more than 4 bytes or more than one complete
43 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) {
53 fprintf(f, "\\x%02X", bytes[j]);
159 /* compare the bytes */
180 /* Unicode then bytes */
186 /* bytes then Unicode */
209 /* sorting by bytes first sorts the reverseMap; use indirection to mappings */
253 /* 2. sort reverseMap by mappings bytes first */
629 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1)
663 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1
1128 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local
    [all...]
  /dalvik/dx/src/com/android/dx/util/
ByteArrayAnnotatedOutput.java 60 * {@code >= 8 (if used);} the number of bytes of hex output to use
109 * may be larger than the number of bytes written
122 * bytes at the end).
263 public void write(ByteArray bytes) {
264 int blen = bytes.size();
275 bytes.getBytes(data, writeAt);
280 public void write(byte[] bytes, int offset, int length) {
286 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) {
287 throw new IndexOutOfBoundsException("bytes.length " +
288 bytes.length + "; "
    [all...]
  /external/chromium/net/proxy/
init_proxy_resolver_unittest.cc 37 std::string bytes() const { function in struct:net::__anon2680::Rules::Rule
76 const Rule& GetRuleByBytes(const std::string& bytes) const {
79 if (it->bytes() == bytes)
82 CHECK(false) << "Rule not found for " << bytes;
97 std::string* bytes,
103 *bytes = rule.bytes();
143 EXPECT_EQ(rule.bytes(), pac_bytes);
178 EXPECT_EQ(rule.bytes(), resolver.pac_bytes())
    [all...]
  /external/yaffs2/yaffs2/utils/
mkyaffs2image.c 252 __u8 bytes[chunkSize]; local
255 yaffs_ObjectHeader *oh = (yaffs_ObjectHeader *)bytes;
257 memset(bytes,0xff,sizeof(bytes));
298 return write_chunk(bytes,objId,0,0xffff);
387 __u8 bytes[chunkSize]; local
394 memset(bytes,0xff,sizeof(bytes));
395 while((nBytes = read(h,bytes,sizeof(bytes))) > 0
    [all...]
  /frameworks/base/services/audioflinger/
AudioDumpInterface.cpp 279 ssize_t AudioStreamOutDump::write(const void* buffer, size_t bytes)
284 ret = mFinalStream->write(buffer, bytes);
286 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000);
287 ret = bytes;
298 fwrite(buffer, bytes, 1, mFile);
439 ssize_t AudioStreamInDump::read(void* buffer, ssize_t bytes)
444 ret = mFinalStream->read(buffer, bytes);
454 fwrite(buffer, bytes, 1, mFile);
457 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000);
458 ret = bytes;
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
X509CertificateObject.java 76 byte[] bytes = this.getExtensionBytes("2.5.29.19");
78 if (bytes != null)
80 basicConstraints = BasicConstraints.getInstance(ASN1Object.fromByteArray(bytes));
90 byte[] bytes = this.getExtensionBytes("2.5.29.15");
91 if (bytes != null)
93 DERBitString bits = DERBitString.getInstance(ASN1Object.fromByteArray(bytes));
95 bytes = bits.getBytes();
96 int length = (bytes.length * 8) - bits.getPadBits();
102 keyUsage[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0;
283 byte[] bytes = id.getBytes()
    [all...]
  /external/wpa_supplicant/
ctrl_iface_named_pipe.c 95 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes,
102 static VOID WINAPI global_iface_read_completed(DWORD err, DWORD bytes,
260 static VOID WINAPI ctrl_iface_write_completed(DWORD err, DWORD bytes,
265 "err=%d bytes=%d", dst, (int) err, (int) bytes);
352 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes,
357 "bytes=%d", dst, (int) err, (int) bytes);
358 if (err == 0 && bytes > 0)
359 wpa_supplicant_ctrl_iface_rx(dst, bytes);
367 DWORD bytes; local
783 DWORD bytes; local
    [all...]

Completed in 427 milliseconds

<<11121314151617181920>>