/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ |
ccp_size.pass.cpp | 22 const char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 const char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
cscp_size.pass.cpp | 22 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);
|
cucp_size.pass.cpp | 22 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/libxml2/ |
save.h | 22 void xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc, 24 void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table); 25 void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem); 26 void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr); 27 void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent);
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
dirty.c | 40 char buf[32 * 1024]; local 50 memset(buf, 0xaa, sizeof(buf)); 52 write(fd, buf, sizeof(buf));
|
/external/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
sem_conpro.c | 38 int *producer(buf_t * buf) 44 if (-1 == sem_wait(&buf->occupied)) { 48 if (-1 == sem_wait(&buf->lock)) { 53 buf->buffer[in] = data; 56 if (-1 == sem_post(&buf->lock)) { 60 if (-1 == sem_post(&buf->empty)) { 68 int *consumer(buf_t * buf) 74 if (-1 == sem_wait(&buf->empty)) { 78 if (-1 == sem_wait(&buf->lock)) { 82 data = buf->buffer[out] 103 buf_t buf; local [all...] |
/external/selinux/libselinux/src/ |
disable.c | 16 char buf[20]; local 28 buf[0] = '1'; 29 buf[1] = '\0'; 30 ret = write(fd, buf, strlen(buf));
|
setenforce.c | 16 char buf[20]; local 28 snprintf(buf, sizeof buf, "%d", value); 29 ret = write(fd, buf, strlen(buf));
|
/external/selinux/libselinux/utils/ |
compute_user.c | 13 char **buf, **ptr; local 21 ret = security_compute_user(argv[1], argv[2], &buf); 28 if (!buf[0]) { 33 for (ptr = buf; *ptr; ptr++) { 36 freeconary(buf);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
CountOutputStream.java | 43 public void write(byte[] buf, int off, int len) throws IOException 45 out.write(buf, off, len); 54 public void write(byte[] buf) throws IOException 56 out.write(buf); 57 bytesWritten += buf.length;
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldReaderTest.java | 36 CharBuffer buf = CharBuffer.allocate(4); local 37 assertEquals("Wrong return value!", 4, simple.read(buf)); 38 buf.rewind(); 39 assertEquals("Wrong stuff read!", "Bla ", String.valueOf(buf)); 40 simple.read(buf); 41 buf.rewind(); 42 assertEquals("Wrong stuff read!", "bla,", String.valueOf(buf)); 45 simple.read(buf); 54 char[] buf = new char[4]; local 55 assertEquals("Wrong return value!", 4, simple.read(buf)); 98 char[] buf = new char[4]; local [all...] |
/libcore/ojluni/src/main/java/java/io/ |
CharArrayWriter.java | 47 protected char buf[]; field in class:CharArrayWriter 72 buf = new char[initialSize]; 81 if (newcount > buf.length) { 82 buf = Arrays.copyOf(buf, Math.max(buf.length << 1, newcount)); 84 buf[count] = (char)c; 104 if (newcount > buf.length) { 105 buf = Arrays.copyOf(buf, Math.max(buf.length << 1, newcount)) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ |
ccp_size.pass.cpp | 22 const char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 const char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
cscp_size.pass.cpp | 22 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);
|
cucp_size.pass.cpp | 22 unsigned char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 unsigned char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ |
ccp_size.pass.cpp | 22 const char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 const char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
cscp_size.pass.cpp | 22 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);
|
cucp_size.pass.cpp | 22 unsigned char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 unsigned char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
/system/keymaster/ |
android_keymaster_messages.cpp | 36 static uint8_t* serialize_key_blob(const keymaster_key_blob_t& key_blob, uint8_t* buf, 38 return append_size_and_data_to_buf(buf, end, key_blob.key_material, key_blob.key_material_size); 60 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { 61 buf = append_uint32_to_buf(buf, end, static_cast<uint32_t>(error)); 63 buf = NonErrorSerialize(buf, end); 64 return buf; 83 uint8_t* GenerateKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { 84 buf = serialize_key_blob(key_blob, buf, end) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
NFAConfiguration.java | 128 StringBuffer buf = new StringBuffer(); local 129 buf.append(state); 131 buf.append("|"); 132 buf.append(alt); 135 buf.append("|"); 136 buf.append(context); 140 buf.append("|"); 142 buf.append(escQuote); 145 buf.append("|resolved"); 148 buf.append("|resolveWithPredicate") [all...] |
/external/boringssl/src/crypto/pool/ |
pool_test.cc | 25 bssl::UniquePtr<CRYPTO_BUFFER> buf( 27 if (!buf) { 31 if (CRYPTO_BUFFER_len(buf.get()) != sizeof(kData) || 32 OPENSSL_memcmp(kData, CRYPTO_BUFFER_data(buf.get()), sizeof(kData)) != 38 CRYPTO_BUFFER_up_ref(buf.get()); 39 bssl::UniquePtr<CRYPTO_BUFFER> buf2(buf.get()); 45 bssl::UniquePtr<CRYPTO_BUFFER> buf(CRYPTO_BUFFER_new(nullptr, 0, nullptr)); 46 if (!buf) { 60 bssl::UniquePtr<CRYPTO_BUFFER> buf( 62 if (!buf) { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
X509NameTokenizer.java | 15 private StringBuffer buf = new StringBuffer(); field in class:X509NameTokenizer 48 buf.setLength(0); 60 buf.append(c); 67 buf.append(c); 72 buf.append(c); 83 if (c == '#' && buf.charAt(buf.length() - 1) == '=') 85 buf.append('\\'); 89 buf.append('\\'); 92 buf.append(c) [all...] |
/external/iproute2/lib/ |
inet_proto.c | 26 const char *inet_proto_n2a(int proto, char *buf, int len) 39 strncpy(buf, pe->p_name, len); 40 return buf; 42 snprintf(buf, len, "ipproto-%d", proto); 43 return buf; 46 int inet_proto_a2n(const char *buf) 52 if (icache>=0 && strcmp(ncache, buf) == 0) 55 if (buf[0] >= '0' && buf[0] <= '9') { 57 if (get_u8(&ret, buf, 10) [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/ |
ARMThumb.java | 22 public int code(byte[] buf, int off, int len) { 27 if ((buf[i + 1] & 0xF8) == 0xF0 && (buf[i + 3] & 0xF8) == 0xF8) { 28 int src = ((buf[i + 1] & 0x07) << 19) 29 | ((buf[i] & 0xFF) << 11) 30 | ((buf[i + 3] & 0x07) << 8) 31 | (buf[i + 2] & 0xFF); 41 buf[i + 1] = (byte)(0xF0 | ((dest >>> 19) & 0x07)); 42 buf[i] = (byte)(dest >>> 11); 43 buf[i + 3] = (byte)(0xF8 | ((dest >>> 8) & 0x07)) [all...] |
/external/mesa3d/src/gallium/winsys/i915/drm/ |
i915_drm_buffer.c | 31 struct i915_drm_buffer *buf = CALLOC_STRUCT(i915_drm_buffer); local 34 if (!buf) 37 buf->magic = 0xDEAD1337; 38 buf->flinked = FALSE; 39 buf->flink = 0; 41 buf->bo = drm_intel_bo_alloc(idws->gem_manager, 44 if (!buf->bo) 47 return (struct i915_winsys_buffer *)buf; 51 FREE(buf); 61 struct i915_drm_buffer *buf = CALLOC_STRUCT(i915_drm_buffer) local 98 struct i915_drm_buffer *buf = CALLOC_STRUCT(i915_drm_buffer); local 130 struct i915_drm_buffer *buf = i915_drm_buffer(buffer); local 156 struct i915_drm_buffer *buf = i915_drm_buffer(buffer); local 182 struct i915_drm_buffer *buf = i915_drm_buffer(buffer); local 197 struct i915_drm_buffer *buf = i915_drm_buffer(buffer); local [all...] |