/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
D | ConvertUtils.java | 35 byte[] byteArray = new byte[parseString.length]; in convertStringToByteArray() 36 if (byteArray.length > 0) { in convertStringToByteArray() 41 byteArray[i] = (byte)val; in convertStringToByteArray() 44 return byteArray; in convertStringToByteArray() 53 public static String convertByteArrayToString(byte[] byteArray) { in convertByteArrayToString() argument 55 if (byteArray != null) { in convertByteArrayToString() 56 for (int i = 0; i < byteArray.length; i++) { in convertByteArrayToString() 57 if ((i + 1) != byteArray.length) { in convertByteArrayToString() 58 ret = ret + Integer.valueOf((byteArray[i]&0xFF)) + ","; in convertByteArrayToString() 61 ret = ret + Integer.valueOf((byteArray[i]&0xFF)); in convertByteArrayToString()
|
/external/jmdns/src/javax/jmdns/impl/ |
D | DNSOutgoing.java | 163 byte[] byteArray = record.toByteArray(); in writeRecord() 165 writeShort(byteArray.length); in writeRecord() 166 write(byteArray, 0, byteArray.length); in writeRecord() 245 byte[] byteArray = record.toByteArray(); in addQuestion() 246 if (byteArray.length < this.availableSpace()) { in addQuestion() 248 _questionsBytes.write(byteArray, 0, byteArray.length); in addQuestion() 279 byte[] byteArray = record.toByteArray(); in addAnswer() 280 if (byteArray.length < this.availableSpace()) { in addAnswer() 282 _answersBytes.write(byteArray, 0, byteArray.length); in addAnswer() 299 byte[] byteArray = record.toByteArray(); in addAuthorativeAnswer() [all …]
|
/external/mdnsresponder/mDNSWindows/DLLX/ |
D | DNSSDRecord.cpp | 40 std::vector< BYTE > byteArray; in Update() local 54 ok = VariantToByteArray( &rdata, byteArray ); in Update() 60 …bject->GetSubordRef(), m_rref, flags, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteA… in Update()
|
D | DNSSDService.cpp | 750 std::vector< BYTE > byteArray; in RegisterRecord() local 782 ok = VariantToByteArray( &rdata, byteArray ); in RegisterRecord() 812 …ullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteA… in RegisterRecord() 860 std::vector< BYTE > byteArray; in AddRecord() local 884 ok = VariantToByteArray( &rdata, byteArray ); in AddRecord() 914 …ord( m_primary, &rref, flags, rrtype, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteA… in AddRecord() 956 std::vector< BYTE > byteArray; in ReconfirmRecord() local 978 ok = VariantToByteArray( &rdata, byteArray ); in ReconfirmRecord() 984 …ullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteA… in ReconfirmRecord() 1008 std::vector< BYTE > byteArray; in GetProperty() local [all …]
|
D | DNSSD.cpp | 445 std::vector< BYTE > byteArray; in GetProperty() local 461 byteArray.reserve( psa->rgsabound[0].cElements ); in GetProperty() 462 byteArray.assign( byteArray.capacity(), 0 ); in GetProperty() 463 elems = ( uint32_t ) byteArray.capacity(); in GetProperty() 466 err = DNSServiceGetProperty( propUTF8.c_str(), &byteArray[ 0 ], &elems ); in GetProperty() 468 ok = ByteArrayToVariant( &byteArray[ 0 ], elems, value ); in GetProperty()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
D | Relay.java | 57 private byte[] byteArray; field in Relay 108 byteArray = byteBuffer.array(); in run() 124 bytesRead = transport.read(byteArray, offset, bytesToRead); in run()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
D | ArrayReferenceDebuggee.java | 50 static byte[] byteArray = new byte[10]; field in ArrayReferenceDebuggee 55 byteArray[i] = (byte)i;
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
D | InjectedThing.java | 61 @Inject byte[] byteArray; field in InjectedThing 130 byte[] byteArray, in InjectedThing() 198 @Inject void byteArray(byte[] byteArray) {} in byteArray() method in InjectedThing
|
/external/llvm/unittests/DebugInfo/PDB/ |
D | MappedBlockStreamTest.cpp | 322 ArrayRef<uint8_t> byteArray[] = { byteArrayRef0, byteArrayRef1 }; in TEST() local 374 EXPECT_NO_ERROR(Writer.writeArray(byteArray[0])); in TEST() 375 EXPECT_NO_ERROR(Reader.readArray(byteArray[1], byteArray[0].size())); in TEST() 376 EXPECT_EQ(byteArray[0], byteArray[1]); in TEST()
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Hex.java | 189 … byte[] byteArray = object instanceof String ? ((String) object).getBytes() : (byte[]) object; in encode() 190 return encodeHex(byteArray); in encode()
|
/external/caliper/examples/src/main/java/examples/ |
D | CopyArrayBenchmark.java | 247 byte[] byteArray; field in CopyArrayBenchmark 258 byteArray = new byte[size]; in setUp() 271 byteArray[i] = (byte) num; in setUp() 300 dummy += System.identityHashCode(strategy.copy(byteArray)); in bytes()
|
/external/pdfium/fxbarcode/common/ |
D | BC_CommonByteArray.cpp | 39 CBC_CommonByteArray::CBC_CommonByteArray(uint8_t* byteArray, int32_t size) { in CBC_CommonByteArray() argument 42 memcpy(m_bytes, byteArray, size); in CBC_CommonByteArray()
|
D | BC_CommonByteArray.h | 20 CBC_CommonByteArray(uint8_t* byteArray, int32_t size);
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | Utf8Benchmark.java | 127 for (byte[] byteArray : byteArrays) { in isWellFormed() 128 if (!Utf8.isWellFormed(byteArray)) { in isWellFormed()
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtjava.cpp | 452 uint8_t* byteArray = NULL; in bytes_write_java() local 457 byteArray = res->fData; in bytes_write_java() 471 if (byteArray[byteIterator] < 128) in bytes_write_java() 473 sprintf(byteBuffer, byteDecl, byteArray[byteIterator]); in bytes_write_java() 477 sprintf(byteBuffer, byteDecl, (byteArray[byteIterator]-256)); in bytes_write_java()
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | BufferTest.java | 470 byte[] byteArray = new byte[4]; in bufferInputStreamBulkReads() 472 Arrays.fill(byteArray, (byte) -5); in bufferInputStreamBulkReads() 474 assertEquals(3, in.read(byteArray)); in bufferInputStreamBulkReads() 475 assertEquals("[97, 98, 99, -5]", Arrays.toString(byteArray)); in bufferInputStreamBulkReads() 477 Arrays.fill(byteArray, (byte) -7); in bufferInputStreamBulkReads() 478 assertEquals(-1, in.read(byteArray)); in bufferInputStreamBulkReads() 479 assertEquals("[-7, -7, -7, -7]", Arrays.toString(byteArray)); in bufferInputStreamBulkReads()
|
/external/guava/guava/src/com/google/common/hash/ |
D | AbstractNonStreamingHashFunction.java | 145 return hashBytes(stream.byteArray(), 0, stream.length()); in hash() 154 byte[] byteArray() { in byteArray() method in AbstractNonStreamingHashFunction.ExposedByteArrayOutputStream
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Internal.java | 179 public static boolean isValidUtf8(byte[] byteArray) { in isValidUtf8() argument 180 return Utf8.isValidUtf8(byteArray); in isValidUtf8()
|
/external/google-breakpad/src/third_party/libdisasm/swig/ |
D | README | 48 >>> data = x86disasm.byteArray( size )
|
D | libdisasm.i | 88 %array_class( unsigned char, byteArray );
|
D | libdisasm_oop.i | 44 %array_class( unsigned char, byteArray );
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBundleTest.java | 162 public void byteArray() { in byteArray() method in ShadowBundleTest
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | RequestTest.java | 59 @Test public void byteArray() throws Exception { in byteArray() method in RequestTest
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 296 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(derLen)); in ASN1ToByteArray() local 297 if (byteArray.get() == nullptr) { in ASN1ToByteArray() 302 ScopedByteArrayRW bytes(env, byteArray.get()); in ASN1ToByteArray() 317 return byteArray.release(); in ASN1ToByteArray() 334 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(static_cast<jsize>(len))); in CBBToByteArray() local 335 if (byteArray.get() == nullptr) { in CBBToByteArray() 340 ScopedByteArrayRW bytes(env, byteArray.get()); in CBBToByteArray() 347 return byteArray.release(); in CBBToByteArray() 6981 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(static_cast<jsize>(data_len))); in NativeCrypto_SSL_get_ocsp_response() local 6982 if (byteArray.get() == nullptr) { in NativeCrypto_SSL_get_ocsp_response() [all …]
|
/external/libvncserver/webclients/java-applet/ssl/ |
D | ultravnc-102-JavaViewer-ssl-etc.patch | 1849 + byte byteArray[]; 1883 + byteArray = new byte[byteArray0.length + 1]; 1885 + byteArray[i] = byteArray0[i]; 1887 + byteArray[byteArray.length - 1] = 0; 1888 ….println("writeRfbFileTransferMsg: length: " + length + " -> byteArray.length: " + byteArray.lengt… 1891 + length = byteArray.length; 1896 + byteArray = moo.getBytes(); 1912 - byte byteArray[] = text.getBytes(); 1913 - byte byteArray2[] = new byte[byteArray.length + 1]; 1914 - for (int i = 0; i < byteArray.length; i++) { [all …]
|