Searched refs:buf (Results 26 - 50 of 4444) sorted by relevance

1234567891011>>

/external/icu/android_utils/
H A DIcuUtils.cpp30 char buf[256]; local
31 const int num_written = snprintf(buf, sizeof(buf), "%s/usr/icu/", systemPathPrefix);
32 LOG_ALWAYS_FATAL_IF((num_written < 0 || static_cast<size_t>(num_written) >= sizeof(buf)),
35 u_setDataDirectory(buf);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_describe.h40 void debug_describe_reference(char* buf, const struct pipe_reference*ptr);
41 void debug_describe_resource(char* buf, const struct pipe_resource *ptr);
42 void debug_describe_surface(char* buf, const struct pipe_surface *ptr);
43 void debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr);
44 void debug_describe_so_target(char* buf,
/external/libxml2/
H A Dbuf.h26 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, cons
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/asm/signature/
H A DSignatureWriter.java43 private final StringBuffer buf = new StringBuffer(); field in class:SignatureWriter
76 buf.append('<');
78 buf.append(name);
79 buf.append(':');
87 buf.append(':');
104 buf.append('(');
112 buf.append('(');
114 buf.append(')');
119 buf.append('^');
124 buf
[all...]
/external/libpng/contrib/tools/
H A Dpng-fix-itxt.c43 unsigned char buf[MAX_LENGTH]; local
60 c=GETBREAK; buf[0] = c; length = c; length <<= 8;
61 c=GETBREAK; buf[1] = c; length += c; length <<= 8;
62 c=GETBREAK; buf[2] = c; length += c; length <<= 8;
63 c=GETBREAK; buf[3] = c; length += c;
66 c=GETBREAK; buf[4] = c;
67 c=GETBREAK; buf[5] = c;
68 c=GETBREAK; buf[6] = c;
69 c=GETBREAK; buf[7] = c;
73 if (buf[
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
H A DASMifierAnnotationVisitor.java64 buf.setLength(0);
65 buf.append("av").append(id).append(".visit(");
66 ASMifierAbstractVisitor.appendConstant(buf, name);
67 buf.append(", ");
68 ASMifierAbstractVisitor.appendConstant(buf, value);
69 buf.append(");\n");
70 text.add(buf.toString());
78 buf.setLength(0);
79 buf.append("av").append(id).append(".visitEnum(");
80 ASMifierAbstractVisitor.appendConstant(buf, nam
[all...]
/external/libexif/contrib/examples/
H A Dphotographer.c14 static void trim_spaces(char *buf) argument
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/freetype/src/gzip/
H A Dadler32.c14 #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,
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
H A DBaseDexReader.java55 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[en
[all...]
/external/compiler-rt/test/asan/TestCases/
H A Dprintf-1.c20 char buf[4]; local
21 snprintf(buf, 1000, "qwe");
22 printf("%s\n", buf);
H A Dprintf-4.c16 volatile char buf[2]; local
17 sprintf((char *)buf, "%c %d %.3f %s\n", c, x, f, s);
18 puts((const char *)buf);
/external/google-breakpad/src/client/linux/log/
H A Dlog.cc40 int write(const char* buf, size_t nbytes) { argument
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/
H A Drdbuf.pass.cpp22 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/
H A Drdbuf.pass.cpp22 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/
H A Dstring.pass.cpp24 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
[all...]
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/
H A Dnew.pass.cpp25 char buf[sizeof(A)]; local
27 A* ap = new(buf) A;
28 assert((char*)ap == buf);
H A Dnew_array.pass.cpp25 char buf[3*sizeof(A)]; local
27 A* ap = new(buf) A[3];
28 assert((char*)ap == buf);
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
H A DIndexIntBuffer.java45 private IntBuffer buf; field in class:IndexIntBuffer
48 this.buf = buffer;
53 return buf.get(i);
58 buf.put(i, value);
63 return buf.limit();
68 return buf;
/external/valgrind/VEX/test/
H A Dfldenv.c18 unsigned short* buf = malloc(14*sizeof(short)); local
20 buf[i] = i;
21 buf[0] = 0x037f;
23 do_fldenv(buf);
24 do_fstenv(buf);
26 printf("%04x ", buf[i]);
/external/llvm/unittests/ADT/
H A DSmallPtrSetTest.cpp20 int buf[8]; local
22 buf[i] = 0;
25 s1.insert(&buf[0]);
26 s1.insert(&buf[1]);
29 (s2 = s1).insert(&buf[2]);
32 (s2 = s2).insert(&buf[3]);
38 EXPECT_TRUE(s1.count(&buf[i]));
40 EXPECT_FALSE(s1.count(&buf[i]));
45 int buf[8]; local
46 for(i=0; i<8; ++i) buf[
[all...]
/external/compiler-rt/test/msan/
H A Dc-strdup.c12 char buf[] = "abc"; local
13 char *p = strdup(buf);
/external/google-breakpad/src/third_party/libdisasm/
H A Dia32_invariant.h6 size_t ia32_disasm_invariant( unsigned char *buf, size_t buf_len,
9 size_t ia32_disasm_size( unsigned char *buf, size_t buf_len );
/external/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/
H A Dstr.pass.cpp22 const char buf[] = "123 4.5 dog"; local
23 std::istrstream in(buf);
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
H A Dmember_swap.pass.cpp24 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...]
H A Dmove.pass.cpp24 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...]

Completed in 1879 milliseconds

1234567891011>>