HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 201 - 225 of 1206) sorted by null

1 2 3 4 5 6 7 891011>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
CharsetEncoderTest.java 155 * Test reserve bytes encode(CharBuffer,ByteBuffer,boolean)
162 ByteBuffer bytes = ByteBuffer.allocate(4); local
166 CoderResult result = encoder.encode(char1, bytes, false);
169 assertEquals(4, bytes.remaining());
171 result = encoder.encode(char2, bytes, true);
175 assertEquals(0, bytes.remaining());
178 assertEquals(4, bytes.limit());
179 assertEquals((byte) 0xf0, bytes.get(0));
180 assertEquals((byte) 0x90, bytes.get(1));
181 assertEquals((byte) 0x80, bytes.get(2))
    [all...]
  /art/runtime/native/
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc 96 * (1b) bytes per entry
115 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); local
116 JDWP::Append4BE(bytes, t->GetThinLockId());
117 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState()));
118 JDWP::Append4BE(bytes, t->GetTid());
119 JDWP::Append4BE(bytes, utime);
120 JDWP::Append4BE(bytes, stime);
121 JDWP::Append1BE(bytes, t->IsDaemon());
125 std::vector<uint8_t> bytes; local
134 JDWP::Append1BE(bytes, kThstHeaderLen)
    [all...]
  /bionic/libc/kernel/common/linux/netfilter/
