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

<<11121314151617181920>>

  /external/pdfium/core/fxcrt/
fx_system_unittest.cpp 22 char buf[kBufLen]; local
23 buf[kBufLen - 1] = kSentinel;
24 FXSYS_itoa(input, buf, 16);
25 EXPECT_STREQ(expected_output, buf);
26 EXPECT_EQ(kSentinel, buf[kBufLen - 1]);
31 char buf[kBufLen]; local
32 buf[kBufLen - 1] = kSentinel;
33 FXSYS_itoa(input, buf, 10);
34 EXPECT_STREQ(expected_output, buf);
35 EXPECT_EQ(kSentinel, buf[kBufLen - 1])
40 char buf[kBufLen]; local
49 char buf[kBufLen]; local
58 char buf[kBufLen]; local
67 char buf[kBufLen]; local
77 char buf[32]; local
117 char buf[32]; local
172 wchar_t buf[100] = {}; local
    [all...]
  /external/libxcam/xcore/base/
xcam_buffer.h 119 #define xcam_video_buffer_ref(buf) (buf)->ref(buf)
120 #define xcam_video_buffer_unref(buf) (buf)->unref(buf)
121 #define xcam_video_buffer_map(buf) (buf)->map(buf)
122 #define xcam_video_buffer_unmap(buf) (buf)->unmap(buf
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_debug_describe.c 33 debug_describe_reference(char* buf, const struct pipe_reference*ptr)
35 strcpy(buf, "pipe_object");
39 debug_describe_resource(char* buf, const struct pipe_resource *ptr)
44 util_sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0));
47 util_sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level);
50 util_sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level);
53 util_sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name(ptr->format));
56 util_sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level);
59 util_sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_format_short_name(ptr->format), ptr->last_level);
62 util_sprintf(buf, "pipe_martian_resource<%u>", ptr->target)
    [all...]
  /external/strace/
fetch_struct_stat.c 80 struct_stat buf; local
81 if (umove_or_printaddr(tcp, addr, &buf))
84 dst->dev = zero_extend_signed_to_ull(buf.st_dev);
85 dst->ino = zero_extend_signed_to_ull(buf.st_ino);
86 dst->rdev = zero_extend_signed_to_ull(buf.st_rdev);
87 dst->size = zero_extend_signed_to_ull(buf.st_size);
88 dst->blocks = zero_extend_signed_to_ull(buf.st_blocks);
89 dst->blksize = zero_extend_signed_to_ull(buf.st_blksize);
90 dst->mode = zero_extend_signed_to_ull(buf.st_mode);
91 dst->nlink = zero_extend_signed_to_ull(buf.st_nlink)
    [all...]
fetch_struct_stat64.c 78 struct_stat64 buf; local
79 if (umove_or_printaddr(tcp, addr, &buf))
82 dst->dev = zero_extend_signed_to_ull(buf.st_dev);
83 dst->ino = zero_extend_signed_to_ull(buf.st_ino);
84 dst->rdev = zero_extend_signed_to_ull(buf.st_rdev);
85 dst->size = zero_extend_signed_to_ull(buf.st_size);
86 dst->blocks = zero_extend_signed_to_ull(buf.st_blocks);
87 dst->blksize = zero_extend_signed_to_ull(buf.st_blksize);
88 dst->mode = zero_extend_signed_to_ull(buf.st_mode);
89 dst->nlink = zero_extend_signed_to_ull(buf.st_nlink)
    [all...]
  /libcore/ojluni/src/main/java/java/util/zip/
