Searched refs:ByteArray (Results 1 - 25 of 129) sorted by relevance

123456

/external/conscrypt/common/src/main/java/org/conscrypt/
H A DByteArray.java24 final class ByteArray { class
28 ByteArray(byte[] bytes) { method in class:ByteArray
40 if (!(o instanceof ByteArray)) {
43 ByteArray lhs = (ByteArray) o;
H A DAbstractSessionContext.java45 private final Map<ByteArray, NativeSslSession> sessions =
46 new LinkedHashMap<ByteArray, NativeSslSession>() {
49 Map.Entry<ByteArray, NativeSslSession> eldest) {
122 ByteArray key = new ByteArray(sessionId);
211 ByteArray key = new ByteArray(id);
229 session = sessions.get(new ByteArray(sessionId));
/external/javassist/src/main/javassist/bytecode/
H A DInnerClassesAttribute.java48 ByteArray.write16bit(0, get(), 0);
54 public int tableLength() { return ByteArray.readU16bit(get(), 0); }
60 return ByteArray.readU16bit(get(), nth * 8 + 2);
82 ByteArray.write16bit(index, get(), nth * 8 + 2);
89 return ByteArray.readU16bit(get(), nth * 8 + 4);
111 ByteArray.write16bit(index, get(), nth * 8 + 4);
118 return ByteArray.readU16bit(get(), nth * 8 + 6);
140 ByteArray.write16bit(index, get(), nth * 8 + 6);
147 return ByteArray.readU16bit(get(), nth * 8 + 8);
155 ByteArray
[all...]
H A DLocalVariableAttribute.java41 ByteArray.write16bit(0, info, 0);
57 ByteArray.write16bit(0, info, 0);
83 ByteArray.write16bit(tableLength() + 1, newInfo, 0);
87 ByteArray.write16bit(startPc, newInfo, size);
88 ByteArray.write16bit(length, newInfo, size + 2);
89 ByteArray.write16bit(nameIndex, newInfo, size + 4);
90 ByteArray.write16bit(descriptorIndex, newInfo, size + 6);
91 ByteArray.write16bit(index, newInfo, size + 8);
100 int index = ByteArray.readU16bit(info, pos + 6);
104 ByteArray
[all...]
H A DStackMap.java67 return ByteArray.readU16bit(info, 0);
141 int num = ByteArray.readU16bit(info, 0);
144 int offset = ByteArray.readU16bit(info, pos);
145 int numLoc = ByteArray.readU16bit(info, pos + 2);
147 int numStack = ByteArray.readU16bit(info, pos);
186 int clazz = ByteArray.readU16bit(info, pos + 1);
191 int offsetOfNew = ByteArray.readU16bit(info, pos + 1);
237 int num = ByteArray.readU16bit(info, 0);
238 ByteArray.write16bit(num, dest, 0);
243 ByteArray
[all...]
H A DExceptionsAttribute.java90 int index = ByteArray.readU16bit(src, i);
91 ByteArray.write16bit(srcCp.copy(index, destCp, classnames),
140 ByteArray.write16bit(n, blist, 0);
142 ByteArray.write16bit(elist[i], blist, i * 2 + 2);
153 ByteArray.write16bit(n, blist, 0);
155 ByteArray.write16bit(constPool.addClassInfo(elist[i]),
H A DCodeIterator.java125 return ByteArray.readU16bit(bytecode, index);
132 return ByteArray.readS16bit(bytecode, index);
139 ByteArray.write16bit(value, bytecode, index);
146 return ByteArray.read32bit(bytecode, index);
153 ByteArray.write32bit(value, bytecode, index);
279 int mref = ByteArray.readU16bit(bytecode, index + 1);
758 int npairs = ByteArray.read32bit(code, index2);
762 int low = ByteArray.read32bit(code, index2);
763 int high = ByteArray.read32bit(code, index2 + 4);
876 ByteArray
[all...]
H A DLineNumberAttribute.java46 return ByteArray.readU16bit(info, 0);
57 return ByteArray.readU16bit(info, i * 4 + 2);
68 return ByteArray.readU16bit(info, i * 4 + 4);
176 int pc = ByteArray.readU16bit(info, pos);
178 ByteArray.write16bit(pc + gapLength, info, pos);
H A DByteArray.java21 public class ByteArray { class
/external/sfntly/cpp/src/sfntly/data/
H A Dgrowable_memory_byte_array.h26 class GrowableMemoryByteArray : public ByteArray,
34 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); }
35 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) {
36 return ByteArray::CopyTo(array, offset, length);
39 ByteArray* array,
42 return ByteArray::CopyTo(dst_offset, array, src_offset, length);
44 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); }
H A Dmemory_byte_array.h24 class MemoryByteArray : public ByteArray, public RefCounted<MemoryByteArray> {
46 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); }
47 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) {
48 return ByteArray::CopyTo(array, offset, length);
51 ByteArray* array,
54 return ByteArray::CopyTo(dst_offset, array, src_offset, length);
56 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); }
H A Dbyte_array.cc25 const int32_t ByteArray::COPY_BUFFER_SIZE = 8192;
27 ByteArray::~ByteArray() {}
29 int32_t ByteArray::Length() { return filled_length_; }
30 int32_t ByteArray::Size() { return storage_length_; }
32 int32_t ByteArray::SetFilledLength(int32_t filled_length) {
37 int32_t ByteArray::Get(int32_t index) {
43 int32_t ByteArray::Get(int32_t index, ByteVector* b) {
48 int32_t ByteArray::Get(int32_t index,
60 void ByteArray
183 ByteArray::ByteArray(int32_t filled_length, function in class:sfntly::ByteArray
189 ByteArray::ByteArray(int32_t filled_length, int32_t storage_length) { function in class:sfntly::ByteArray
[all...]
H A Dbyte_array.h30 class ByteArray : virtual public RefCount { class in namespace:sfntly
32 virtual ~ByteArray();
86 // @param index the index into the ByteArray
96 // Fully copies this ByteArray to another ByteArray to the extent that the
98 virtual int32_t CopyTo(ByteArray* array);
100 // Copies a segment of this ByteArray to another ByteArray.
102 // @param offset the offset in this ByteArray to start copying from
105 virtual int32_t CopyTo(ByteArray* arra
[all...]
H A Dfont_data.h82 explicit FontData(ByteArray* ba);
96 void Init(ByteArray* ba);
/external/sfntly/cpp/src/test/
H A Dtest_utils.h43 static bool Equals(ByteArray* b1,
45 ByteArray* b2,
48 // @param offset1 offset to start comparing the first ByteArray from
49 // @param ba1 the first ByteArray
50 // @param offset2 offset to start comparing the second ByteArray from
51 // @param ba2 the second ByteArray
55 static bool Equals(ByteArray* b1,
57 ByteArray* b2,
84 static int64_t CheckSum(ByteArray* b, int32_t offset, int32_t length);
H A Dbyte_array_test.cc29 void FillTestByteArray(ByteArray* ba, int32_t size) {
35 void ReadByteArrayWithBuffer(ByteArray* ba, ByteVector* buffer, ByteVector* b) {
46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size,
59 bool ReadComparison(ByteArray* ba1, ByteArray* ba2) {
93 bool CopyTest(ByteArray* ba) {
107 bool ByteArrayTester(ByteArray* ba) {
143 TEST(ByteArray, All) {
/external/llvm/tools/llvm-mc/
H A DDisassembler.cpp101 static bool ByteArrayFromString(ByteArrayTy &ByteArray, argument
120 ByteArray.first.clear();
121 ByteArray.second.clear();
125 ByteArray.first.push_back(ByteVal);
126 ByteArray.second.push_back(Value.data());
169 ByteArrayTy ByteArray; local
174 ByteArray.first.clear();
175 ByteArray.second.clear();
198 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM);
200 if (!ByteArray
[all...]
/external/swiftshader/third_party/LLVM/tools/llvm-mc/
H A DDisassembler.cpp95 static bool ByteArrayFromString(ByteArrayTy &ByteArray, argument
131 ByteArray.clear();
135 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data()));
182 ByteArrayTy ByteArray; local
185 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM);
187 if (!ByteArray.empty())
188 ErrorOccurred |= PrintInsts(*DisAsm, *IP, ByteArray, SM, Out);
194 ByteArrayTy &ByteArray = *((ByteArrayTy*)Arg); local
196 if (A >= ByteArray.size())
199 *B = ByteArray[
223 ByteArrayTy ByteArray; local
[all...]
/external/v8/src/regexp/
H A Dinterpreter-irregexp.h20 Handle<ByteArray> code,
/external/v8/src/
H A Dsource-position-table.h19 class ByteArray;
46 Handle<ByteArray> ToSourcePositionTable(Isolate* isolate,
64 explicit SourcePositionTableIterator(ByteArray* byte_array);
85 ByteArray* table_;
H A Dsource-position-table.cc79 T DecodeInt(ByteArray* bytes, int* index) {
97 void DecodeEntry(ByteArray* bytes, int* index, PositionTableEntry* entry) {
140 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable(
145 Handle<ByteArray> table = isolate->factory()->NewByteArray(
170 SourcePositionTableIterator::SourcePositionTableIterator(ByteArray* byte_array)
/external/autotest/client/site_tests/platform_DebugDaemonCupsAddPrinters/
H A Dplatform_DebugDaemonCupsAddPrinters.py33 Returns the contents of a file as a dbus.ByteArray.
40 content = dbus.ByteArray(f.read())
70 ppd_contents = dbus.ByteArray('This is not a valid ppd')
/external/mdnsresponder/mDNSWindows/DLLX/
H A DTXTRecord.h148 typedef std::vector< BYTE > ByteArray; typedef in class:CTXTRecord
150 ByteArray m_byteArray;
/external/tensorflow/tensorflow/core/kernels/hexagon/
H A Dhexagon_control_wrapper.h36 using ByteArray =
56 bool ReadOutputNode(const string& node_name, std::vector<ByteArray>* outputs);
/external/autotest/client/site_tests/login_MultiUserPolicy/
H A Dlogin_MultiUserPolicy.py63 sm.StorePolicyForUser(self._user1, dbus.ByteArray(policy_response))
69 sm.StorePolicyForUser(self._user2, dbus.ByteArray(policy_response))
86 sm.StorePolicyForUser(self._user2, dbus.ByteArray(policy_response))

Completed in 2386 milliseconds

123456