xt_sctp.h 51 #define bytes(type) (sizeof(type) * 8) macro
52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /bionic/libc/kernel/common/linux/netfilter_ipv4/
ipt_sctp.h 50 #define bytes(type) (sizeof(type) * 8) macro
51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
52 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
54 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /dalvik/dexgen/src/com/android/dexgen/util/
ByteArray.java 31 private final byte[] bytes; field in class:ByteArray
36 /** {@code >= 0, <= bytes.length}; size computed as
43 * @param bytes {@code non-null;} the underlying array
45 * @param end {@code >= start, <= bytes.length;} end index of
48 public ByteArray(byte[] bytes, int start, int end) {
49 if (bytes == null) {
50 throw new NullPointerException("bytes == null");
61 if (end > bytes.length) {
62 throw new IllegalArgumentException("end > bytes.length");
65 this.bytes = bytes
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
AttributeListParser.java 57 * @param offset offset in {@code bytes} to the start of the list
126 ByteArray bytes = cf.getBytes(); local
129 observer.parsed(bytes, offset, 2,
136 observer.parsed(bytes, at, 0,
149 observer.parsed(bytes, at, 0,
CodeObserver.java 40 private final ByteArray bytes; field in class:CodeObserver
48 * @param bytes {@code non-null;} actual array of bytecode
51 public CodeObserver(ByteArray bytes, ParseObserver observer) {
52 if (bytes == null) {
53 throw new NullPointerException("bytes == null");
60 this.bytes = bytes;
66 observer.parsed(bytes, offset, length, header(offset));
71 observer.parsed(bytes, offset, length, header(offset));
91 observer.parsed(bytes, offset, length
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
DotDumper.java 44 private final byte[] bytes; field in class:DotDumper
50 static void dump(byte[] bytes, String filePath, Args args) {
51 new DotDumper(bytes, filePath, args).run();
54 DotDumper(byte[] bytes, String filePath, Args args) {
55 this.bytes = bytes;
63 ByteArray ba = new ByteArray(bytes);
93 public void parsed(ByteArray bytes, int offset, int len, String human) {
98 public void startParsingMember(ByteArray bytes, int offset, String name,
103 public void endParsingMember(ByteArray bytes, int offset, String name
    [all...]
  /dalvik/dx/src/com/android/dx/util/
ByteArray.java 31 private final byte[] bytes; field in class:ByteArray
36 /** {@code >= 0, <= bytes.length}; size computed as
43 * @param bytes {@code non-null;} the underlying array
45 * @param end {@code >= start, <= bytes.length;} end index of
48 public ByteArray(byte[] bytes, int start, int end) {
49 if (bytes == null) {
50 throw new NullPointerException("bytes == null");
61 if (end > bytes.length) {
62 throw new IllegalArgumentException("end > bytes.length");
65 this.bytes = bytes
    [all...]
  /development/ndk/platforms/android-3/include/linux/netfilter/
xt_sctp.h 49 #define bytes(type) (sizeof(type) * 8) macro
51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
ipt_sctp.h 47 #define bytes(type) (sizeof(type) * 8) macro
49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /device/asus/grouper/liblights/
lights.c 43 int bytes = sprintf(buffer, "%d\n", value); local
44 int amt = write(fd, buffer, bytes);
  /device/lge/hammerhead/liblight/
lights.c 67 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local
68 int amt = write(fd, buffer, bytes);
88 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); local
89 int amt = write(fd, buffer, bytes);
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
AttributedCharacterIteratorAttributeTest.java 75 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
76 out = new ObjectOutputStream(bytes);
93 in = new ObjectInputStream(new ByteArrayInputStream(bytes
DataFormatFieldTest.java 178 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
179 out = new ObjectOutputStream(bytes);
193 in = new ObjectInputStream(new ByteArrayInputStream(bytes
  /external/bison/lib/
mbchar.h 40 returns the number of bytes occupied by the multibyte sequence.
169 size_t bytes; /* number of bytes of current character, > 0 */ member in struct:mbchar
172 char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */
175 /* EOF (not a real character) is represented with bytes = 0 and
182 #define mb_len(mbc) ((mbc).bytes)
194 : (mbc1).bytes == (mbc2).bytes \
195 ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \
196 : (mbc1).bytes < (mbc2).bytes
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERBitString.java 69 * return the correct number of bytes for a bit string defined in
74 int bytes = 4; local
81 bytes--;
84 byte[] result = new byte[bytes];
85 for (int i = 0; i < bytes; i++)
216 byte[] bytes = new byte[getBytes().length + 1];
218 bytes[0] = (byte)getPadBits();
219 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local
221 out.writeEncoded(BERTags.BIT_STRING, bytes);
    [all...]
  /external/chromium/chrome/browser/policy/
user_policy_cache.cc 249 std::string bytes = value.bytes_value(); local
250 return BinaryValue::CreateWithCopiedBuffer(bytes.c_str(), bytes.size());
  /external/chromium/net/disk_cache/
file_posix.cc 140 int bytes = operation->result(); local
144 callback->OnFileIOComplete(bytes);
  /external/chromium/net/tools/flip_server/
flip_in_mem_edsm_server.cc 150 int bytes = static_cast<int>(strlen(pid_str)); local
151 if (write(fd, pid_str, strlen(pid_str)) != bytes) {
  /external/chromium/third_party/libevent/
event_tagging.c 124 int bytes = 0; local
135 data[bytes++] = lower;
139 evbuffer_add(evbuf, data, bytes);
141 return (bytes);
184 * tag number: one byte; length: var bytes; payload: var bytes
  /external/chromium_org/cc/resources/
prioritized_resource.h 44 size_t bytes() const { return bytes_; } function in class:cc::PrioritizedResource
96 void SetToSelfManagedMemoryPlaceholder(size_t bytes);
  /external/chromium_org/chrome/browser/chromeos/login/managed/
locally_managed_user_creation_controller.cc 41 int bytes = file_util::WriteFile(token_file, token.c_str(), token.length()); local
42 return bytes >= 0;
  /external/chromium_org/content/child/npapi/
plugin_stream.cc 73 if (headers_lc.find("accept-ranges: bytes") != std::string::npos) {
122 // bytes as returned by the WriteReady call. So, we will attempt to
123 // write that many to both streams. If we can't write that many bytes
139 size_t totalBytesWritten = 0, bytes; local
141 bytes = WriteBytes(buf, length);
142 totalBytesWritten += bytes;
143 } while (bytes > 0U && totalBytesWritten < length);
  /external/chromium_org/dbus/
message_unittest.cc 204 std::vector<uint8> bytes; local
205 bytes.push_back(1);
206 bytes.push_back(2);
207 bytes.push_back(3);
208 writer.AppendArrayOfBytes(bytes.data(), bytes.size());
224 std::vector<uint8> bytes; local
225 writer.AppendArrayOfBytes(bytes.data(), bytes.size());
628 "(1000 bytes in total)\"\n"
    [all...]

Completed in 539 milliseconds

1 2 3 4 5 6 7 891011>>