GZIPOutputStream.java 137 * @param buf the data to be written
142 public synchronized void write(byte[] buf, int off, int len)
145 super.write(buf, off, len);
146 crc.update(buf, off, len);
159 int len = def.deflate(buf, 0, buf.length);
160 if (def.finished() && len <= buf.length - TRAILER_SIZE) {
162 writeTrailer(buf, len);
164 out.write(buf, 0, len);
168 out.write(buf, 0, len)
202 writeInt(def.getTotalIn(), buf, offset + 4); \/\/ Number of uncompr. bytes local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
Utils.java 70 char[] buf = new char[40]; // as long as we get, and actually we can't get this high, no units past zhao local
78 int x = buf.length;
82 buf[--x] = zh.levels[l];
88 buf[--x] = zh.units[u++];
96 if (x < buf.length-1 && u != 0) {
97 buf[x] = '*';
100 buf[--x] = '*';
102 buf[--x] = zh.digits[0];
108 buf[--x] = zh.digits[d];
117 int i = buf.length - 3
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
Utils.java 66 char[] buf = new char[40]; // as long as we get, and actually we can't get this high, no units past zhao local
74 int x = buf.length;
78 buf[--x] = zh.levels[l];
84 buf[--x] = zh.units[u++];
92 if (x < buf.length-1 && u != 0) {
93 buf[x] = '*';
96 buf[--x] = '*';
98 buf[--x] = zh.digits[0];
104 buf[--x] = zh.digits[d];
113 int i = buf.length - 3
    [all...]
  /system/iot/attestation/atap/test/
atap_util_unittest.cpp 44 static void validate_blob(const uint8_t* buf, AtapBlob* blob) {
45 EXPECT_EQ(blob->data_length, *(uint32_t*)&buf[0]);
46 EXPECT_EQ(0, memcmp(&buf[4], blob->data, blob->data_length));
55 static void validate_cert_chain(const uint8_t* buf, AtapCertChain* chain) {
57 EXPECT_EQ(*(uint32_t*)&buf[0], chain_size);
60 validate_blob(&buf[index], &chain->entries[i]);
72 static void validate_header(uint8_t* buf,
75 uint8_t protocol_version = *next(buf, index, 4);
77 uint32_t message_len = *(uint32_t*)next(buf, index, sizeof(uint32_t));
85 uint8_t buf[sizeof(uint64_t)] local
92 uint8_t buf[sizeof(uint64_t)]; local
103 uint8_t buf[ATAP_HEADER_LEN]; local
115 uint8_t buf[32]; local
132 uint8_t buf[128]; local
166 uint8_t buf[4096]; local
201 uint8_t buf[4096]; local
233 uint8_t buf[4096]; local
262 uint8_t buf[4096]; local
292 uint8_t buf[4096]; local
310 uint8_t buf[128]; local
    [all...]
  /external/valgrind/coregrind/m_gdbserver/
valgrind-low-ppc64.c 253 void transfer_register (ThreadId tid, int abs_regno, void * buf,
297 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break;
298 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break;
299 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break;
300 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break;
301 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break;
302 case 5: VG_(transfer) (&ppc64->guest_GPR5, buf, dir, size, mod); break;
303 case 6: VG_(transfer) (&ppc64->guest_GPR6, buf, dir, size, mod); break;
304 case 7: VG_(transfer) (&ppc64->guest_GPR7, buf, dir, size, mod); break;
305 case 8: VG_(transfer) (&ppc64->guest_GPR8, buf, dir, size, mod); break
    [all...]
  /external/gemmlowp/internal/
simd_wrappers_common_neon_sse.h 32 result.buf.reg[i] = LoadInt32x4(src.data(row, col + i));
46 result.buf.reg[2 * i + 0] = LoadInt32x4(src.data(row + 0, col + i));
47 result.buf.reg[2 * i + 1] = LoadInt32x4(src.data(row + 4, col + i));
60 std::int32_t buf[4]; local
62 buf[i] = src(row, col + i);
64 result.buf.reg[0] = LoadInt32x4(buf);
76 std::int32_t buf[8]; local
78 buf[i] = src(row, col + i);
80 result.buf.reg[0] = LoadInt32x4(buf)
    [all...]
  /external/compiler-rt/test/msan/
backtrace.cc 11 void *buf[10]; local
12 int sz = backtrace(buf, sizeof(buf) / sizeof(*buf));
15 if (!buf[i])
17 char **s = backtrace_symbols(buf, sz);
  /external/elfutils/libebl/
eblobjecttypename.c 39 ebl_object_type_name (Ebl *ebl, int object, char *buf, size_t len)
43 res = ebl != NULL ? ebl->object_type_name (object, buf, len) : NULL;
48 snprintf (buf, len, "LOOS+%x", object - ET_LOOS);
51 snprintf (buf, len, "LOPROC+%x", object - ET_LOPROC);
53 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), object);
55 res = buf;
  /external/fio/lib/
strntol.c 11 char buf[24]; local
19 if (!sz || sz >= sizeof(buf)) {
25 memcpy(buf, beg, sz);
26 buf[sz] = '\0';
27 ret = strtol(buf, end, base);
31 *end = (char *)str + (*end - buf);
  /external/libcxx/test/std/re/re.alg/re.alg.replace/
test1.pass.cpp 35 char buf[100] = {0}; local
36 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
39 assert(r.base() == buf+40);
40 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456"));
47 char buf[100] = {0}; local
48 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
52 assert(r.base() == buf+43);
53 assert(buf == std::string("123-$555-1234, 123-$555-2345, 123-$555-3456"));
60 char buf[100] = {0}; local
61 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book))
73 char buf[100] = {0}; local
86 char buf[100] = {0}; local
99 char buf[100] = {0}; local
    [all...]
test2.pass.cpp 35 char buf[100] = {0}; local
36 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
39 assert(r.base() == buf+40);
40 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456"));
47 char buf[100] = {0}; local
48 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
52 assert(r.base() == buf+43);
53 assert(buf == std::string("123-$555-1234, 123-$555-2345, 123-$555-3456"));
60 char buf[100] = {0}; local
61 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book))
73 char buf[100] = {0}; local
86 char buf[100] = {0}; local
99 char buf[100] = {0}; local
    [all...]
  /external/selinux/libselinux/src/
checkreqprot.c 16 char buf[20]; local
28 memset(buf, 0, sizeof(buf));
29 ret = read(fd, buf, sizeof(buf) - 1);
34 if (sscanf(buf, "%d", &checkreqprot) != 1)
deny_unknown.c 16 char buf[20]; local
28 memset(buf, 0, sizeof(buf));
29 ret = read(fd, buf, sizeof(buf) - 1);
34 if (sscanf(buf, "%d", &deny_unknown) != 1)
getenforce.c 16 char buf[20]; local
28 memset(buf, 0, sizeof buf);
29 ret = read(fd, buf, sizeof buf - 1);
34 if (sscanf(buf, "%d", &enforce) != 1)
  /frameworks/native/opengl/tests/EGLTest/
egl_cache_test.cpp 48 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
50 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4));
51 ASSERT_EQ(0xee, buf[0]);
52 ASSERT_EQ(0xee, buf[1]);
53 ASSERT_EQ(0xee, buf[2]);
54 ASSERT_EQ(0xee, buf[3]);
58 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
61 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4));
62 ASSERT_EQ('e', buf[0]);
63 ASSERT_EQ('f', buf[1])
69 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
98 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
HeapByteBufferTest.java 26 buf = ByteBuffer.allocate(BUFFER_LENGTH);
27 baseBuf = buf;
32 buf = null;
50 assertFalse(buf.isDirect());
54 assertTrue(buf.hasArray());
58 assertFalse(buf.isReadOnly());
  /prebuilts/misc/common/swig/include/2.0.11/python/
