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

1 2 3 4 5 6 7

  /system/core/include/cutils/
properties.h 120 size_t bos = __bos(value); local
121 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();
  /bionic/libc/include/
unistd.h 209 size_t bos = __bos0(buf); local
216 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
220 if (__builtin_constant_p(count) && (count > bos)) {
224 if (__builtin_constant_p(count) && (count <= bos)) {
229 return __read_chk(fd, buf, count, bos);
string.h 183 size_t bos = __bos(dest); local
187 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
193 if (__builtin_constant_p(size) && (size <= bos)) {
198 return __strlcpy_chk(dest, src, size, bos);
204 size_t bos = __bos(dest); local
208 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
214 if (__builtin_constant_p(size) && (size <= bos)) {
219 return __strlcat_chk(dest, src, size, bos);
224 size_t bos = __bos(s); local
228 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE)
243 size_t bos = __bos(s); local
262 size_t bos = __bos(s); local
    [all...]
  /development/ndk/platforms/android-L/include/
unistd.h 222 size_t bos = __bos0(buf); local
229 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
233 if (__builtin_constant_p(count) && (count > bos)) {
237 if (__builtin_constant_p(count) && (count <= bos)) {
242 return __read_chk(fd, buf, count, bos);
  /external/chromium_org/third_party/hwcplus/include/cutils/
properties.h 70 size_t bos = __bos(value); local
71 if (bos < PROPERTY_VALUE_MAX) {
  /prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/
unistd.h 209 size_t bos = __bos0(buf); local
216 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
220 if (__builtin_constant_p(count) && (count > bos)) {
224 if (__builtin_constant_p(count) && (count <= bos)) {
229 return __read_chk(fd, buf, count, bos);
  /prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/
unistd.h 209 size_t bos = __bos0(buf); local
216 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
220 if (__builtin_constant_p(count) && (count > bos)) {
224 if (__builtin_constant_p(count) && (count <= bos)) {
229 return __read_chk(fd, buf, count, bos);
  /prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/
unistd.h 209 size_t bos = __bos0(buf); local
216 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
220 if (__builtin_constant_p(count) && (count > bos)) {
224 if (__builtin_constant_p(count) && (count <= bos)) {
229 return __read_chk(fd, buf, count, bos);
  /prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/
unistd.h 209 size_t bos = __bos0(buf); local
216 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
220 if (__builtin_constant_p(count) && (count > bos)) {
224 if (__builtin_constant_p(count) && (count <= bos)) {
229 return __read_chk(fd, buf, count, bos);
  /prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/
unistd.h 209 size_t bos = __bos0(buf); local
216 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
220 if (__builtin_constant_p(count) && (count > bos)) {
224 if (__builtin_constant_p(count) && (count <= bos)) {
229 return __read_chk(fd, buf, count, bos);
  /prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/
unistd.h 209 size_t bos = __bos0(buf); local
216 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
220 if (__builtin_constant_p(count) && (count > bos)) {
224 if (__builtin_constant_p(count) && (count <= bos)) {
229 return __read_chk(fd, buf, count, bos);
  /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/droiddriver/src/com/google/android/droiddriver/base/
BaseUiDevice.java 90 BufferedOutputStream bos = null; local
92 bos = FileUtils.open(path);
93 screenshot.compress(format, quality, bos);
99 if (bos != null) {
101 bos.close();
  /external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
Transport.java 124 ByteArrayOutputStream bos = new ByteArrayOutputStream(bufferLength); local
126 bos.write(xmlVersionTag.getBytes());
127 System.out.println("bos.write");
130 xw.setOutput(bos, encoding);
135 bos.write('\r');
136 bos.write('\n');
137 bos.flush();
138 result = bos.toByteArray();
140 bos = null;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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...]
  /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);
  /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();
  /external/ksoap2/kobjects/org/ksoap2/kobjects/base64/
Base64.java 120 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
122 decode(s, bos);
126 return bos.toByteArray();

Completed in 1001 milliseconds

1 2 3 4 5 6 7