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

12 3 4 5 6 7 8 91011>>

  /external/openssh/
sshbuf.c 32 sshbuf_check_sanity(const struct sshbuf *buf)
35 if (__predict_false(buf == NULL ||
36 (!buf->readonly && buf->d != buf->cd) ||
37 buf->refcount < 1 || buf->refcount > SSHBUF_REFS_MAX ||
38 buf->cd == NULL ||
39 (buf->dont_free && (buf->readonly || buf->parent != NULL)) |
    [all...]
  /toolchain/binutils/binutils-2.25/libiberty/
simple-object-common.h 183 simple_object_fetch_big_16 (const unsigned char *buf)
185 return ((unsigned short) buf[0] << 8) | (unsigned short) buf[1];
191 simple_object_fetch_little_16 (const unsigned char *buf)
193 return ((unsigned short) buf[1] << 8) | (unsigned short) buf[0];
199 simple_object_fetch_big_32 (const unsigned char *buf)
201 return (((unsigned int) buf[0] << 24)
202 | ((unsigned int) buf[1] << 16)
203 | ((unsigned int) buf[2] << 8
    [all...]
vsnprintf.c 28 @deftypefn Supplemental int vsnprintf (char *@var{buf}, size_t @var{n}, @
32 @var{buf} at most @code{@var{n}-1} bytes of text, followed by a
62 char *buf = 0; local
63 int result = vasprintf (&buf, format, ap);
65 if (!buf)
69 free (buf);
73 result = strlen (buf);
77 memcpy (s, buf, result+1);
80 memcpy (s, buf, n-1);
84 free (buf);
109 char buf[128]; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
FloatBufferTest.java 37 protected FloatBuffer buf; field in class:FloatBufferTest
40 buf = FloatBuffer.allocate(BUFFER_LENGTH);
41 loadTestData1(buf);
42 baseBuf = buf;
46 buf = null;
51 float array[] = buf.array();
52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
54 loadTestData1(array, buf.arrayOffset(), buf.capacity())
    [all...]
LongBufferTest.java 37 protected LongBuffer buf; field in class:LongBufferTest
40 buf = LongBuffer.allocate(BUFFER_LENGTH);
41 loadTestData1(buf);
42 baseBuf = buf;
46 buf = null;
51 long array[] = buf.array();
52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
54 loadTestData1(array, buf.arrayOffset(), buf.capacity())
    [all...]
IntBufferTest.java 37 protected IntBuffer buf; field in class:IntBufferTest
40 buf = IntBuffer.allocate(BUFFER_LENGTH);
41 loadTestData1(buf);
42 baseBuf = buf;
46 buf = null;
51 int array[] = buf.array();
52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
54 loadTestData1(array, buf.arrayOffset(), buf.capacity())
    [all...]
ShortBufferTest.java 36 protected ShortBuffer buf; field in class:ShortBufferTest
39 buf = ShortBuffer.allocate(BUFFER_LENGTH);
40 loadTestData1(buf);
41 baseBuf = buf;
45 buf = null;
50 short array[] = buf.array();
51 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
53 loadTestData1(array, buf.arrayOffset(), buf.capacity())
    [all...]
SliceSliceDirectByteBufferTest.java 24 buf.position(1);
25 buf = buf.slice();
26 buf.position(1);
27 buf = buf.slice();
28 baseBuf = buf;
DoubleBufferTest.java 36 protected DoubleBuffer buf; field in class:DoubleBufferTest
39 buf = DoubleBuffer.allocate(BUFFER_LENGTH);
40 loadTestData1(buf);
41 baseBuf = buf;
45 buf = null;
75 double array[] = buf.array();
76 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
78 loadTestData1(array, buf.arrayOffset(), buf.capacity())
    [all...]
CharBufferTest.java 37 protected CharBuffer buf; field in class:CharBufferTest
44 buf = CharBuffer.wrap(charscopy);
45 baseBuf = buf;
49 buf = null;
54 char array[] = buf.array();
55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
57 loadTestData1(array, buf.arrayOffset(), buf.capacity())
    [all...]
  /external/kmod/shared/
strbuf.h 14 void strbuf_init(struct strbuf *buf);
15 void strbuf_release(struct strbuf *buf);
16 void strbuf_clear(struct strbuf *buf);
19 char *strbuf_steal(struct strbuf *buf);
25 const char *strbuf_str(struct strbuf *buf);
27 bool strbuf_pushchar(struct strbuf *buf, char ch);
28 unsigned strbuf_pushchars(struct strbuf *buf, const char *str);
29 void strbuf_popchar(struct strbuf *buf);
30 void strbuf_popchars(struct strbuf *buf, unsigned n);
scratchbuf.c 24 void scratchbuf_init(struct scratchbuf *buf, char *stackbuf, size_t size)
26 buf->bytes = stackbuf;
27 buf->size = size;
28 buf->need_free = false;
31 int scratchbuf_alloc(struct scratchbuf *buf, size_t size)
35 if (size <= buf->size)
38 if (buf->need_free) {
39 tmp = realloc(buf->bytes, size);
46 memcpy(tmp, buf->bytes, buf->size)
    [all...]
  /external/clang/test/Sema/
builtin-longjmp.c 17 jmp_buf buf; variable
26 __builtin_longjmp(buf, 1); // expected-error {{__builtin_longjmp is not supported for the current target}}
32 if (!__builtin_setjmp(buf)) // expected-error {{__builtin_setjmp is not supported for the current target}}
  /external/compiler-rt/test/asan/TestCases/Posix/
strerror_r_test.cc 10 char buf[1024]; local
11 char *res = (char *)strerror_r(300, buf, sizeof(buf));
  /external/dtc/tests/
mangle-layout.c 33 char *buf; member in struct:bufstate
37 static void expand_buf(struct bufstate *buf, int newsize)
39 buf->buf = realloc(buf->buf, newsize);
40 if (!buf->buf)
42 buf->size = newsize;
45 static void new_header(struct bufstate *buf, int version, const void *fdt
127 struct bufstate buf = {NULL, 0}; local
    [all...]
  /external/libpng/contrib/tools/
png-fix-itxt.c 45 unsigned char buf[MAX_LENGTH]; local
62 GETBREAK; buf[0] = c; length = c; length <<= 8;
63 GETBREAK; buf[1] = c; length += c; length <<= 8;
64 GETBREAK; buf[2] = c; length += c; length <<= 8;
65 GETBREAK; buf[3] = c; length += c;
68 GETBREAK; buf[4] = c;
69 GETBREAK; buf[5] = c;
70 GETBREAK; buf[6] = c;
71 GETBREAK; buf[7] = c;
75 if (buf[4] == 105 && buf[5] == 84 && buf[6] == 88 && buf[7] == 116
    [all...]
  /bionic/tests/
string_posix_strerror_r_test.cpp 41 char buf[256]; local
44 ASSERT_EQ(0, strerror_r(0, buf, sizeof(buf)));
45 ASSERT_STREQ("Success", buf);
46 ASSERT_EQ(0, strerror_r(1, buf, sizeof(buf)));
47 ASSERT_STREQ("Operation not permitted", buf);
50 ASSERT_EQ(0, strerror_r(-1, buf, sizeof(buf)));
51 ASSERT_STREQ("Unknown error -1", buf);
    [all...]
  /external/dhcpcd-6.8.2/compat/
endian.h 34 be32enc(uint8_t *buf, uint32_t u)
37 buf[0] = (uint8_t)((u >> 24) & 0xff);
38 buf[1] = (uint8_t)((u >> 16) & 0xff);
39 buf[2] = (uint8_t)((u >> 8) & 0xff);
40 buf[3] = (uint8_t)(u & 0xff);
44 be64enc(uint8_t *buf, uint64_t u)
47 be32enc(buf, (uint32_t)(u >> 32));
48 be32enc(buf + sizeof(uint32_t), (uint32_t)(u & 0xffffffffULL));
52 be16dec(const uint8_t *buf)
55 return (uint16_t)(buf[0] << 8 | buf[1])
    [all...]
  /external/libunwind/tests/
Lrs-race.c 49 void *buf[20]; local
52 if ((n = unw_backtrace (buf, 20)) < 3)
59 void *buf[20]; local
62 if ((n = unw_backtrace (buf, 20)) < 3)
69 void *buf[20]; local
72 if ((n = unw_backtrace (buf, 20)) < 3)
79 void *buf[20]; local
82 if ((n = unw_backtrace (buf, 20)) < 3)
89 void *buf[20]; local
92 if ((n = unw_backtrace (buf, 20)) < 3
99 void *buf[20]; local
109 void *buf[20]; local
119 void *buf[20]; local
129 void *buf[20]; local
139 void *buf[20]; local
149 void *buf[20]; local
159 void *buf[20]; local
169 void *buf[20]; local
179 void *buf[20]; local
189 void *buf[20]; local
199 void *buf[20]; local
209 void *buf[20]; local
219 void *buf[20]; local
229 void *buf[20]; local
239 void *buf[20]; local
249 void *buf[20]; local
259 void *buf[20]; local
269 void *buf[20]; local
279 void *buf[20]; local
289 void *buf[20]; local
299 void *buf[20]; local
309 void *buf[20]; local
319 void *buf[20]; local
329 void *buf[20]; local
339 void *buf[20]; local
349 void *buf[20]; local
359 void *buf[20]; local
369 void *buf[20]; local
379 void *buf[20]; local
389 void *buf[20]; local
399 void *buf[20]; local
409 void *buf[20]; local
419 void *buf[20]; local
429 void *buf[20]; local
439 void *buf[20]; local
449 void *buf[20]; local
459 void *buf[20]; local
469 void *buf[20]; local
479 void *buf[20]; local
489 void *buf[20]; local
499 void *buf[20]; local
509 void *buf[20]; local
519 void *buf[20]; local
529 void *buf[20]; local
539 void *buf[20]; local
549 void *buf[20]; local
559 void *buf[20]; local
569 void *buf[20]; local
579 void *buf[20]; local
589 void *buf[20]; local
599 void *buf[20]; local
609 void *buf[20]; local
619 void *buf[20]; local
629 void *buf[20]; local
639 void *buf[20]; local
649 void *buf[20]; local
659 void *buf[20]; local
669 void *buf[20]; local
679 void *buf[20]; local
689 void *buf[20]; local
699 void *buf[20]; local
709 void *buf[20]; local
719 void *buf[20]; local
729 void *buf[20]; local
739 void *buf[20]; local
749 void *buf[20]; local
759 void *buf[20]; local
769 void *buf[20]; local
779 void *buf[20]; local
789 void *buf[20]; local
799 void *buf[20]; local
809 void *buf[20]; local
819 void *buf[20]; local
829 void *buf[20]; local
839 void *buf[20]; local
849 void *buf[20]; local
859 void *buf[20]; local
869 void *buf[20]; local
879 void *buf[20]; local
889 void *buf[20]; local
899 void *buf[20]; local
909 void *buf[20]; local
919 void *buf[20]; local
929 void *buf[20]; local
939 void *buf[20]; local
949 void *buf[20]; local
959 void *buf[20]; local
969 void *buf[20]; local
979 void *buf[20]; local
989 void *buf[20]; local
999 void *buf[20]; local
1009 void *buf[20]; local
1019 void *buf[20]; local
1029 void *buf[20]; local
1039 void *buf[20]; local
1049 void *buf[20]; local
1059 void *buf[20]; local
1069 void *buf[20]; local
1079 void *buf[20]; local
1089 void *buf[20]; local
1099 void *buf[20]; local
1109 void *buf[20]; local
1119 void *buf[20]; local
1129 void *buf[20]; local
1139 void *buf[20]; local
1149 void *buf[20]; local
1159 void *buf[20]; local
1169 void *buf[20]; local
1179 void *buf[20]; local
1189 void *buf[20]; local
1199 void *buf[20]; local
1209 void *buf[20]; local
1219 void *buf[20]; local
1229 void *buf[20]; local
1239 void *buf[20]; local
1249 void *buf[20]; local
1259 void *buf[20]; local
1269 void *buf[20]; local
1279 void *buf[20]; local
1289 void *buf[20]; local
1299 void *buf[20]; local
1309 void *buf[20]; local
1319 void *buf[20]; local
1329 void *buf[20]; local
    [all...]
  /external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
default.pass.cpp 23 std::stringbuf buf; local
24 assert(buf.str() == "");
27 std::wstringbuf buf; local
28 assert(buf.str() == L"");
  /external/syslinux/gpxe/src/core/
cpio.c 38 char buf[9]; local
40 snprintf ( buf, sizeof ( buf ), "%08lx", value );
41 memcpy ( field, buf, 8 );
  /external/wpa_supplicant_8/src/utils/
wpabuf.c 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf)
25 ((const u8 *) buf - sizeof(struct wpabuf_trace));
30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len)
33 struct wpabuf_trace *trace = wpabuf_get_trace(buf);
40 buf, (unsigned long) buf->size, (unsigned long) buf->used,
49 struct wpabuf *buf = *_buf; local
54 if (buf == NULL) {
60 trace = wpabuf_get_trace(buf);
118 struct wpabuf *buf; local
140 struct wpabuf *buf; local
162 struct wpabuf *buf = wpabuf_alloc(len); local
171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); local
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.cons/
default.pass.cpp 23 std::stringbuf buf; local
24 assert(buf.str() == "");
27 std::wstringbuf buf; local
28 assert(buf.str() == L"");
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
default.pass.cpp 23 std::stringbuf buf; local
24 assert(buf.str() == "");
27 std::wstringbuf buf; local
28 assert(buf.str() == L"");
  /hardware/intel/img/hwcomposer/merrifield/ips/common/
WsbmWrapper.h 25 extern int psbWsbmAllocateFromUB(uint32_t size, uint32_t align, void ** buf, void *user_pt);
26 extern int psbWsbmAllocateTTMBuffer(uint32_t size, uint32_t align,void ** buf);
27 extern int psbWsbmDestroyTTMBuffer(void * buf);
28 extern void * psbWsbmGetCPUAddress(void * buf);
29 extern uint32_t psbWsbmGetGttOffset(void * buf);
30 extern int psbWsbmWrapTTMBuffer(uint64_t handle, void **buf);
31 extern int psbWsbmWrapTTMBuffer2(uint64_t handle, void **buf);
32 extern int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr);
33 extern int psbWsbmUnReference(void *buf);
34 extern int psbWsbmWaitIdle(void *buf);
    [all...]

Completed in 559 milliseconds

12 3 4 5 6 7 8 91011>>