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

<<11121314151617181920>>

  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_buffer.c 73 vmw_gmr_buffer(struct pb_buffer *buf)
75 assert(buf);
76 assert(buf->vtbl == &vmw_gmr_buffer_vtbl);
77 return (struct vmw_gmr_buffer *)buf;
100 struct vmw_gmr_buffer *buf = vmw_gmr_buffer(_buf); local
102 vmw_ioctl_region_unmap(buf->region);
104 vmw_ioctl_region_destroy(buf->region);
106 FREE(buf);
115 struct vmw_gmr_buffer *buf = vmw_gmr_buffer(_buf); local
116 return buf->map
174 struct vmw_gmr_buffer *buf; local
    [all...]
  /system/core/libzipfile/
centraldir.c 24 read_le_int(const unsigned char* buf)
26 return buf[0] | (buf[1] << 8) | (buf[2] << 16) | (buf[3] << 24);
30 read_le_short(const unsigned char* buf)
32 return buf[0] | (buf[1] << 8);
36 read_central_dir_values(Zipfile* file, const unsigned char* buf, int len)
45 file->disknum = read_le_short(&buf[0x04]);
154 const unsigned char* buf = file->buf; local
    [all...]
  /system/core/libutils/tests/
BlobCache_test.cpp 47 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
49 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf, 4));
50 ASSERT_EQ('e', buf[0]);
51 ASSERT_EQ('f', buf[1]);
52 ASSERT_EQ('g', buf[2]);
53 ASSERT_EQ('h', buf[3]);
57 unsigned char buf[2] = { 0xee, 0xee }; local
60 ASSERT_EQ(size_t(2), mBC->get("ab", 2, buf, 2));
61 ASSERT_EQ('c', buf[0]);
62 ASSERT_EQ('d', buf[1])
69 unsigned char buf[6] = { 0xee, 0xee, 0xee, 0xee, 0xee, 0xee }; local
81 unsigned char buf[3] = { 0xee, 0xee, 0xee }; local
95 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
106 unsigned char buf[MAX_VALUE_SIZE+1] = { 0xee, 0xee, 0xee, 0xee }; local
118 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
131 char buf[MAX_VALUE_SIZE+1]; local
285 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
351 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
368 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
387 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
406 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/locale/
wctob.c 37 char buf[MB_LEN_MAX]; local
40 if (c == WEOF || wcrtomb(buf, c, &mbs) != 1)
42 return ((unsigned char)*buf);
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
setbuffer.c 37 setbuffer(FILE *fp, char *buf, int size)
40 (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, size);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
Perl5Target.java 46 final StringBuffer buf = new StringBuffer(10); local
50 buf.append("\\x{0000}");
53 buf.append(targetCharValueEscape[c]);
58 buf.append((char) c);
64 buf.append("\\x{");
65 buf.append(hex);
66 buf.append("}");
69 if (buf.indexOf("\\") == -1) {
71 buf.insert(0, '\'');
72 buf.append('\'')
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
mtp_device_async_delegate.cc 11 net::IOBuffer* buf, int64 offset, int buf_len,
15 buf(buf),
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
uname.c 13 int uname(struct utsname* buf) {
14 memset(buf, 0, sizeof(struct utsname));
15 snprintf(buf->sysname, _UTSNAME_LENGTH, "NaCl");
  /external/chromium_org/third_party/angle/src/compiler/translator/
compilerdebug.cpp 26 char buf[kTraceBufferLen]; local
29 vsnprintf(buf, kTraceBufferLen, format, args);
32 parseContext->trace(buf);
  /external/chromium_org/third_party/libjingle/source/talk/base/
crc32.h 37 // Updates a CRC32 checksum with |len| bytes from |buf|. |initial| holds the
39 uint32 UpdateCrc32(uint32 initial, const void* buf, size_t len);
41 // Computes a CRC32 checksum using |len| bytes from |buf|.
42 inline uint32 ComputeCrc32(const void* buf, size_t len) {
43 return UpdateCrc32(0, buf, len);
  /external/chromium_org/third_party/webrtc/base/
crc32.h 20 // Updates a CRC32 checksum with |len| bytes from |buf|. |initial| holds the
22 uint32 UpdateCrc32(uint32 initial, const void* buf, size_t len);
24 // Computes a CRC32 checksum using |len| bytes from |buf|.
25 inline uint32 ComputeCrc32(const void* buf, size_t len) {
26 return UpdateCrc32(0, buf, len);
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
md5.h 17 unsigned long buf[4]; member in struct:yasm_md5_context
25 void yasm_md5_update(yasm_md5_context *context, unsigned char const *buf,
30 void yasm_md5_transform(unsigned long buf[4], const unsigned char in[64]);
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
getpwnam_r_invalid_user.cc 14 char buf[10000]; local
15 int res = getpwnam_r("no-such-user", &pwd, buf, sizeof(buf), &pwdres);
open_memstream.cc 28 char *buf; local
30 fprintf(stderr, " &buf %p, &buf_len %p\n", &buf, &buf_len);
31 FILE *fp = open_memstream(&buf, &buf_len);
34 check_mem_is_good(&buf, sizeof(buf));
36 check_mem_is_good(buf, buf_len);
45 fprintf(stderr, " %p addr %p, len %zu\n", &buf, buf, buf_len);
46 check_mem_is_good(&buf, sizeof(buf))
    [all...]
  /external/e2fsprogs/lib/et/
et_name.c 21 static char buf[6]; variable
30 p = buf;
41 return(buf);
  /external/elfutils/0.153/libebl/
eblreloctypename.c 60 ebl_reloc_type_name (ebl, reloc, buf, len)
63 char *buf;
68 res = ebl != NULL ? ebl->reloc_type_name (reloc, buf, len) : NULL;
  /external/emma/core/java12/com/vladium/util/
ByteArrayIStream.java 29 public ByteArrayIStream (final byte [] buf)
31 this (buf, buf.length);
34 public ByteArrayIStream (final byte [] buf, final int length)
36 if ($assert.ENABLED) $assert.ASSERT ((length >= 0) && (length <= buf.length),
39 m_buf = buf;
53 public final int read (final byte [] buf, final int offset, int length)
56 $assert.ASSERT ((offset >= 0) && (offset <= buf.length) &&
57 (length >= 0) && ((offset + length) <= buf.length),
58 "invalid input (" + buf.length + ", " + offset + ", " + length + ")")
    [all...]
  /external/fio/crc/
crc32c.h 36 static inline uint32_t fio_crc32c(unsigned char const *buf, unsigned long len)
39 return crc32c_intel(buf, len);
41 return crc32c_sw(buf, len);
  /external/jemalloc/test/integration/
thread_arena.c 21 char buf[BUFERROR_BUF]; local
23 buferror(err, buf, sizeof(buf));
24 test_fail("Error in mallctl(): %s", buf);
29 char buf[BUFERROR_BUF]; local
31 buferror(err, buf, sizeof(buf));
32 test_fail("Error in mallctl(): %s", buf);
54 char buf[BUFERROR_BUF]; local
56 buferror(err, buf, sizeof(buf))
    [all...]
  /external/libcxx/test/input.output/string.streams/stringbuf/stringbuf.cons/
move.pass.cpp 24 std::stringbuf buf(move(buf1));
25 assert(buf.str() == "testing");
29 std::stringbuf buf(move(buf1));
30 assert(buf.str() == "testing");
34 std::stringbuf buf(move(buf1));
35 assert(buf.str() == "testing");
39 std::wstringbuf buf(move(buf1));
40 assert(buf.str() == L"testing");
44 std::wstringbuf buf(move(buf1));
45 assert(buf.str() == L"testing")
    [all...]
  /external/ppp/pppd/
eui64.c 51 static char buf[32]; local
53 snprintf(buf, 32, "%02x%02x:%02x%02x:%02x%02x:%02x%02x",
56 return buf;
  /external/valgrind/main/VEX/test/
fstenv.c 13 unsigned int* buf = malloc(7*sizeof(int)); local
14 do_fstenv(buf);
16 printf("%08x ", buf[i]);
  /frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/
R4R8First_v7.s 44 VADD.S32 d4, d0, d1 @ r0 = buf[0] + buf[2]@i0 = buf[1] + buf[3]@
45 VSUB.S32 d5, d0, d1 @ r1 = buf[0] - buf[2]@i1 = buf[1] - buf[3]@
46 VSUB.S32 d7, d2, d3 @ r2 = buf[4] - buf[6]@i2 = buf[5] - buf[7]
    [all...]
  /frameworks/compile/libbcc/include/bcc/Support/
Properties.h 29 char buf[PROPERTY_VALUE_MAX]; local
30 property_get(str, buf, "0");
31 return atoi(buf);
  /frameworks/rs/cpu_ref/linkloader/lib/
MemChunk.cpp 47 MemChunk::MemChunk() : buf(NULL), buf_size(0), bVendorBuf(true) {
52 (*VendorFree)(buf);
56 munmap(buf, buf_size);
61 return (buf == 0 || buf == (unsigned char *)MAP_FAILED);
69 buf = (unsigned char*)(*VendorAlloc)(size, 0);
74 buf = (unsigned char *)mmap((void *)StartAddr, size,
79 buf = (unsigned char *)mmap(0, size,
100 dump_hex(buf, buf_size, 0, buf_size);
106 int ret = mprotect((void *)buf, buf_size, prot)
    [all...]

Completed in 1311 milliseconds

<<11121314151617181920>>