HomeSort by relevance Sort by last modified time
    Searched refs:buf (Results 151 - 175 of 13174) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
default.pass.cpp 38 std::stringbuf buf; local
39 assert(buf.str() == "");
42 std::wstringbuf buf; local
43 assert(buf.str() == L"");
46 testbuf<char> buf; local
47 buf.check();
50 testbuf<wchar_t> buf; local
51 buf.check();
  /external/libvpx/libvpx/
vpxstats.c 25 stats->buf.sz = 0;
26 stats->buf.buf = NULL;
38 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file);
41 stats->buf.buf = malloc(stats->buf_alloc_sz);
43 if (!stats->buf.buf)
47 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file)
    [all...]
  /external/libxcam/xcore/
dma_video_buffer.cpp 28 friend SmartPtr<DmaVideoBuffer> external_buf_to_dma_buf (XCamVideoBuffer *buf);
30 DmaVideoBufferPriv (const VideoBufferInfo &info, XCamVideoBuffer *buf);
70 DmaVideoBufferPriv::DmaVideoBufferPriv (const VideoBufferInfo &info, XCamVideoBuffer *buf)
71 : DmaVideoBuffer (info, xcam_video_buffer_get_fd (buf), false)
72 , _external_buf (buf)
74 if (buf->ref)
75 xcam_video_buffer_ref (buf);
85 external_buf_to_dma_buf (XCamVideoBuffer *buf)
91 ERROR, buf, NULL,
92 "external_buf_to_dma_buf failed since buf is NULL")
    [all...]
  /external/ltp/testcases/kernel/device-drivers/v4l/user_space/
v4l2_show.c 46 void show_v4l2_buffer(struct v4l2_buffer *buf)
68 buf->index,
69 buf->type,
70 buf->bytesused,
71 buf->flags,
72 buf->field,
73 buf->timestamp.tv_sec,
74 buf->timestamp.tv_usec,
75 buf->timecode.type,
76 buf->timecode.flags
    [all...]
  /external/strace/tests/
sprintrc.c 55 static char buf[4096]; local
64 ? snprintf(buf, sizeof(buf), formats[fmt], errno2name())
65 : snprintf(buf, sizeof(buf), "%ld", rc);
69 if ((size_t) ret >= sizeof(buf))
71 " no more than %zu", ret, sizeof(buf));
73 return buf;
  /external/strace/tests-m32/
sprintrc.c 55 static char buf[4096]; local
64 ? snprintf(buf, sizeof(buf), formats[fmt], errno2name())
65 : snprintf(buf, sizeof(buf), "%ld", rc);
69 if ((size_t) ret >= sizeof(buf))
71 " no more than %zu", ret, sizeof(buf));
73 return buf;
  /external/strace/tests-mx32/
sprintrc.c 55 static char buf[4096]; local
64 ? snprintf(buf, sizeof(buf), formats[fmt], errno2name())
65 : snprintf(buf, sizeof(buf), "%ld", rc);
69 if ((size_t) ret >= sizeof(buf))
71 " no more than %zu", ret, sizeof(buf));
73 return buf;
  /external/syslinux/com32/lib/
getcwd.c 9 char *getcwd(char *buf, size_t size)
11 return core_getcwd(buf, size);
  /external/valgrind/coregrind/m_gdbserver/
regcache.h 45 void registers_to_string (char *buf);
49 void registers_from_string (const char *buf);
65 /* *mod set to True if *buf provides a new value. */
66 void supply_register (int n, const void *buf, Bool *mod);
68 /* Reads register data from buf (hex string in target byte order)
70 *mod set to True if *buf provides a new value. */
71 void supply_register_from_string (int n, const char *buf, Bool *mod);
73 /* *mod set to True if *buf provides a new value. */
74 void supply_register_by_name (const char *name, const void *buf, Bool *mod);
76 void collect_register (int n, void *buf);
    [all...]
  /frameworks/base/core/java/android/database/
