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

1 2 3 4

  /system/core/include/cutils/
properties.h 61 size_t bos = __bos(value); local
62 if (bos < PROPERTY_VALUE_MAX) {
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/
EnvironmentHelper.java 37 ByteArrayOutputStream bos = null; local
39 bos = new ByteArrayOutputStream();
40 p.store(bos, "");
41 return new ByteArrayInputStream(bos.toByteArray());
47 bos.close();
  /libcore/luni/src/test/java/libcore/java/io/
OldByteArrayOutputStreamTest.java 34 ByteArrayOutputStream bos = null; field in class:OldByteArrayOutputStreamTest
39 bos = new java.io.ByteArrayOutputStream(100);
40 assertEquals("Test 1: Failed to create stream;", 0, bos.size());
43 bos = new ByteArrayOutputStream(-1);
51 bos = new ByteArrayOutputStream();
53 bos.write(fileString.getBytes(), 0, fileString.length());
55 bos.toString("8859_1").equals(fileString));
57 bos.toString("8859_2").equals(fileString));
60 bos.toString("NotAnEcoding");
69 bos = new ByteArrayOutputStream()
    [all...]
OldOutputStreamTest.java 54 BasicOutputStream bos = new BasicOutputStream(); local
59 bos.write(shortByteArray);
65 buffer = bos.getBuffer();
73 bos.write(longByteArray);
79 BasicOutputStream bos = new BasicOutputStream(); local
84 bos.write(shortByteArray, 6, 5);
90 buffer = bos.getBuffer();
98 bos.write(longByteArray, 5, 20);
103 bos.write(longByteArray, -1, 10);
112 bos.write(longByteArray, 10, -1)
    [all...]
OldBufferedOutputStreamTest.java 122 OutputStream bos = new BufferedOutputStream(new ByteArrayOutputStream()); local
127 bos.write(nullByteArray, 0, 1);
134 bos.write(byteArray, -1, 1);
141 bos.write(byteArray, 0, -1);
148 bos.write(byteArray, 1, 10);
OldFilterOutputStreamTest.java 30 java.io.ByteArrayOutputStream bos; field in class:OldFilterOutputStreamTest
44 bos = new ByteArrayOutputStream();
45 os = new FilterOutputStream(bos);
194 if (bos != null)
195 bos.close();
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 38 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
42 bos.write(buf, 0, len);
44 byte[] bytes = bos.toByteArray();
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
Stats.java 176 BufferedOutputStream bos = new BufferedOutputStream(fos); local
177 PrintStream ps = new PrintStream(bos);
180 bos.close();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FilterOutputStreamTest.java 32 ByteArrayOutputStream bos; field in class:FilterOutputStreamTest
44 bos = new ByteArrayOutputStream();
45 os = new FilterOutputStream(bos);
53 bos = new ByteArrayOutputStream();
54 os = new FilterOutputStream(bos);
57 assertEquals("Bytes not written after flush", 500, bos.size());
65 bos = new ByteArrayOutputStream();
66 os = new FilterOutputStream(bos);
69 assertEquals("Bytes not written after flush", 500, bos.size());
77 bos = new ByteArrayOutputStream()
    [all...]
BufferedOutputStreamTest.java 150 BufferedOutputStream bos = new BufferedOutputStream(mos, 3); local
151 bos.write("a".getBytes());
152 bos.write("bcde".getBytes());
156 bos = new BufferedOutputStream(mos, 3);
157 bos.write("ab".getBytes());
158 bos.write("cd".getBytes());
166 OutputStream bos = new BufferedOutputStream(new ByteArrayOutputStream()); local
171 bos.write(nullByteArray, -1, -1);
178 bos.write(nullByteArray, -1, 0);
185 bos.write(nullByteArray, -1, 1)
355 OutputStream bos = new BufferedOutputStream(null); local
426 OutputStream bos = new BufferedOutputStream(null, 1); local
497 BufferedOutputStream bos = new BufferedOutputStream(null); local
565 BufferedOutputStream bos = new BufferedOutputStream(null, 1); local
826 BufferedOutputStream bos = new BufferedOutputStream(new ByteArrayOutputStream()); local
    [all...]
