Home
last modified time | relevance | path

Searched refs:bos (Results 1 – 25 of 53) sorted by relevance

123

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DDigestOutputStreamTest.java149 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/libdrm/radeon/
Dradeon_cs_space.c129 ret = radeon_cs_setup_bo(&cs->bos[i], &sizes); in radeon_cs_do_space_check()
159 bo = cs->bos[i].bo; in radeon_cs_do_space_check()
160 bo->space_accounted = cs->bos[i].new_accounted; in radeon_cs_do_space_check()
176 if (csi->bos[i].bo == boi && in radeon_cs_space_add_persistent_bo()
177 csi->bos[i].read_domains == read_domains && in radeon_cs_space_add_persistent_bo()
178 csi->bos[i].write_domain == write_domain) in radeon_cs_space_add_persistent_bo()
183 csi->bos[i].bo = boi; in radeon_cs_space_add_persistent_bo()
184 csi->bos[i].read_domains = read_domains; in radeon_cs_space_add_persistent_bo()
185 csi->bos[i].write_domain = write_domain; in radeon_cs_space_add_persistent_bo()
186 csi->bos[i].new_accounted = 0; in radeon_cs_space_add_persistent_bo()
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/
DEnvironmentHelper.java37 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/
DTransport.java124 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/libdrm/freedreno/msm/
Dmsm_ringbuffer.c46 struct drm_msm_gem_submit_bo *bos; member
59 struct fd_bo **bos; member
96 idx = APPEND(&msm_ring->submit, bos); in append_bo()
97 idx = APPEND(msm_ring, bos); in append_bo()
99 msm_ring->submit.bos[idx].flags = 0; in append_bo()
100 msm_ring->submit.bos[idx].handle = bo->handle; in append_bo()
101 msm_ring->submit.bos[idx].presumed = to_msm_bo(bo)->presumed; in append_bo()
103 msm_ring->bos[idx] = fd_bo_ref(bo); in append_bo()
124 if (msm_ring->bos[idx] == bo) in bo2idx()
133 msm_ring->submit.bos[idx].flags |= MSM_SUBMIT_BO_READ; in bo2idx()
[all …]
/external/droiddriver/src/io/appium/droiddriver/base/
DBaseUiDevice.java90 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/
DProxySerializationTest.java36 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/caliper/examples/src/main/java/examples/
DCompressionSizeBenchmark.java73 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in compress() local
77 bos.write(buf, 0, count); in compress()
80 bos.close(); in compress()
83 return bos.toByteArray(); in compress()
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/
DDecoder.java162 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/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
DUncachedOggStream.java50 private boolean bos = false; field in UncachedOggStream
61 while (!bos){ in UncachedOggStream()
78 bos = true; in readNextOggPage()
/external/jetty/src/java/org/eclipse/jetty/util/
DMultiPartInputStream.java156 BufferedOutputStream bos = new BufferedOutputStream(fos); in createFile() local
162 _bout.writeTo(bos); in createFile()
166 _out = bos; in createFile()
262 BufferedOutputStream bos = null; in write() local
265 bos = new BufferedOutputStream(new FileOutputStream(_file)); in write()
266 _bout.writeTo(bos); in write()
267 bos.flush(); in write()
271 if (bos != null) in write()
272 bos.close(); in write()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLogTest.java125 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/ksoap2-base/src/main/java/org/ksoap2/serialization/
DSppPropertyInfo.java246 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in clone() local
247 ObjectOutputStream out = new ObjectOutputStream(bos); in clone()
255 new ByteArrayInputStream(bos.toByteArray())); in clone()
DPropertyInfo.java246 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in clone() local
247 ObjectOutputStream out = new ObjectOutputStream(bos); in clone()
255 new ByteArrayInputStream(bos.toByteArray())); in clone()
/external/apache-harmony/support/src/test/java/tests/util/
DSerializationTester.java69 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/kobjects/org/ksoap2/kobjects/base64/
DBase64.java120 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in decode() local
122 decode(s, bos); in decode()
126 return bos.toByteArray(); in decode()
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_batchbuffer.c80 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/droiddriver/src/io/appium/droiddriver/finders/
DByXPath.java199 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/protobuf/java/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java242 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testWriteTo() local
243 stringUnderTest.writeTo(bos); in testWriteTo()
244 byte[] roundTripBytes = bos.toByteArray(); in testWriteTo()
271 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testNewOutput() local
276 output.writeTo(bos); in testNewOutput()
278 Arrays.equals(referenceBytes, bos.toByteArray())); in testNewOutput()
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpTransportSE.java244 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/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKeyStore_Impl3Test.java136 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/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DStats.java176 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/
DANTLR3.java93 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/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DSealedObjectTest.java53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testReadObject() local
54 ObjectOutputStream oos = new ObjectOutputStream(bos); in testReadObject()
58 bos.toByteArray())); in testReadObject()
/external/libpcap/
DREADME.aix48 system to crash. DLPI is included in the fileset bos.rte.tty. I
50 had to upgrade to bos.rte.tty 4.3.2.4:
52 lslpp -l bos.rte.tty
54 bos.rte.tty 4.3.2.4 COMMITTED Base TTY Support and Commands

123