CharArrayBuffer.java 27 public CharArrayBuffer(char[] buf) {
28 data = buf;
  /hardware/intel/img/hwcomposer/merrifield/ips/common/
Wsbm.cpp 57 bool Wsbm::allocateTTMBuffer(uint32_t size, uint32_t align, void ** buf)
59 int ret = psbWsbmAllocateTTMBuffer(size, align, buf);
68 bool Wsbm::allocateTTMBufferUB(uint32_t size, uint32_t align, void ** buf, void *user_pt)
70 int ret = psbWsbmAllocateFromUB(size, align, buf, user_pt);
79 bool Wsbm::destroyTTMBuffer(void * buf)
81 int ret = psbWsbmDestroyTTMBuffer(buf);
90 void * Wsbm::getCPUAddress(void * buf)
92 return psbWsbmGetCPUAddress(buf);
95 uint32_t Wsbm::getGttOffset(void * buf)
97 return psbWsbmGetGttOffset(buf);
    [all...]
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
Wsbm.cpp 57 bool Wsbm::allocateTTMBuffer(uint32_t size, uint32_t align, void ** buf)
59 int ret = psbWsbmAllocateTTMBuffer(size, align, buf);
68 bool Wsbm::allocateTTMBufferUB(uint32_t size, uint32_t align, void ** buf, void *user_pt)
70 int ret = psbWsbmAllocateFromUB(size, align, buf, user_pt);
79 bool Wsbm::destroyTTMBuffer(void * buf)
81 int ret = psbWsbmDestroyTTMBuffer(buf);
90 void * Wsbm::getCPUAddress(void * buf)
92 return psbWsbmGetCPUAddress(buf);
95 uint32_t Wsbm::getGttOffset(void * buf)
97 return psbWsbmGetGttOffset(buf);
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/format/
TestCharLiteralPrinter.java 74 buf.append("EXISTING");
75 getFormatter('a').formatTo(EMPTY_DTA, buf);
76 assertEquals(buf.toString(), "EXISTINGa");
80 buf.append("EXISTING");
81 getFormatter('a').formatTo(dta, buf);
82 assertEquals(buf.toString(), "EXISTINGa");
86 getFormatter('a').formatTo(dta, buf);
87 assertEquals(buf.toString(), "a");
TestStringLiteralPrinter.java 74 buf.append("EXISTING");
75 getFormatter("hello").formatTo(EMPTY_DTA, buf);
76 assertEquals(buf.toString(), "EXISTINGhello");
80 buf.append("EXISTING");
81 getFormatter("hello").formatTo(dta, buf);
82 assertEquals(buf.toString(), "EXISTINGhello");
89 getFormatter("hello").formatTo(dta, buf);
90 assertEquals(buf.toString(), "hello");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/
str.pass.cpp 22 const char buf[] = "123 4.5 dog"; local
23 std::istrstream in(buf);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
member_swap.pass.cpp 24 std::stringbuf buf; local
25 buf.swap(buf1);
26 assert(buf.str() == "testing");
31 std::stringbuf buf; local
32 buf.swap(buf1);
33 assert(buf.str() == "testing");
38 std::stringbuf buf; local
39 buf.swap(buf1);
40 assert(buf.str() == "testing");
45 std::wstringbuf buf; local
52 std::wstringbuf buf; local
59 std::wstringbuf buf; local
    [all...]
move.pass.cpp 24 std::stringbuf buf; local
25 buf = move(buf1);
26 assert(buf.str() == "testing");
30 std::stringbuf buf; local
31 buf = move(buf1);
32 assert(buf.str() == "testing");
36 std::stringbuf buf; local
37 buf = move(buf1);
38 assert(buf.str() == "testing");
42 std::wstringbuf buf; local
48 std::wstringbuf buf; local
54 std::wstringbuf buf; local
    [all...]
nonmember_swap.pass.cpp 26 std::stringbuf buf; local
27 swap(buf, buf1);
28 assert(buf.str() == "testing");
33 std::stringbuf buf; local
34 swap(buf, buf1);
35 assert(buf.str() == "testing");
40 std::stringbuf buf; local
41 swap(buf, buf1);
42 assert(buf.str() == "testing");
47 std::wstringbuf buf; local
54 std::wstringbuf buf; local
61 std::wstringbuf buf; local
    [all...]
  /toolchain/binutils/binutils-2.27/opcodes/
sysdep.h 65 #define OPCODES_SIGSETJMP(buf) sigsetjmp((buf), 0)
66 #define OPCODES_SIGLONGJMP(buf,val) siglongjmp((buf), (val))
69 #define OPCODES_SIGSETJMP(buf) setjmp(buf)
70 #define OPCODES_SIGLONGJMP(buf,val) longjmp((buf), (val))
  /toolchain/binutils/binutils-2.27/zlib/contrib/blast/
blast.h 38 typedef unsigned (*blast_in)(void *how, unsigned char **buf);
39 typedef int (*blast_out)(void *how, unsigned char *buf, unsigned len);
52 * The input function is invoked: len = infun(how, &buf), where buf is set by
58 * The output function is invoked: err = outfun(how, buf, len), where the bytes
59 * to be written are buf[0..len-1]. If err is not zero, then blast() returns
  /external/flatbuffers/go/
encode.go 22 func GetByte(buf []byte) byte {
23 return byte(GetUint8(buf))
27 func GetBool(buf []byte) bool {
28 return buf[0] == 1
32 func GetUint8(buf []byte) (n uint8) {
33 n = uint8(buf[0])
38 func GetUint16(buf []byte) (n uint16) {
39 n |= uint16(buf[0])
40 n |= uint16(buf[1]) << 8
45 func GetUint32(buf []byte) (n uint32)
    [all...]
  /external/wpa_supplicant_8/src/utils/
wpabuf.h 12 /* wpabuf::buf is a pointer to external data */
23 u8 *buf; /* pointer to the head of the buffer */ member in struct:wpabuf
29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
34 void wpabuf_free(struct wpabuf *buf);
35 void wpabuf_clear_free(struct wpabuf *buf);
36 void * wpabuf_put(struct wpabuf *buf, size_t len);
38 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len);
39 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
40 struct wpabuf * wpabuf_parse_bin(const char *buf);
45 * @buf: wpabuf buffe
    [all...]
  /external/mesa3d/src/gallium/state_trackers/clover/api/
device.cpp 100 property_buffer buf { r_buf, size, r_size };
105 buf.as_scalar<cl_device_type>() = dev.type();
109 buf.as_scalar<cl_uint>() = dev.vendor_id();
113 buf.as_scalar<cl_uint>() = dev.max_compute_units();
117 buf.as_scalar<cl_uint>() = dev.max_block_size().size();
121 buf.as_vector<size_t>() = dev.max_block_size();
125 buf.as_scalar<size_t>() = dev.max_threads_per_block();
129 buf.as_scalar<cl_uint>() = 16;
133 buf.as_scalar<cl_uint>() = 8;
137 buf.as_scalar<cl_uint>() = 4
    [all...]
  /external/wpa_supplicant_8/src/crypto/
aes-eax.c 32 u8 *buf; local
46 buf = os_malloc(buf_len);
47 if (buf == NULL)
50 os_memset(buf, 0, 15);
52 buf[15] = 0;
53 os_memcpy(buf + 16, nonce, nonce_len);
54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
57 buf[15] = 1;
58 os_memcpy(buf + 16, hdr, hdr_len);
59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)
96 u8 *buf; local
    [all...]
  /external/ltp/testcases/kernel/sched/nptl/
nptl01.c 72 void call_mutex_init(pthread_mutex_t * mutex, char *buf, size_t buf_len)
78 strerror_r(ret, buf, buf_len));
82 void call_mutex_lock(pthread_mutex_t * mutex, char *buf, size_t buf_len)
88 strerror_r(ret, buf, buf_len));
92 void call_mutex_unlock(pthread_mutex_t * mutex, char *buf, size_t buf_len)
98 strerror_r(ret, buf, buf_len));
102 void call_cond_init(pthread_cond_t * cond, char *buf, size_t buf_len)
108 strerror_r(ret, buf, buf_len));
113 char *buf, size_t buf_len)
119 strerror_r(ret, buf, buf_len))
167 char buf[1024]; local
227 char buf[1024]; local
    [all...]

Completed in 483 milliseconds

1 2 3 4 5 67 8 91011>>