Searched defs:getBytes (Results 1 - 25 of 73) sorted by relevance

123

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
H A DByteArr.java35 public byte[] getBytes() { method in class:ByteArr
/external/apache-http/src/org/apache/http/util/
H A DEncodingUtils.java110 public static byte[] getBytes(final String data, final String charset) { method in class:EncodingUtils
121 return data.getBytes(charset);
123 return data.getBytes();
140 return data.getBytes(HTTP.US_ASCII);
/external/glide/library/src/main/java/com/bumptech/glide/util/
H A DByteArrayPool.java43 public byte[] getBytes() { method in class:ByteArrayPool
/external/guava/guava-tests/test/com/google/common/io/
H A DTestByteSink.java42 byte[] getBytes() { method in class:TestByteSink
/external/caliper/examples/src/main/java/examples/
H A DUtf8Benchmark.java115 getBytes(100);
119 * Benchmarks {@link String#getBytes} on valid strings containing
124 @Benchmark void getBytes(int reps) { method in class:Utf8Benchmark
129 byte[] bytes = string.getBytes(UTF_8);
/external/icu/icu4c/source/i18n/unicode/
H A Dsortkey.h258 uint8_t *getBytes() { function in class:CollationKey
261 const uint8_t *getBytes() const { function in class:CollationKey
333 return getBytes();
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
H A DSinkTester.java49 public abstract byte[] getBytes() throws Exception; method in class:SinkTester
99 assertArrayEquals(expected, getBytes());
112 assertArrayEquals(expected, getBytes());
124 assertArrayEquals(expected, getBytes());
146 assertArrayEquals(expected, getBytes());
177 assertArrayEquals(expected, getBytes());
188 assertArrayEquals(expected, getBytes());
204 assertArrayEquals(expectedBytes, getBytes());
H A DWrapperTester.java91 public byte[] getBytes() throws Exception { method in class:WrapperTester.WrapperSinkTester
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1BitString.java76 static protected byte[] getBytes(int bitString) method in class:ASN1BitString
198 public byte[] getBytes() method in class:ASN1BitString
215 return padBits ^ Arrays.hashCode(this.getBytes());
229 && Arrays.areEqual(this.getBytes(), other.getBytes());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DKeyUsage.java88 public byte[] getBytes() method in class:KeyUsage
90 return bitString.getBytes();
100 byte[] data = bitString.getBytes();
/external/jline/src/src/test/java/jline/
H A DJLineTestCase.java39 console.setInput(new ByteArrayInputStream(buffer.getBytes()));
76 public byte[] getBytes() { method in class:JLineTestCase.Buffer
121 byte[] bytes = str.getBytes();
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
H A DFsFile.java26 byte[] getBytes() throws IOException; method in interface:FsFile
H A DFileFsFile.java86 public byte[] getBytes() throws IOException { method in class:FileFsFile
H A DFs.java196 @Override public byte[] getBytes() throws IOException { method in class:Fs.JarFs.JarFsFile
/external/deqp/executor/
H A DxeBatchResult.hpp59 const deUint8* getBytes (void) const { return !m_data.empty() ? &m_data[0] : DE_NULL; } function in class:xe::InfoLog
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
H A DTestData.java429 private static byte[] getBytes(String in){ method in class:TestData.ConformanceTestCase
445 byte[] bytes = getBytes(in);
447 bytes = getBytes(out);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DTestData.java426 private static byte[] getBytes(String in){ method in class:TestData.ConformanceTestCase
442 byte[] bytes = getBytes(in);
444 bytes = getBytes(out);
/external/proguard/src/proguard/classfile/constant/
H A DUtf8Constant.java96 public byte[] getBytes() method in class:Utf8Constant
186 // of String.getBytes("UTF-8") has a bug, at least up to JRE 1.4.2.
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocStream.h114 ArrayRef<char> getBytes(const Entry &E) const { function in class:llvm::DebugLocStream
/external/turbine/java/com/google/turbine/zip/
H A DZip.java256 return getBytes(
263 return getBytes(
281 private byte[] getBytes( method in class:Zip.Entry
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderTestUtil.hpp84 virtual void getBytes (std::vector<deUint8>& bytes) const = 0;
103 void getBytes (std::vector<deUint8>& bytes) const function in class:vkt::SpirVAssembly::OpAtomicBuffer
177 void getBytes (std::vector<deUint8>& bytes) const function in class:vkt::SpirVAssembly::Buffer
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DTrieMap.java136 int limit = ByteConverter.getBytes(c, bytes, 0);
150 // int limit = ByteConverter.getBytes(c, bytes, 0);
241 int limit = ByteConverter.getBytes(c, bytes, 0);
304 limit = ByteConverter.getBytes(c, bytes, limit);
510 public static int getBytes(char source, byte[] bytes, int limit) { method in class:TrieMap.ByteConverter
527 public static int getBytes(CharSequence source, byte[] bytes, int limit) { method in class:TrieMap.ByteConverter
529 limit = getBytes(source.charAt(i), bytes, limit);
535 * Transform a sequence of bytes into a string, according to the format in getBytes. No error checking.
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DTrieMap.java135 int limit = ByteConverter.getBytes(c, bytes, 0);
149 // int limit = ByteConverter.getBytes(c, bytes, 0);
240 int limit = ByteConverter.getBytes(c, bytes, 0);
303 limit = ByteConverter.getBytes(c, bytes, limit);
509 public static int getBytes(char source, byte[] bytes, int limit) { method in class:TrieMap.ByteConverter
526 public static int getBytes(CharSequence source, byte[] bytes, int limit) { method in class:TrieMap.ByteConverter
528 limit = getBytes(source.charAt(i), bytes, limit);
534 * Transform a sequence of bytes into a string, according to the format in getBytes. No error checking.
/external/deqp/modules/glshared/
H A DglsMemoryStressCase.cpp445 deUint32 getBytes (void) const { return m_bytesRequired; } function in class:deqp::gls::MemObjectAllocator
885 log << TestLog::Message << "Got error when allocation object count: " << allocator.getObjectCount() << " bytes: " << allocator.getBytes() << TestLog::EndMessage;
/external/icu/icu4c/source/tools/toolutil/
H A Dpkgitems.cpp73 const uint8_t *getBytes() const { function in class:NativeItem
415 const int32_t *poolRoot=(const int32_t *)nativePool.getBytes();
598 ures_enumDependencies(pItem->name, nrb.getDataInfo(), nrb.getBytes(), nrb.getLength(), check, context, this, &errorCode);

Completed in 2123 milliseconds

123