pybuffer.i 17 (int res, Py_ssize_t size = 0, void *buf = 0) {
18 res = PyObject_AsWriteBuffer($input, &buf, &size);
23 $1 = ($1_ltype) buf;
43 (int res, Py_ssize_t size = 0, void *buf = 0) {
44 res = PyObject_AsWriteBuffer($input, &buf, &size);
49 $1 = ($1_ltype) buf;
69 (int res, Py_ssize_t size = 0, const void *buf = 0) {
70 res = PyObject_AsReadBuffer($input, &buf, &size);
75 $1 = ($1_ltype) buf;
97 (int res, Py_ssize_t size = 0, const void *buf = 0)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.replace/
test1.pass.cpp 35 char buf[100] = {0}; local
36 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
39 assert(r.base() == buf+40);
40 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456"));
47 char buf[100] = {0}; local
48 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
52 assert(r.base() == buf+43);
53 assert(buf == std::string("123-$555-1234, 123-$555-2345, 123-$555-3456"));
60 char buf[100] = {0}; local
61 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book))
73 char buf[100] = {0}; local
86 char buf[100] = {0}; local
99 char buf[100] = {0}; local
    [all...]
test2.pass.cpp 35 char buf[100] = {0}; local
36 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
39 assert(r.base() == buf+40);
40 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456"));
47 char buf[100] = {0}; local
48 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
52 assert(r.base() == buf+43);
53 assert(buf == std::string("123-$555-1234, 123-$555-2345, 123-$555-3456"));
60 char buf[100] = {0}; local
61 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book))
73 char buf[100] = {0}; local
86 char buf[100] = {0}; local
99 char buf[100] = {0}; local
    [all...]
  /toolchain/binutils/binutils-2.27/libiberty/
getcwd.c 41 getcwd (char *buf, size_t len)
52 if (!buf) {
53 buf = (char*)malloc(len);
54 if (!buf) {
59 strcpy (buf, ourbuf);
61 return buf;

Completed in 1264 milliseconds

<<11121314151617181920>>