HomeSort by relevance Sort by last modified time
    Searched defs:bos (Results 26 - 50 of 87) sorted by null

12 3 4

  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
SealedObjectTest.java 53 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
54 ObjectOutputStream oos = new ObjectOutputStream(bos);
58 bos.toByteArray()));
  /external/apache-harmony/support/src/test/java/tests/util/
SerializationTester.java 71 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
72 ObjectOutputStream oos = new ObjectOutputStream(bos);
76 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/drm/
i915_drm_batchbuffer.c 80 drm_intel_bo *bos[num_of_buffers + 1]; local
83 bos[0] = drm_batch->bo;
85 bos[i+1] = intel_bo(buffer[i]);
87 ret = drm_intel_bufmgr_check_aperture_space(bos, num_of_buffers);
  /external/javassist/src/test/test/javassist/proxy/
ProxySerializationTest.java 36 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
37 ObjectOutputStream out = new ObjectOutputStream(bos);
40 byte[] bytes = bos.toByteArray();
63 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
64 ProxyObjectOutputStream out = new ProxyObjectOutputStream(bos);
67 byte[] bytes = bos.toByteArray();
  /external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
CachedOggStream.java 57 private boolean bos = false; field in class:CachedOggStream
116 bos = true;
  /external/mesa3d/src/gallium/winsys/i915/drm/
i915_drm_batchbuffer.c 80 drm_intel_bo *bos[num_of_buffers + 1]; local
83 bos[0] = drm_batch->bo;
85 bos[i+1] = intel_bo(buffer[i]);
87 ret = drm_intel_bufmgr_check_aperture_space(bos, num_of_buffers);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LogTest.java 125 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
128 ShadowLog.stream = new PrintStream(bos);
130 assertThat(new String(bos.toByteArray()), equalTo("D/tag: msg\n"));
133 assertTrue(new String(bos.toByteArray()).contains("RuntimeException"));
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsCollectionTest.java 74 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
75 collection.write(new DataOutputStream(bos));
83 collection.read(new ByteArrayInputStream(bos.toByteArray()));
100 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
101 collection.write(new DataOutputStream(bos));
109 collection.read(new ByteArrayInputStream(bos.toByteArray()));
126 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
127 collection.write(new DataOutputStream(bos));
135 collection.read(new ByteArrayInputStream(bos.toByteArray()));
  /libcore/luni/src/test/java/libcore/java/util/logging/
OldMemoryHandlerTest.java 55 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
56 p.store(bos, "");
57 return new ByteArrayInputStream(bos.toByteArray());
  /frameworks/base/core/java/com/android/internal/util/
FileRotator.java 375 final BufferedOutputStream bos = new BufferedOutputStream(fos); local
377 writer.write(bos);
378 bos.flush();
381 IoUtils.closeQuietly(bos);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestOutputStreamTest.java 148 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
149 DigestOutputStream dos = new DigestOutputStream(bos, md);
154 assertTrue("write", Arrays.equals(MDGoldenData.getMessage(), bos.toByteArray()));
180 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
181 DigestOutputStream dos = new DigestOutputStream(bos, md);
191 assertTrue("write", Arrays.equals(MDGoldenData.getMessage(), bos.toByteArray()));
264 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
265 DigestOutputStream dos = new DigestOutputStream(bos, null);
273 assertTrue(Arrays.equals(MDGoldenData.getMessage(), bos.toByteArray()));
286 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN) local
319 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
356 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
397 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
486 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
524 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaSmsCbTest.java 85 BitwiseOutputStream bos = new BitwiseOutputStream(10); local
86 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER);
87 bos.write(8, 3); // length: 3 bytes
88 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER);
89 bos.write(8, ((messageId >>> 8) & 0xff));
90 bos.write(8, (messageId & 0xff));
91 bos.write(1, 0); // no User Data Header
92 bos.write(3, 0); // reserved
95 bos.write(8, SUBPARAM_PRIORITY_INDICATOR);
96 bos.write(8, 1); // length: 1 byt
167 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); local
193 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); local
555 BitwiseOutputStream bos = createBearerDataStream(r.nextInt(65536), r.nextInt(4), local
604 BitwiseOutputStream bos = createBearerDataStream(123, -1, -1); local
645 BitwiseOutputStream bos = createBearerDataStream(456, -1, -1); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CompressedTextureActivity.java 120 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
121 ETC1Util.writeTexture(etc1Texture, bos);
122 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
SerializedGrammar.java 92 BufferedInputStream bos = new BufferedInputStream(fis); local
93 DataInputStream in = new DataInputStream(bos);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DataOutputStreamTest.java 32 private ByteArrayOutputStream bos; field in class:DataOutputStreamTest
237 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray()));
245 bos = new ByteArrayOutputStream();
246 os = new DataOutputStream(bos);
PrintStreamTest.java 34 ByteArrayOutputStream bos = new ByteArrayOutputStream(); field in class:PrintStreamTest
100 PrintStream os = new PrintStream(bos);
106 os = new PrintStream(bos, true, null);
116 PrintStream os = new PrintStream(bos);
119 assertTrue("Bytes not written", bos.size() > 0);
174 PrintStream os = new PrintStream(bos);
176 bos.close();
184 PrintStream os = new PrintStream(bos);
187 assertEquals("Bytes not written after flush", 501, bos.size());
188 bos.close()
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl3Test.java 136 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
145 kss[i].store(bos, null);
147 kss[i].store(bos, pwd);
148 ByteArrayInputStream bis = new ByteArrayInputStream(bos
  /libcore/luni/src/main/java/libcore/reflect/
AnnotationMember.java 310 ByteArrayOutputStream bos = new ByteArrayOutputStream( local
312 ObjectOutputStream oos = new ObjectOutputStream(bos);
316 ByteArrayInputStream bis = new ByteArrayInputStream(bos
  /libcore/luni/src/test/java/libcore/java/io/
OldDataInputStreamTest.java 34 private ByteArrayOutputStream bos; field in class:OldDataInputStreamTest
354 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray()));
362 bos = new ByteArrayOutputStream();
363 os = new DataOutputStream(bos);
OldDataOutputStreamTest.java 34 private ByteArrayOutputStream bos; field in class:OldDataOutputStreamTest
47 BufferedOutputStream buf = new BufferedOutputStream(bos);
52 bos.toByteArray().length == 0);
55 bos.toByteArray().length > 0);
180 dis = new DataInputStream(new ByteArrayInputStream(bos.toByteArray()));
185 bos = new ByteArrayOutputStream();
186 os = new DataOutputStream(bos);
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldZipInputStreamTest.java 44 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
45 ZipOutputStream zos = new ZipOutputStream(bos);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SealedObjectTest.java 73 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
74 ObjectOutputStream oos = new ObjectOutputStream(bos);
78 bos.toByteArray()));
  /external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/
ANTLR3.java 93 private ByteArrayOutputStream bos = new ByteArrayOutputStream(); field in class:ANTLR3
451 bos.close();
461 Matcher m = p.matcher(bos.toString());
627 bos.close();
651 Matcher m = p.matcher(bos.toString());
760 psh = new PumpStreamHandler(out, bos);
762 psh = new PumpStreamHandler(out, new TeeOutputStream(err, bos));
  /external/smack/src/org/jivesoftware/smack/util/
Base64.java 1001 Base64.OutputStream bos = null; local
1035 Base64.OutputStream bos = null; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
MoviePlayer.java 504 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
505 DataOutputStream dos = new DataOutputStream(bos);
510 cache.insert(uri.hashCode(), bos.toByteArray());

Completed in 1213 milliseconds

12 3 4