ByteArrayOutputStreamTest.java 35 ByteArrayOutputStream bos = null; field in class:ByteArrayOutputStreamTest
45 bos.close();
55 bos = new ByteArrayOutputStream(100);
56 assertEquals("Failed to create stream", 0, bos.size());
63 bos = new ByteArrayOutputStream();
64 assertEquals("Failed to create stream", 0, bos.size());
80 * java.io.ByteArrayOutputStream bos = new
81 * java.io.ByteArrayOutputStream(); bos.write (fileString.getBytes(), 0,
82 * 100); try { bos.close(); } catch (java.io.IOException e) {
83 * fail("IOException closing stream"); } try { bos.writ
128 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
144 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
155 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
176 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
201 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
    [all...]
ObjectOutputStream2Test.java 47 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
48 ObjectOutputStream os = new ObjectOutputStream(bos);
52 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
  /external/droiddriver/src/com/google/android/droiddriver/base/
AbstractDroidDriver.java 142 BufferedOutputStream bos = null; local
144 bos = FileUtils.open(path);
145 screenshot.compress(format, quality, bos);
151 if (bos != null) {
153 bos.close();
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
RamDisk.java 56 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
65 bos.write(buffer, 0, read);
72 final ByteBuffer bb = ByteBuffer.wrap(bos.toByteArray(), 0, total);
  /bionic/libc/include/
string.h 125 size_t bos = __bos(dest); local
126 if (__builtin_constant_p(n) && (n > bos)) {
129 return __builtin___strncpy_chk(dest, src, n, bos);
154 size_t bos = __bos(dest); local
158 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
164 if (__builtin_constant_p(size) && (size <= bos)) {
170 if (__builtin_constant_p(size) && (size > bos)) {
175 return __strlcpy_chk(dest, src, size, bos);
186 size_t bos = __bos(dest); local
190 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE)
212 size_t bos = __bos(s); local
233 size_t bos = __bos(s); local
254 size_t bos = __bos(s); local
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/
BookmarkUtils.java 45 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
50 faviconBitmap.compress(CompressFormat.PNG, 0, bos);
54 return bos.toByteArray();
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiAutomatorBridge.java 113 BufferedOutputStream bos = null; local
115 bos = new BufferedOutputStream(new FileOutputStream(storePath));
116 if (bos != null) {
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
118 bos.flush();
124 if (bos != null) {
126 bos.close();
  /frameworks/uiautomator/src/com/android/uiautomator/core/
UiAutomatorBridge.java 113 BufferedOutputStream bos = null; local
115 bos = new BufferedOutputStream(new FileOutputStream(storePath));
116 if (bos != null) {
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
118 bos.flush();
124 if (bos != null) {
126 bos.close();
  /external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/
UncachedOggStream.java 50 private boolean bos = false; field in class:UncachedOggStream
61 while (!bos){
78 bos = true;
  /libcore/luni/src/main/java/javax/crypto/
SealedObject.java 95 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
96 ObjectOutputStream oos = new ObjectOutputStream(bos);
103 this.encryptedContent = c.doFinal(bos.toByteArray());
  /packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
PartnerBookmarksProvider.java 328 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
333 bos.write(buf, 0, read);
335 bos.flush();
336 return bos.toByteArray();
339 bos.close();
  /cts/tools/cfassembler/src/dxconvext/
ClassFileAssembler.java 108 BufferedOutputStream bos = new BufferedOutputStream(os); local
109 writeClassFile(r, bos, isDex);
110 bos.close();
  /external/apache-harmony/security/src/test/api/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);
155 bos.toByteArray()));
181 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
182 DigestOutputStream dos = new DigestOutputStream(bos, md);
193 bos.toByteArray()));
266 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
267 DigestOutputStream dos = new DigestOutputStream(bos, null);
276 bos.toByteArray()));
290 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN) local
324 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
361 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
402 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
470 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
509 ByteArrayOutputStream bos = new ByteArrayOutputStream(MY_MESSAGE_LEN); local
    [all...]
  /external/droiddriver/src/com/google/android/droiddriver/finders/
ByXPath.java 171 BufferedOutputStream bos = null; local
173 bos = FileUtils.open(path);
176 transformer.transform(new DOMSource(uiElement.getDomNode()), new StreamResult(bos));
182 if (bos != null) {
184 bos.close();
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java 433 BufferedOutputStream bos = null; local
455 bos = new BufferedOutputStream(fileInfo.mOutputStream, 0x10000);
475 bos.write(b, 0, readLength);
515 if (bos != null) {
517 bos.close();

Completed in 706 milliseconds

1 2 3 4