HomeSort by relevance Sort by last modified time
    Searched refs:buf (Results 101 - 125 of 13582) sorted by null

1 2 3 45 6 7 8 91011>>

  /system/bt/osi/include/
buffer.h 31 // Creates a new reference to the buffer |buf|. A reference is indistinguishable
33 // and vice versa. In other words, this function creates an alias to |buf|. The
35 // releasing the returned buffer does not release |buf|. |buf| must not be NULL.
36 buffer_t* buffer_new_ref(const buffer_t* buf);
38 // Creates a new reference to the last |slice_size| bytes of |buf|. See
41 // (0 < slice_size <= buffer_length). |buf| must not be NULL.
42 buffer_t* buffer_new_slice(const buffer_t* buf, size_t slice_size);
44 // Frees a buffer object. |buf| may be NULL.
45 void buffer_free(buffer_t* buf);
    [all...]
  /external/libxml2/
buf.h 26 int xmlBufSetAllocationScheme(xmlBufPtr buf,
28 int xmlBufGetAllocationScheme(xmlBufPtr buf);
30 void xmlBufFree(xmlBufPtr buf);
31 void xmlBufEmpty(xmlBufPtr buf);
33 /* size_t xmlBufShrink(xmlBufPtr buf, size_t len); */
34 int xmlBufGrow(xmlBufPtr buf, int len);
35 int xmlBufInflate(xmlBufPtr buf, size_t len);
36 int xmlBufResize(xmlBufPtr buf, size_t len);
38 int xmlBufAdd(xmlBufPtr buf, const xmlChar *str, int len);
39 int xmlBufAddHead(xmlBufPtr buf, const xmlChar *str, int len)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
ByteBufferTest.java 46 protected ByteBuffer buf; field in class:ByteBufferTest
49 buf = ByteBuffer.allocate(10);
50 loadTestData1(buf);
51 baseBuf = buf;
59 if (buf.hasArray()) {
60 byte array[] = buf.array();
61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
63 loadTestData1(array, buf.arrayOffset(), buf.capacity())
473 ByteBuffer buf = ByteBuffer.allocate(BUFFER_LENGTH); local
    [all...]
ReadOnlyDoubleBufferTest.java 25 buf = buf.asReadOnlyBuffer();
26 baseBuf = buf;
34 assertTrue(buf.isReadOnly());
38 assertFalse(buf.hasArray());
43 buf.array();
50 DoubleBuffer duplicate = buf.duplicate();
51 assertEquals(buf.hashCode(), duplicate.hashCode());
56 buf.arrayOffset();
64 buf.compact()
    [all...]
ReadOnlyFloatBufferTest.java 24 buf = buf.asReadOnlyBuffer();
25 baseBuf = buf;
33 assertTrue(buf.isReadOnly());
37 assertFalse(buf.hasArray());
42 buf.array();
50 FloatBuffer duplicate = buf.duplicate();
51 assertEquals(buf.hashCode(), duplicate.hashCode());
56 buf.arrayOffset();
65 buf.compact()
    [all...]
ReadOnlyIntBufferTest.java 24 buf = buf.asReadOnlyBuffer();
25 baseBuf = buf;
33 assertTrue(buf.isReadOnly());
37 assertFalse(buf.hasArray());
42 buf.array();
50 IntBuffer duplicate = buf.duplicate();
51 assertEquals(buf.hashCode(), duplicate.hashCode());
56 buf.arrayOffset();
65 buf.compact()
    [all...]
ReadOnlyLongBufferTest.java 24 buf = buf.asReadOnlyBuffer();
25 baseBuf = buf;
33 assertTrue(buf.isReadOnly());
37 assertFalse(buf.hasArray());
42 buf.array();
50 LongBuffer duplicate = buf.duplicate();
51 assertEquals(buf.hashCode(), duplicate.hashCode());
56 buf.arrayOffset();
65 buf.compact()
    [all...]
ReadOnlyShortBufferTest.java 24 buf = buf.asReadOnlyBuffer();
25 baseBuf = buf;
33 assertTrue(buf.isReadOnly());
37 assertFalse(buf.hasArray());
42 buf.array();
50 ShortBuffer duplicate = buf.duplicate();
51 assertEquals(buf.hashCode(), duplicate.hashCode());
56 buf.arrayOffset();
65 buf.compact()
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/test/
callback.go 270 var buf [256]byte
271 use(buf[:])
308 var buf [256]byte
309 use(buf[:])
314 func use(buf []byte) {
315 for _, c := range buf {
532 // Edit .+1,$ | seq 4 4 5000 | sed 's/.*/func stack&() { var buf [&]byte; use(buf[:]); C.callGoStackCheck() }/'
533 func stack4() { var buf [4]byte; use(buf[:]); C.callGoStackCheck()
    [all...]
  /prebuilts/go/linux-x86/misc/cgo/test/
callback.go 270 var buf [256]byte
271 use(buf[:])
308 var buf [256]byte
309 use(buf[:])
314 func use(buf []byte) {
315 for _, c := range buf {
532 // Edit .+1,$ | seq 4 4 5000 | sed 's/.*/func stack&() { var buf [&]byte; use(buf[:]); C.callGoStackCheck() }/'
533 func stack4() { var buf [4]byte; use(buf[:]); C.callGoStackCheck()
    [all...]
  /external/libexif/contrib/examples/
photographer.c 14 static void trim_spaces(char *buf)
16 char *s = buf-1;
17 for (; *buf; ++buf) {
18 if (*buf != ' ')
19 s = buf;
30 char buf[1024]; local
33 exif_entry_get_value(entry, buf, sizeof(buf));
36 trim_spaces(buf);
53 char buf[1024]; local
105 char buf[64]; local
    [all...]
  /external/libcups/filter/
error.c 50 _cups_raster_error_t *buf = get_error_buffer(); local
73 if (bytes > (ssize_t)(buf->end - buf->current))
83 size = (size_t)(buf->end - buf->start + 2 * bytes + 1024);
85 if (buf->start)
86 temp = realloc(buf->start, size);
97 buf->end = temp + size;
98 buf->current = temp + (buf->current - buf->start)
118 _cups_raster_error_t *buf = get_error_buffer(); local
140 _cups_raster_error_t *buf = get_error_buffer(); local
183 _cups_raster_error_t *buf; \/* Pointer to error buffer *\/ local
241 _cups_raster_error_t *buf = (_cups_raster_error_t *)value; local
266 static _cups_raster_error_t buf = { 0, 0, 0 }; local
    [all...]
  /external/freetype/src/gzip/
adler32.c 14 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
15 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
16 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
17 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4)
    [all...]
  /system/core/libutils/
SharedBufferTest.cpp 32 android::SharedBuffer* buf = local
34 ASSERT_EQ(nullptr, buf);
36 buf = android::SharedBuffer::alloc(0);
37 ASSERT_NE(nullptr, buf);
38 ASSERT_EQ(0U, buf->size());
39 buf->release();
43 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); local
44 EXPECT_DEATH(buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer)), "");
45 buf = android::SharedBuffer::alloc(10);
46 EXPECT_DEATH(buf->editResize(SIZE_MAX), "")
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
BaseDexReader.java 55 byte[] buf = dexBuf.buf;
57 result = buf[end++] & 0xff;
61 currentByteValue = buf[end++] & 0xff;
66 currentByteValue = buf[end++] & 0xff;
71 currentByteValue = buf[end++] & 0xff;
76 currentByteValue = buf[end++] & 0xff;
99 byte[] buf = dexBuf.buf;
101 result = buf[end++] & 0xff
    [all...]
  /bionic/tests/
resolv_test.cpp 42 uint8_t buf[128]; local
43 ASSERT_EQ(128, b64_pton(data, buf, sizeof(buf)));
  /external/compiler-rt/test/asan/TestCases/
printf-1.c 20 char buf[4]; local
21 snprintf(buf, 1000, "qwe");
22 printf("%s\n", buf);
  /external/google-breakpad/src/client/linux/log/
log.cc 40 int write(const char* buf, size_t nbytes) {
42 return __android_log_write(ANDROID_LOG_WARN, "google-breakpad", buf);
44 return sys_write(2, buf, nbytes);
  /external/libcxx/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/
rdbuf.pass.cpp 22 char buf[] = "123 4.5 dog"; local
23 const std::ostrstream out(buf, 0);
26 assert(buf == std::string("a23 4.5 dog"));
  /external/libcxx/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/
rdbuf.pass.cpp 22 char buf[] = "123 4.5 dog"; local
23 const std::strstream out(buf, 0);
26 assert(buf == std::string("a23 4.5 dog"));
  /external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
string.pass.cpp 24 std::stringbuf buf("testing");
25 assert(buf.str() == "testing");
28 std::stringbuf buf("testing", std::ios_base::in);
29 assert(buf.str() == "testing");
32 std::stringbuf buf("testing", std::ios_base::out);
33 assert(buf.str() == "testing");
36 std::wstringbuf buf(L"testing");
37 assert(buf.str() == L"testing");
40 std::wstringbuf buf(L"testing", std::ios_base::in);
41 assert(buf.str() == L"testing")
    [all...]
  /external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/
new.pass.cpp 25 char buf[sizeof(A)]; local
27 A* ap = new(buf) A;
28 assert((char*)ap == buf);
  /external/pdfium/core/fxcrt/
fx_system_unittest.cpp 23 FX_CHAR buf[kBufLen]; local
24 buf[kBufLen - 1] = kSentinel;
25 FXSYS_itoa(input, buf, 16);
26 EXPECT_EQ(std::string(expected_output), buf); local
27 EXPECT_EQ(kSentinel, buf[kBufLen - 1]);
32 FX_CHAR buf[kBufLen]; local
33 buf[kBufLen - 1] = kSentinel;
34 FXSYS_itoa(input, buf, 10);
35 EXPECT_EQ(std::string(expected_output), buf); local
36 EXPECT_EQ(kSentinel, buf[kBufLen - 1])
41 FX_CHAR buf[kBufLen]; local
44 EXPECT_EQ(std::string(expected_output), buf); local
50 FX_CHAR buf[kBufLen]; local
53 EXPECT_EQ(std::string(expected_output), buf); local
59 FX_CHAR buf[kBufLen]; local
62 EXPECT_EQ(std::string(expected_output), buf); local
68 FX_CHAR buf[kBufLen]; local
71 EXPECT_EQ(std::string(expected_output), buf); local
78 FX_CHAR buf[32]; local
118 FX_CHAR buf[32]; local
    [all...]
  /external/syslinux/com32/include/
bufprintf.h 4 char *buf; member in struct:print_buf
9 int vbufprintf(struct print_buf *buf, const char *format, va_list ap);
10 int bufprintf(struct print_buf *buf, const char *format, ...);
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTestIncompatibleException.java 52 StringBuffer buf = new StringBuffer( local
54 buf.append(feature);
55 buf.append("\" version=\"");
56 buf.append(version);
57 buf.append("\".");
58 return new DOMTestIncompatibleException(buf.toString());
63 StringBuffer buf = new StringBuffer( local
65 buf.append(href);
66 buf.append("\" not available for =\"");
67 buf.append(contentType)
    [all...]

Completed in 982 milliseconds

1 2 3 45 6 7 8 91011>>