/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | DigestOutputStreamTest.java | 149 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); in testWriteint01() local 150 DigestOutputStream dos = new DigestOutputStream(bos, md); in testWriteint01() 156 bos.toByteArray())); in testWriteint01() 182 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); in testWriteint02() local 183 DigestOutputStream dos = new DigestOutputStream(bos, md); in testWriteint02() 194 bos.toByteArray())); in testWriteint02() 267 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); in testWriteint05() local 268 DigestOutputStream dos = new DigestOutputStream(bos, null); in testWriteint05() 277 bos.toByteArray())); in testWriteint05() 291 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); in testWritebyteArrayintint01() local [all …]
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/ |
D | EnvironmentHelper.java | 37 ByteArrayOutputStream bos = null; in PropertiesToInputStream() local 39 bos = new ByteArrayOutputStream(); in PropertiesToInputStream() 40 p.store(bos, ""); in PropertiesToInputStream() 41 return new ByteArrayInputStream(bos.toByteArray()); in PropertiesToInputStream() 47 bos.close(); in PropertiesToInputStream()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
D | Transport.java | 124 ByteArrayOutputStream bos = new ByteArrayOutputStream(bufferLength); in createRequestData() local 126 bos.write(xmlVersionTag.getBytes()); in createRequestData() 130 xw.setOutput(bos, encoding); in createRequestData() 135 bos.write('\r'); in createRequestData() 136 bos.write('\n'); in createRequestData() 137 bos.flush(); in createRequestData() 138 result = bos.toByteArray(); in createRequestData() 140 bos = null; in createRequestData()
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
D | BaseUiDevice.java | 90 BufferedOutputStream bos = null; in takeScreenshot() local 92 bos = FileUtils.open(path); in takeScreenshot() 93 screenshot.compress(format, quality, bos); in takeScreenshot() 99 if (bos != null) { in takeScreenshot() 101 bos.close(); in takeScreenshot()
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxySerializationTest.java | 36 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testSerialization() local 37 ObjectOutputStream out = new ObjectOutputStream(bos); in testSerialization() 40 byte[] bytes = bos.toByteArray(); in testSerialization() 63 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testSerialization() local 64 ProxyObjectOutputStream out = new ProxyObjectOutputStream(bos); in testSerialization() 67 byte[] bytes = bos.toByteArray(); in testSerialization()
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
D | Decoder.java | 162 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in readContent() local 163 readContent(bos); in readContent() 165 ? new String(bos.toByteArray()) in readContent() 166 : new String(bos.toByteArray(), characterEncoding); in readContent() 183 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in readContent() local
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/ |
D | BookmarkUtils.java | 45 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in getIcon() local 50 faviconBitmap.compress(CompressFormat.PNG, 0, bos); in getIcon() 54 return bos.toByteArray(); in getIcon()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | LogTest.java | 125 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in shouldLogToProvidedStream() local 128 ShadowLog.stream = new PrintStream(bos); in shouldLogToProvidedStream() 130 assertThat(new String(bos.toByteArray()), equalTo("D/tag: msg\n")); in shouldLogToProvidedStream() 133 assertTrue(new String(bos.toByteArray()).contains("RuntimeException")); in shouldLogToProvidedStream()
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/base64/ |
D | Base64.java | 120 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in decode() local 122 decode(s, bos); in decode() 126 return bos.toByteArray(); in decode()
|
/external/apache-harmony/support/src/test/java/tests/util/ |
D | SerializationTester.java | 69 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in getDeserilizedObject() local 70 ObjectOutputStream oos = new ObjectOutputStream(bos); in getDeserilizedObject() 74 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in getDeserilizedObject()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
D | SppPropertyInfo.java | 246 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in clone() local 247 ObjectOutputStream out = new ObjectOutputStream(bos); in clone() 255 new ByteArrayInputStream(bos.toByteArray())); in clone()
|
D | PropertyInfo.java | 246 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in clone() local 247 ObjectOutputStream out = new ObjectOutputStream(bos); in clone() 255 new ByteArrayInputStream(bos.toByteArray())); in clone()
|
/external/chromium_org/third_party/hwcplus/include/cutils/ |
D | properties.h | 70 size_t bos = __bos(value); in property_get() local 71 if (bos < PROPERTY_VALUE_MAX) { in property_get()
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/drm/ |
D | i915_drm_batchbuffer.c | 80 drm_intel_bo *bos[num_of_buffers + 1]; in i915_drm_batchbuffer_validate_buffers() local 83 bos[0] = drm_batch->bo; in i915_drm_batchbuffer_validate_buffers() 85 bos[i+1] = intel_bo(buffer[i]); in i915_drm_batchbuffer_validate_buffers() 87 ret = drm_intel_bufmgr_check_aperture_space(bos, num_of_buffers); in i915_drm_batchbuffer_validate_buffers()
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
D | i915_drm_batchbuffer.c | 80 drm_intel_bo *bos[num_of_buffers + 1]; in i915_drm_batchbuffer_validate_buffers() local 83 bos[0] = drm_batch->bo; in i915_drm_batchbuffer_validate_buffers() 85 bos[i+1] = intel_bo(buffer[i]); in i915_drm_batchbuffer_validate_buffers() 87 ret = drm_intel_bufmgr_check_aperture_space(bos, num_of_buffers); in i915_drm_batchbuffer_validate_buffers()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 805 ByteArrayOutputStream bos = new ByteArrayOutputStream(); 808 bos.write(new byte[] { (byte) 0xEF, (byte) 0xBB, (byte) 0xBF }); 811 bos.write(new byte[] { (byte) 0xFE, (byte) 0xFF }); 814 bos.write(new byte[] { (byte) 0xFF, (byte) 0xFE }); 817 bos.write(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0xFE, 821 bos.write(new byte[] { (byte) 0xFF, (byte) 0xFE, (byte) 0x00, 825 bos.write(text.getBytes(enc)); 826 return bos.toByteArray();
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
D | ByXPath.java | 199 BufferedOutputStream bos = null; in dumpDom() local 201 bos = FileUtils.open(path); in dumpDom() 208 transformer.transform(new DOMSource(domNode), new StreamResult(bos)); in dumpDom() 216 if (bos != null) { in dumpDom() 218 bos.close(); in dumpDom()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore_Impl3Test.java | 136 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testLoadStore01() local 145 kss[i].store(bos, null); in testLoadStore01() 147 kss[i].store(bos, pwd); in testLoadStore01() 148 ByteArrayInputStream bis = new ByteArrayInputStream(bos in testLoadStore01()
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
D | HttpTransportSE.java | 244 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in call() local 252 bos.write(buf, 0, rd); in call() 255 bos.flush(); in call() 256 buf = bos.toByteArray(); in call()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
D | Stats.java | 176 BufferedOutputStream bos = new BufferedOutputStream(fos); in writeReport() local 177 PrintStream ps = new PrintStream(bos); in writeReport() 180 bos.close(); in writeReport()
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
D | ANTLR3.java | 93 private ByteArrayOutputStream bos = new ByteArrayOutputStream(); field in ANTLR3 451 bos.close(); in execute() 461 Matcher m = p.matcher(bos.toString()); in execute() 627 bos.close(); in dependencyCheck() 651 Matcher m = p.matcher(bos.toString()); in dependencyCheck() 760 psh = new PumpStreamHandler(out, bos); in run() 762 psh = new PumpStreamHandler(out, new TeeOutputStream(err, bos)); in run()
|
/external/libpcap/ |
D | README.aix | 43 system to crash. DLPI is included in the fileset bos.rte.tty. I 45 had to upgrade to bos.rte.tty 4.3.2.4: 47 lslpp -l bos.rte.tty 49 bos.rte.tty 4.3.2.4 COMMITTED Base TTY Support and Commands
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
D | SealedObjectTest.java | 53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadObject() local 54 ObjectOutputStream oos = new ObjectOutputStream(bos); in testReadObject() 58 bos.toByteArray())); in testReadObject()
|
/external/chromium_org/third_party/libusb/src/libusb/ |
D | descriptor.c | 813 struct libusb_bos_descriptor **bos, in parse_bos() argument 886 *bos = _bos; in parse_bos() 903 struct libusb_bos_descriptor **bos) in libusb_get_bos_descriptor() argument 936 r = parse_bos(handle->dev->ctx, bos, bos_data, r, host_endian); in libusb_get_bos_descriptor() 951 void API_EXPORTED libusb_free_bos_descriptor(struct libusb_bos_descriptor *bos) in libusb_free_bos_descriptor() argument 955 if (!bos) in libusb_free_bos_descriptor() 958 for (i = 0; i < bos->bNumDeviceCaps; i++) in libusb_free_bos_descriptor() 959 free(bos->dev_capability[i]); in libusb_free_bos_descriptor() 960 free(bos); in libusb_free_bos_descriptor()
|
/external/libogg/doc/ |
D | rfc3533.txt | 189 start page (bos=beginning of stream) and ends with a special page 192 The bos page contains information to uniquely identify the codec type 193 and MAY contain information to set up the decoding process. The bos 196 channels. By convention, the first bytes of the bos page contain 201 identifying marker. The format of the bos page is dependent on the 204 secondary header packets after the bos page for logical bitstreams 208 So, a physical bitstream begins with the bos pages of all logical 219 the Ogg Vorbis bos page. It also uses two additional header pages 220 per logical bitstream. The Ogg Vorbis bos page starts with the byte 241 In grouping, all bos pages of all logical bitstreams MUST appear [all …]
|