Searched defs:buf (Results 1 - 25 of 4210) sorted by relevance

1234567891011>>

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dgetwd.c8 char* getwd(char* buf) { argument
9 return ki_getwd(buf);
H A Dgetcwd.c17 char* getcwd(char* buf, size_t size) { argument
26 if (buf == NULL) {
27 buf = (char*)malloc(size);
29 return ki_getcwd(buf, size);
H A Duname.c13 int uname(struct utsname* buf) { argument
14 memset(buf, 0, sizeof(struct utsname));
15 snprintf(buf->sysname, _UTSNAME_LENGTH, "NaCl");
/external/libcxx/test/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/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/
H A Dccp_size.pass.cpp22 const char buf[] = "abcd"; local
23 std::strstreambuf sb(buf, sizeof(buf));
32 const char buf[] = "abcd"; local
33 std::strstreambuf sb(buf, 0);
H A Dcscp_size.pass.cpp22 const signed char buf[] = "abcd"; local
23 std::strstreambuf sb(buf, sizeof(buf));
32 const signed char buf[] = "abcd"; local
33 std::strstreambuf sb(buf, 0);
H A Dcucp_size.pass.cpp22 unsigned char buf[] = "abcd"; local
23 std::strstreambuf sb(buf, sizeof(buf));
32 unsigned char buf[] = "abcd"; local
33 std::strstreambuf sb(buf, 0);
/external/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/
H A Doverflow.pass.cpp22 char buf[12] = "abc"; local
23 std::strstreambuf sb(buf, sizeof(buf), buf);
H A Dseekoff.pass.cpp23 char buf[] = "0123456789"; local
24 std::strstreambuf sb(buf, 0);
39 char buf[] = "0123456789"; local
40 std::strstreambuf sb(buf, 0, buf);
H A Dseekpos.pass.cpp23 char buf[] = "0123456789"; local
24 std::strstreambuf sb(buf, 0);
31 char buf[] = "0123456789"; local
32 std::strstreambuf sb(buf, 0, buf);
H A Dsetbuf.pass.cpp22 char buf[] = "0123456789"; local
23 std::strstreambuf sb(buf, 0);
/external/libcxx/test/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...]
H A Dnonmember_swap.pass.cpp26 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...]
/external/libcxx/test/input.output/string.streams/stringbuf/stringbuf.cons/
H A Ddefault.pass.cpp23 std::stringbuf buf; local
24 assert(buf.str() == "");
27 std::wstringbuf buf; local
28 assert(buf.str() == L"");
/external/valgrind/main/none/tests/x86/
H A Dcpuid_c.c5 extern void get_cpuid0 ( unsigned int* buf );
6 extern void get_cpuid1 ( unsigned int* buf );
8 unsigned int buf[4]; variable
12 get_cpuid0(&buf[0]);
14 buf[0], buf[1], buf[2], buf[3] );
16 get_cpuid1(&buf[0]);
18 buf[
[all...]
/external/bluetooth/bluedroid/bta/hf_client/
H A Dbta_hf_client_cmd.c26 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; local
81 snprintf(buf,BTA_HF_CLIENT_AT_MAX_LEN,
85 APPL_TRACE_ERROR("%s ", buf);
/external/chromium_org/base/win/
H A Devent_trace_provider_unittest.cc31 char buf[sizeof(EtwTraceProvider)] = {0}; local
32 EtwTraceProvider& provider = reinterpret_cast<EtwTraceProvider&>(buf);
51 new (buf) EtwTraceProvider(kTestProvider);
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dx509_txt.c58 #include <openssl/buf.h>
69 static char buf[100]; local
204 BIO_snprintf(buf,sizeof buf,"error number %ld",n);
205 return(buf);
/external/chromium_org/third_party/webrtc/base/
H A Dbyteorder_unittest.cc20 uint8 buf[8] = { 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u }; local
21 Set8(buf, 0, 0xfb);
22 Set8(buf, 1, 0x12);
23 EXPECT_EQ(0xfb, buf[0]);
24 EXPECT_EQ(0x12, buf[1]);
25 SetBE16(buf, 0x1234);
26 EXPECT_EQ(0x12, buf[0]);
27 EXPECT_EQ(0x34, buf[1]);
28 SetLE16(buf, 0x1234);
29 EXPECT_EQ(0x34, buf[
63 uint8 buf[8]; local
[all...]
/external/chromium_org/tools/traceline/traceline/
H A Dassembler_unittest.cc10 char buf[1024]; local
12 CodeBuffer cb(buf);
80 fwrite(buf, 1, cb.size(), stdout);
/external/clang/test/Analysis/
H A DPR7218.c3 char buf[2]; local
4 buf[0] = a;
5 return buf[1]; // expected-warning {{Undefined or garbage value returned to caller}}
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dsyscalls.cc19 char buf[1000]; local
20 __sanitizer_syscall_pre_recvmsg(0, buf - 1, 0);
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dstrerror_r_test.cc10 char buf[1024]; local
11 char *res = (char *)strerror_r(300, buf, sizeof(buf));
/external/e2fsprogs/lib/e2p/
H A Dgetflags.c32 struct stat buf; local
35 if (fstat (fd, &buf) == -1)
40 if (buf.st_flags & UF_IMMUTABLE)
44 if (buf.st_flags & UF_APPEND)
48 if (buf.st_flags & UF_NODUMP)
57 if (!fstat(fd, &buf) &&
58 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))

Completed in 474 milliseconds

1234567891011>>