/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/ |
new.pass.cpp | 25 char buf[sizeof(A)]; local 27 A* ap = new(buf) A; 28 assert((char*)ap == buf);
|
/external/syslinux/com32/include/ |
bufprintf.h | 4 char *buf; member in struct:print_buf 9 int vbufprintf(struct print_buf *buf, const char *format, va_list ap); 10 int bufprintf(struct print_buf *buf, const char *format, ...);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestIncompatibleException.java | 52 StringBuffer buf = new StringBuffer( local 54 buf.append(feature); 55 buf.append("\" version=\""); 56 buf.append(version); 57 buf.append("\"."); 58 return new DOMTestIncompatibleException(buf.toString()); 63 StringBuffer buf = new StringBuffer( local 65 buf.append(href); 66 buf.append("\" not available for =\""); 67 buf.append(contentType) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DuplicateDirectByteBufferTest.java | 24 buf = buf.duplicate(); 25 baseBuf = buf;
|
DuplicateHeapByteBufferTest.java | 24 buf = buf.duplicate(); 25 baseBuf = buf;
|
DuplicateWrappedByteBufferTest.java | 24 buf = buf.duplicate(); 25 baseBuf = buf;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.members/ |
rdbuf.pass.cpp | 22 char buf[] = "123 4.5 dog"; local 23 const std::ostrstream out(buf, 0); 26 assert(buf == std::string("a23 4.5 dog"));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.dest/ |
rdbuf.pass.cpp | 22 char buf[] = "123 4.5 dog"; local 23 const std::strstream out(buf, 0); 26 assert(buf == std::string("a23 4.5 dog"));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/string.streams/stringbuf/stringbuf.cons/ |
string.pass.cpp | 24 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.str() == L"testing") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/language.support/support.dynamic/new.delete/new.delete.placement/ |
new.pass.cpp | 25 char buf[sizeof(A)]; local 27 A* ap = new(buf) A; 28 assert((char*)ap == buf);
|
/toolchain/binutils/binutils-2.27/libiberty/ |
xasprintf.c | 44 char *buf; local 47 buf = xvasprintf (fmt, ap); 49 return buf;
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
ByteBufferUtils.java | 28 public static byte[] toByteArray(ByteBuffer buf) { 29 byte[] result = new byte[buf.remaining()]; 30 buf.get(result);
|
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/ |
printf.c | 15 char buf[PRINT_BUFFER_SIZE]; local 19 vsnprintf(buf, sizeof(buf) - 1, fmt, args); 23 buf[PRINT_BUFFER_SIZE - 1] = '\0'; 25 while (buf[count]) 27 if (putchar(buf[count]) != EOF) {
|
/external/autotest/client/site_tests/security_AltSyscall/src/ |
adjtimex.c | 15 struct timex buf; local 19 memset(&buf, 0, sizeof(buf)); 20 ret = adjtimex(&buf); 33 buf.modes = ADJ_MAXERROR; 34 ret = adjtimex(&buf);
|
clock_adjtime.c | 15 struct timex buf; local 19 memset(&buf, 0, sizeof(buf)); 20 ret = clock_adjtime(CLOCK_REALTIME, &buf); 33 buf.modes = ADJ_MAXERROR; 34 ret = clock_adjtime(CLOCK_REALTIME, &buf);
|
read.c | 15 char buf[128]; local 23 ret = read(fd, buf, sizeof(buf)); 27 for (i = 0; i < (sizeof(buf) / sizeof(buf[0])); i++) { 28 if (buf[i] != 0)
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_describe.h | 41 void debug_describe_reference(char* buf, const struct pipe_reference*ptr); 42 void debug_describe_resource(char* buf, const struct pipe_resource *ptr); 43 void debug_describe_surface(char* buf, const struct pipe_surface *ptr); 44 void debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr); 45 void debug_describe_image_view(char* buf, const struct pipe_image_view *ptr); 46 void debug_describe_so_target(char* buf,
|
/frameworks/base/graphics/java/android/graphics/ |
TemporaryBuffer.java | 26 char[] buf; local 29 buf = sTemp; 33 if (buf == null || buf.length < len) { 34 buf = ArrayUtils.newUnpaddedCharArray(len); 37 return buf;
|
/frameworks/minikin/tests/unittest/ |
UnicodeUtilsTest.cpp | 25 uint16_t buf[BUF_SIZE]; local 28 ParseUnicode(buf, BUF_SIZE, "U+000D U+1F431 | 'a'", &size, &offset); 31 EXPECT_EQ(buf[0], 0x000D); 32 EXPECT_EQ(buf[1], 0xD83D); 33 EXPECT_EQ(buf[2], 0xDC31); 34 EXPECT_EQ(buf[3], 'a');
|
/external/compiler-rt/test/msan/ |
c-strdup.c | 12 char buf[] = "abc"; local 13 char *p = strdup(buf);
|
/external/google-breakpad/src/third_party/libdisasm/ |
ia32_invariant.h | 6 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/ |
str.pass.cpp | 22 const char buf[] = "123 4.5 dog"; local 23 std::istrstream in(buf);
|
/external/libcxx/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...] |