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

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/include/bits/fortify/
stdio.h 102 size_t bos = __bos0(buf);
104 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
107 return __fread_chk(buf, size, count, stream, bos);
117 size_t bos = __bos0(buf); variable
119 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
123 return __fwrite_chk(buf, size, count, stream, bos);
134 size_t bos = __bos(dest); variable
136 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
140 return __fgets_chk(dest, size, stream, bos);
174 size_t bos = __bos0(buf) local
198 size_t bos = __bos0(buf); local
224 size_t bos = __bos(dest); local
    [all...]
unistd.h 75 size_t bos = __bos(buf); local
77 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
81 return __getcwd_chk(buf, size, bos);
91 size_t bos = __bos0(buf); local
97 return __PREAD_PREFIX(chk)(fd, buf, count, offset, bos);
105 size_t bos = __bos0(buf); local
107 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE) {
111 return __pread64_chk(fd, buf, count, offset, bos);
121 size_t bos = __bos0(buf); local
123 if (bos == __BIONIC_FORTIFY_UNKNOWN_SIZE)
135 size_t bos = __bos0(buf); local
151 size_t bos = __bos0(buf); local
167 size_t bos = __bos0(buf); local
183 size_t bos = __bos(buf); local
197 size_t bos = __bos(buf); local
239 size_t bos = __bos(buf); variable
260 size_t bos = __bos0(buf); local
283 size_t bos = __bos0(buf); local
308 size_t bos = __bos0(buf); local
331 size_t bos = __bos0(buf); local
356 size_t bos = __bos0(buf); local
381 size_t bos = __bos0(buf); local
402 size_t bos = __bos(buf); local
425 size_t bos = __bos(buf); local
    [all...]
  /external/caliper/examples/src/main/java/examples/
CompressionSizeBenchmark.java 73 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
77 bos.write(buf, 0, count);
80 bos.close();
83 return bos.toByteArray();
  /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();
  /art/test/909-attach-agent/src-art/
Main.java 95 BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(tmp)); local
102 bos.write(buf, 0, r);
105 bos.close();
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DumpDatabaseAction.java 55 BufferedOutputStream bos = null; local
67 bos = new BufferedOutputStream(new FileOutputStream(outFile));
73 bos.write(buffer, 0, bytesRead);
80 if (bos != null) {
82 bos.close();
  /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/io/appium/droiddriver/base/
BaseUiDevice.java 96 BufferedOutputStream bos = null; local
98 bos = FileUtils.open(path);
99 screenshot.compress(format, quality, bos);
105 if (bos != null) {
107 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...]
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...]
  /test/suite_harness/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();
  /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/annotation-tools/asmx/test/conform/org/objectweb/asm/xml/
SAXAdapterTest.class 
SAXAdapterTest.java 57 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
61 handler.setResult(new SAXResult(new ASMContentHandler(bos, false)));
66 assertEquals(cr, new ClassReader(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();
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
HttpTransportSE.java 244 ByteArrayOutputStream bos = new ByteArrayOutputStream(); local
252 bos.write(buf, 0, rd);
255 bos.flush();
256 buf = bos.toByteArray();
  /frameworks/base/cmds/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();
  /cts/tests/backup/app/src/android/backup/app/
MainActivity.java 71 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(f))) {
74 bos.write(bytes, 0, bytesToWrite);
  /external/libusb/examples/
testlibusb.c 101 struct libusb_bos_descriptor *bos; local
104 ret = libusb_get_bos_descriptor(handle, &bos);
109 printf(" Binary Object Store (BOS):\n");
110 printf(" wTotalLength: %d\n", bos->wTotalLength);
111 printf(" bNumDeviceCaps: %d\n", bos->bNumDeviceCaps);
113 if(bos->dev_capability[0]->bDevCapabilityType == LIBUSB_BT_USB_2_0_EXTENSION) {
116 ret = libusb_get_usb_2_0_extension_descriptor(NULL, bos->dev_capability[0],&usb_2_0_extension);
125 if(bos->dev_capability[0]->bDevCapabilityType == LIBUSB_BT_SS_USB_DEVICE_CAPABILITY) {
128 ret = libusb_get_ss_usb_device_capability_descriptor(NULL, bos->dev_capability[0],&dev_cap);
137 libusb_free_bos_descriptor(bos);
    [all...]

Completed in 290 milliseconds

1 2 3 4 5 6 7 8 91011>>