Searched refs:bytes (Results 101 - 125 of 2342) sorted by relevance

1234567891011>>

/external/chromium_org/components/rappor/
H A Drappor_metric.cc43 std::string(bytes().begin(), bytes().end());
44 HmacByteVectorGenerator hmac_generator(bytes().size(), secret,
54 ByteVectorMerge(fake_mask, bytes(), &fake_bits);
57 ByteVectorGenerator coin_generator(bytes().size());
69 void RapporMetric::SetBytesForTesting(const ByteVector& bytes) { argument
70 bloom_filter_.SetBytesForTesting(bytes);
H A Drappor_metric.h43 const ByteVector& bytes() const { return bloom_filter_.bytes(); } function in class:rappor::RapporMetric
53 // Specify the bytes to generate a report from, for testing purposes.
54 void SetBytesForTesting(const ByteVector& bytes);
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dringbuffer.h20 // A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of
23 // contains another copy of the first `1 << tail_bits' bytes:
40 // Push bytes into the ring buffer.
41 void Write(const uint8_t *bytes, size_t n) { argument
45 WriteTail(bytes, n);
48 memcpy(&buffer_[masked_pos], bytes, n);
52 memcpy(&buffer_[masked_pos], bytes,
56 memcpy(&buffer_[0], bytes + ((1 << window_bits_) - masked_pos),
69 void WriteTail(const uint8_t *bytes, size_t n) { argument
74 memcpy(&buffer_[p], bytes, st
[all...]
/external/chromium_org/third_party/libwebp/webp/
H A Dmux_types.h59 const uint8_t* bytes; member in struct:WebPData
74 free((void*)webp_data->bytes);
84 if (src->bytes != NULL && src->size != 0) {
85 dst->bytes = (uint8_t*)malloc(src->size);
86 if (dst->bytes == NULL) return 0;
87 memcpy((void*)dst->bytes, src->bytes, src->size);
/external/webp/include/webp/
H A Dmux_types.h59 const uint8_t* bytes; member in struct:WebPData
74 free((void*)webp_data->bytes);
84 if (src->bytes != NULL && src->size != 0) {
85 dst->bytes = (uint8_t*)malloc(src->size);
86 if (dst->bytes == NULL) return 0;
87 memcpy((void*)dst->bytes, src->bytes, src->size);
/external/valgrind/main/gdbserver_tests/
H A Dmcvabits.stderrB.exp4 Address 0x........ is 0 bytes inside data symbol "undefined"
6 Address 0x........ is 0 bytes inside data symbol "undefined"
9 Address 0x........ is 0 bytes inside data symbol "undefined"
12 Address 0x........ is 0 bytes inside data symbol "undefined"
15 Address 0x........ is 0 bytes inside data symbol "undefined"
18 Address 0x........ is 0 bytes inside data symbol "undefined"
21 Address 0x........ is 0 bytes inside data symbol "undefined"
24 Address 0x........ is 0 bytes inside data symbol "undefined"
27 Address 0x........ is 0 bytes inside data symbol "undefined"
30 Address 0x........ is 0 bytes insid
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java38 protected void engineNextBytes(byte[] bytes) { argument
40 for (int i = 0; i < bytes.length; i++) {
41 bytes[i] = (byte) (i + 0xF1);
/external/bison/lib/
H A Dmbchar.h40 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 < (mbc
[all...]
/external/chromium_org/components/enhanced_bookmarks/
H A Dimage_store_util.cc30 gfx::Image ImageForBytes(const scoped_refptr<base::RefCountedMemory>& bytes) { argument
31 return gfx::ImageFrom1xJPEGEncodedData(bytes->front(), bytes->size());
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/
H A DTestUtils.java22 byte bytes[] = new byte[size];
24 RANDOM.nextBytes(bytes);
27 data.put(bytes);
/external/chromium_org/third_party/tlslite/tlslite/utils/
H A Dcodec.py10 self.bytes = bytearray(0)
13 self.bytes += bytearray(length)
14 newIndex = len(self.bytes) - 1
16 self.bytes[newIndex] = x & 0xFF
30 def __init__(self, bytes):
31 self.bytes = bytes
35 if self.index + length > len(self.bytes):
40 x |= self.bytes[self.index]
45 bytes
[all...]
H A Dpycrypto_rc4.py19 key = bytes(key)
23 plaintext = bytes(plaintext)
27 ciphertext = bytes(ciphertext)
/external/emma/core/java12/com/vladium/jcd/cls/constant/
H A DCONSTANT_ref_info.java62 protected CONSTANT_ref_info (final UDataInputStream bytes) argument
65 m_class_index = bytes.readU2 ();
66 m_name_and_type_index = bytes.readU2 ();
/external/valgrind/main/memcheck/tests/
H A Dleak-tree.stderr.exp1 leaked: 64 bytes in 4 blocks
2 dubious: 0 bytes in 0 blocks
3 reachable: 48 bytes in 3 blocks
4 suppressed: 0 bytes in 0 blocks
5 16 bytes in 1 blocks are definitely lost in loss record ... of ...
11 48 (16 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record ... of ...
H A Dleak-segv-jmp.stderr.exp6 definitely lost: 0 bytes in 0 blocks
7 indirectly lost: 0 bytes in 0 blocks
8 possibly lost: 0 bytes in 0 blocks
9 still reachable: 41,000 bytes in 2 blocks
10 suppressed: 0 bytes in 0 blocks
15 1,000 bytes in 1 blocks are definitely lost in loss record ... of ...
21 definitely lost: 1,000 bytes in 1 blocks
22 indirectly lost: 0 bytes in 0 blocks
23 possibly lost: 0 bytes in 0 blocks
24 still reachable: 40,000 bytes i
[all...]
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArray.java31 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) { argument
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
75 ByteArray(byte[] bytes) argument
111 underlyingOffset(int offset, byte[] bytes) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/power/
H A Dfreezer_cgroup_process_manager.cc60 int bytes = base::WriteFile(state_path_, command.c_str(), command.size()); local
61 if (bytes == -1) {
65 } else if (bytes != static_cast<int>(command.size())) {
66 LOG(ERROR) << "Only wrote " << bytes << " byte(s) when writing "
/external/chromium_org/components/proximity_auth/
H A Dwire_message_unittest.cc71 std::string bytes = local
74 WireMessage::Deserialize(bytes, &is_incomplete);
83 std::string bytes = header + "{\"payload\": \"YQ==\"}"; local
85 WireMessage::Deserialize(bytes, &is_incomplete);
95 std::string bytes = header + "{\"permit_id\": \"Hi!\"}"; local
97 WireMessage::Deserialize(bytes, &is_incomplete);
106 std::string bytes = header + "{\"permit_id\": \"\", \"payload\": \"YQ==\"}"; local
108 WireMessage::Deserialize(bytes, &is_incomplete);
118 std::string bytes = header + "{\"permit_id\": \"Hi!\", \"payload\": \"\"}"; local
120 WireMessage::Deserialize(bytes,
128 std::string bytes = local
139 std::string bytes = local
152 std::string bytes = header + local
[all...]
/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/mojo/android/system/src/org/chromium/mojo/system/impl/
H A DMessagePipeHandleImpl.java44 public void writeMessage(ByteBuffer bytes, List<? extends Handle> handles, WriteFlags flags) { argument
45 mCore.writeMessage(this, bytes, handles, flags);
52 public ReadMessageResult readMessage(ByteBuffer bytes, argument
55 return mCore.readMessage(this, bytes, maxNumberOfHandles, flags);
/external/chromium_org/net/udp/
H A Dudp_net_log_parameters.h15 // receive/send event. |bytes| are only logged when byte logging is
16 // enabled. |address| may be NULL. |address| (if given) and |bytes|
20 const char* bytes,
/external/chromium_org/sync/internal_api/public/base/
H A Dnode_ordinal.cc14 std::string bytes(NodeOrdinal::kMinLength, '\x00');
16 // 0 is a special case since |bytes| must not be all zeros.
17 bytes.push_back('\x80');
20 bytes[i] = static_cast<uint8>(y);
24 NodeOrdinal ordinal(bytes);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebFileWriterClient.h43 virtual void didWrite(long long bytes, bool complete) = 0;
/external/chromium_org/third_party/libevent/test/
H A Dregress.rpc18 optional bytes some_bytes = 2;
19 bytes fixed_bytes[24] = 3;
/external/chromium_org/third_party/skia/include/core/
H A DSkChunkAlloc.h31 void* alloc(size_t bytes, AllocFailType);
32 void* allocThrow(size_t bytes) { argument
33 return this->alloc(bytes, kThrow_AllocFailType);
37 success, the number of bytes freed is returned, or 0 if the block could
65 Block* newBlock(size_t bytes, AllocFailType ftype);

Completed in 639 milliseconds

1234567891011>>