/external/chromium_org/components/rappor/ |
D | byte_vector_utils.h | 18 typedef std::vector<uint8_t> ByteVector; typedef 22 ByteVector* ByteVectorAnd(const ByteVector& lhs, ByteVector* rhs); 26 ByteVector* ByteVectorOr(const ByteVector& lhs, ByteVector* rhs); 33 ByteVector* ByteVectorMerge(const ByteVector& mask, 34 const ByteVector& lhs, 35 ByteVector* rhs); 38 int CountBits(const ByteVector& vector); 50 ByteVector GetWeightedRandomByteVector(Probability probability); 57 virtual ByteVector GetRandomByteVector(); 98 virtual ByteVector GetRandomByteVector() OVERRIDE; [all …]
|
D | byte_vector_utils_unittest.cc | 22 ByteVector bv; in HexToString() 30 ByteVector lhs(2); in TEST() 32 ByteVector rhs(2); in TEST() 39 ByteVector lhs(2); in TEST() 41 ByteVector rhs(2); in TEST() 48 ByteVector lhs(2); in TEST() 50 ByteVector rhs(2); in TEST() 52 ByteVector mask(2); in TEST() 60 ByteVector random_50 = generator.GetWeightedRandomByteVector(PROBABILITY_50); in TEST() 62 ByteVector random_75 = generator.GetWeightedRandomByteVector(PROBABILITY_75); in TEST() [all …]
|
D | byte_vector_utils.cc | 19 base::StringPiece ByteVectorAsStringPiece(const ByteVector& lhs) { in ByteVectorAsStringPiece() 24 std::string Concat(const ByteVector& value, char c, const std::string& data) { in Concat() 35 ByteVector key(hmac.DigestLength()); in HMAC_Rotate() 45 bool HMAC_Rehash(const crypto::HMAC& hmac, ByteVector* value) { in HMAC_Rehash() 58 ByteVector* value, in HMAC_DRBG_Update() 81 ByteVector* ByteVectorAnd(const ByteVector& lhs, ByteVector* rhs) { in ByteVectorAnd() 89 ByteVector* ByteVectorOr(const ByteVector& lhs, ByteVector* rhs) { in ByteVectorOr() 97 ByteVector* ByteVectorMerge(const ByteVector& mask, in ByteVectorMerge() 98 const ByteVector& lhs, in ByteVectorMerge() 99 ByteVector* rhs) { in ByteVectorMerge() [all …]
|
D | rappor_metric.cc | 30 ByteVector RapporMetric::GetReport(const std::string& secret) const { in GetReport() 39 const ByteVector fake_mask = in GetReport() 41 ByteVector fake_bits = in GetReport() 46 const ByteVector* fake_and_redacted_bits = in GetReport() 51 const ByteVector zero_coins = in GetReport() 53 ByteVector one_coins = in GetReport()
|
D | rappor_metric_unittest.cc | 44 const ByteVector report = metric.GetReport( in TEST() 55 const ByteVector real_bits = metric.bytes(); in TEST() 60 const ByteVector report = metric.GetReport(secret); in TEST() 64 ByteVector from_true_reports = report; in TEST() 71 ByteVector from_false_reports = report; in TEST()
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
D | ByteVector.java | 38 public class ByteVector { class 54 public ByteVector() { in ByteVector() method in ByteVector 64 public ByteVector(final int initialSize) { in ByteVector() method in ByteVector 75 public ByteVector putByte(final int b) { in putByte() 93 ByteVector put11(final int b1, final int b2) { in put11() 112 public ByteVector putShort(final int s) { in putShort() 132 ByteVector put12(final int b, final int s) { in put12() 152 public ByteVector putInt(final int i) { in putInt() 173 public ByteVector putLong(final long l) { in putLong() 200 public ByteVector putUTF8(final String s) { in putUTF8() [all …]
|
D | Attribute.java | 153 protected ByteVector write( in write() 160 ByteVector v = new ByteVector(); in write() 244 final ByteVector out) in put() 248 ByteVector b = attr.write(cw, code, len, maxStack, maxLocals); in put()
|
/external/sfntly/cpp/src/sfntly/port/ |
D | input_stream.h | 35 virtual int32_t Read(ByteVector* b) = 0; 36 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length) = 0; 43 virtual void Unread(ByteVector* b) = 0; 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length) = 0;
|
D | file_input_stream.h | 37 virtual int32_t Read(ByteVector* b); 38 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length); 43 virtual void Unread(ByteVector* b); 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length);
|
D | memory_input_stream.h | 37 virtual int32_t Read(ByteVector* b); 38 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length); 43 virtual void Unread(ByteVector* b); 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length);
|
D | memory_input_stream.cc | 71 int32_t MemoryInputStream::Read(ByteVector* b) { in Read() 75 int32_t MemoryInputStream::Read(ByteVector* b, int32_t offset, int32_t length) { in Read() 120 void MemoryInputStream::Unread(ByteVector* b) { in Unread() 124 void MemoryInputStream::Unread(ByteVector* b, int32_t offset, int32_t length) { in Unread()
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/ |
D | input_stream.h | 35 virtual int32_t Read(ByteVector* b) = 0; 36 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length) = 0; 43 virtual void Unread(ByteVector* b) = 0; 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length) = 0;
|
D | file_input_stream.h | 37 virtual int32_t Read(ByteVector* b); 38 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length); 43 virtual void Unread(ByteVector* b); 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length);
|
D | memory_input_stream.h | 37 virtual int32_t Read(ByteVector* b); 38 virtual int32_t Read(ByteVector* b, int32_t offset, int32_t length); 43 virtual void Unread(ByteVector* b); 44 virtual void Unread(ByteVector* b, int32_t offset, int32_t length);
|
D | memory_input_stream.cc | 73 int32_t MemoryInputStream::Read(ByteVector* b) { in Read() 77 int32_t MemoryInputStream::Read(ByteVector* b, int32_t offset, int32_t length) { in Read() 122 void MemoryInputStream::Unread(ByteVector* b) { in Unread() 126 void MemoryInputStream::Unread(ByteVector* b, int32_t offset, int32_t length) { in Unread()
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
D | file_io_test.cc | 39 ByteVector b1; in TestFileInputStream() 49 ByteVector b2; in TestFileInputStream() 79 ByteVector b3; in TestFileInputStream() 100 ByteVector b1; in TestFontInputStreamBasic() 111 ByteVector b2; in TestFontInputStreamBasic() 139 ByteVector feat_data; in TestFontInputStreamTableLoading()
|
D | byte_array_test.cc | 35 void ReadByteArrayWithBuffer(ByteArray* ba, ByteVector* buffer, ByteVector* b) { in ReadByteArrayWithBuffer() 47 ByteVector* b) { in ReadByteArrayWithSlidingWindow() 65 ByteVector b1, b2; in ReadComparison() 70 ByteVector buffer(buffer_size); in ReadComparison()
|
/external/sfntly/cpp/src/test/ |
D | file_io_test.cc | 39 ByteVector b1; in TestFileInputStream() 49 ByteVector b2; in TestFileInputStream() 79 ByteVector b3; in TestFileInputStream() 100 ByteVector b1; in TestFontInputStreamBasic() 111 ByteVector b2; in TestFontInputStreamBasic() 139 ByteVector feat_data; in TestFontInputStreamTableLoading()
|
D | byte_array_test.cc | 35 void ReadByteArrayWithBuffer(ByteArray* ba, ByteVector* buffer, ByteVector* b) { in ReadByteArrayWithBuffer() 47 ByteVector* b) { in ReadByteArrayWithSlidingWindow() 65 ByteVector b1, b2; in ReadComparison() 70 ByteVector buffer(buffer_size); in ReadComparison()
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/ |
D | name_table.h | 449 NameEntry(const NameEntryId& name_entry_id, const ByteVector& name_bytes); 454 const ByteVector& name_bytes); 465 ByteVector* NameAsBytes(); 480 int32_t name_id, const ByteVector* name_bytes); 483 ByteVector name_bytes_; 495 const ByteVector& name_bytes); 501 virtual void SetName(const ByteVector& name_bytes); 502 virtual void SetName(const ByteVector& name_bytes, 513 int32_t name_id, const ByteVector* name_bytes); 650 virtual void NameAsBytes(int32_t index, ByteVector* b); [all …]
|
D | name_table.cc | 83 const ByteVector& name_bytes) { in NameEntry() 95 const ByteVector& name_bytes) { in NameEntry() 101 ByteVector* NameTable::NameEntry::NameAsBytes() { in NameAsBytes() 124 const ByteVector* name_bytes) { in Init() 141 const ByteVector& name_bytes) { in NameEntryBuilder() 179 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes) { in SetName() 186 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes, in SetName() 199 const ByteVector* name_bytes) { in Init() 470 void NameTable::NameAsBytes(int32_t index, ByteVector* b) { in NameAsBytes() 484 ByteVector* b) { in NameAsBytes() [all …]
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | name_table.h | 449 NameEntry(const NameEntryId& name_entry_id, const ByteVector& name_bytes); 454 const ByteVector& name_bytes); 465 ByteVector* NameAsBytes(); 480 int32_t name_id, const ByteVector* name_bytes); 483 ByteVector name_bytes_; 495 const ByteVector& name_bytes); 501 virtual void SetName(const ByteVector& name_bytes); 502 virtual void SetName(const ByteVector& name_bytes, 513 int32_t name_id, const ByteVector* name_bytes); 650 virtual void NameAsBytes(int32_t index, ByteVector* b); [all …]
|
D | name_table.cc | 83 const ByteVector& name_bytes) { in NameEntry() 95 const ByteVector& name_bytes) { in NameEntry() 101 ByteVector* NameTable::NameEntry::NameAsBytes() { in NameAsBytes() 124 const ByteVector* name_bytes) { in Init() 141 const ByteVector& name_bytes) { in NameEntryBuilder() 179 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes) { in SetName() 186 void NameTable::NameEntryBuilder::SetName(const ByteVector& name_bytes, in SetName() 199 const ByteVector* name_bytes) { in Init() 470 void NameTable::NameAsBytes(int32_t index, ByteVector* b) { in NameAsBytes() 484 ByteVector* b) { in NameAsBytes() [all …]
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
D | byte_array.cc | 41 int32_t ByteArray::Get(int32_t index, ByteVector* b) { in Get() 71 int32_t ByteArray::Put(int index, ByteVector* b) { in Put() 110 ByteVector b(COPY_BUFFER_SIZE); in CopyTo() 131 ByteVector b(COPY_BUFFER_SIZE); in CopyTo() 144 ByteVector b(COPY_BUFFER_SIZE); in CopyFrom() 164 ByteVector b(COPY_BUFFER_SIZE); in CopyFrom()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | byte_array.cc | 41 int32_t ByteArray::Get(int32_t index, ByteVector* b) { in Get() 71 int32_t ByteArray::Put(int index, ByteVector* b) { in Put() 110 ByteVector b(COPY_BUFFER_SIZE); in CopyTo() 131 ByteVector b(COPY_BUFFER_SIZE); in CopyTo() 144 ByteVector b(COPY_BUFFER_SIZE); in CopyFrom() 164 ByteVector b(COPY_BUFFER_SIZE); in CopyFrom()
|