/external/valgrind/none/tests/s390x/ |
srst.c | 44 char *buf; local 52 buf = srst3(&buffer[23], &buffer[23], '0', &cc); 53 dump_field(buf, 1); 56 buf = srst3(&buffer[23], &buffer[0], '0', &cc); 57 dump_field(buf, 1); 60 buf = srst3(&buffer[23], &buffer[0], 'a', &cc); 61 dump_field(buf, 1); 64 buf = srst3(&buffer[23], &buffer[0], 'm', &cc); 65 dump_field(buf, 1); 68 buf = srst3(&buffer[23], &buffer[0], 'n', &cc) [all...] |
mvcl.c | 146 print_buf(const char *prefix, char *buf, uint32_t len) 153 putchar(buf[i]); 174 uint8_t byte, buf[10], small[5], i; local 183 run_test(NULL, 0, buf, sizeof buf, 0x00); 184 run_test(NULL, 0, buf, sizeof buf, 0xFF); 189 memset(buf, 'x', sizeof buf); 190 run_test(buf, sizeof buf, NULL, 0, 'a') [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DirectByteBufferTest.java | 28 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH); 29 baseBuf = buf; 34 buf = null; 51 assertTrue(buf.isDirect()); 56 assertTrue(buf.hasArray()); 57 // assertFalse(buf.hasArray()); 61 assertFalse(buf.isReadOnly()); 68 ByteBuffer buf = ByteBuffer.allocateDirect(23); local 70 buf.order(ByteOrder.BIG_ENDIAN); 73 buf.position(i) [all...] |
SliceDirectByteBufferTest.java | 24 buf.position(1); 25 buf = buf.slice(); 26 baseBuf = buf;
|
SliceHeapByteBufferTest.java | 24 buf.position(1).limit(BUFFER_LENGTH-1); 25 buf = buf.slice(); 26 baseBuf = buf;
|
SliceWrappedByteBufferTest.java | 24 buf.position(1).limit(BUFFER_LENGTH-1); 25 buf = buf.slice(); 26 baseBuf = buf;
|
/external/boringssl/src/crypto/pool/ |
pool.c | 20 #include <openssl/buf.h> 29 static uint32_t CRYPTO_BUFFER_hash(const CRYPTO_BUFFER *buf) { 30 return OPENSSL_hash32(buf->data, buf->len); 94 CRYPTO_BUFFER *const buf = OPENSSL_malloc(sizeof(CRYPTO_BUFFER)); local 95 if (buf == NULL) { 98 OPENSSL_memset(buf, 0, sizeof(CRYPTO_BUFFER)); 100 buf->data = BUF_memdup(data, len); 101 if (len != 0 && buf->data == NULL) { 102 OPENSSL_free(buf); [all...] |
/art/runtime/base/unix_file/ |
random_access_file_utils.cc | 26 std::vector<char> buf(4096); 29 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { 30 if (dst->Write(&buf[0], n, offset) != n) {
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
gets.c | 41 gets(char *buf) 47 for (s = buf; (c = getchar_unlocked()) != '\n';) 49 if (s == buf) { 58 return (buf);
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
akm_ak09915_slave.c | 20 void parseMagData(struct MagTask *magTask, uint8_t *buf, float *x, float *y, float *z) { 21 int32_t raw_x = (*(int16_t *)&buf[0]); 22 int32_t raw_y = (*(int16_t *)&buf[2]); 23 int32_t raw_z = (*(int16_t *)&buf[4]);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
perror.c | 60 static char buf[ASCII_STRING_MAX];
local 70 (void)strerror_r(errno, buf, sizeof(buf));
71 (void)fprintf(stderr, "%s%s%s\n", s, separator, buf);
|
/external/compiler-rt/test/msan/ |
strerror_r-non-gnu.c | 13 char buf[1000]; local 14 int res = strerror_r(EINVAL, buf, sizeof(buf)); 16 volatile int z = strlen(buf);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ReplaceableString.java | 27 private StringBuffer buf; field in class:ReplaceableString 34 buf = new StringBuffer(str); 38 * Construct a new object using <code>buf</code> for internal 39 * storage. The contents of <code>buf</code> at the time of 41 * Modifications to <code>buf</code> will modify this object, and 43 * @param buf object to be used as internal storage 45 public ReplaceableString(StringBuffer buf) { 46 this.buf = buf; 53 buf = new StringBuffer() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ReplaceableString.java | 26 private StringBuffer buf; field in class:ReplaceableString 34 buf = new StringBuffer(str); 38 * Construct a new object using <code>buf</code> for internal 39 * storage. The contents of <code>buf</code> at the time of 41 * Modifications to <code>buf</code> will modify this object, and 43 * @param buf object to be used as internal storage 46 public ReplaceableString(StringBuffer buf) { 47 this.buf = buf; 55 buf = new StringBuffer() [all...] |
/external/libchrome/base/posix/ |
safe_strerror.cc | 45 char *buf, 48 char *rc = (*strerror_r_ptr)(err, buf, len); 49 if (rc != buf) { 50 // glibc did not use buf and returned a static string instead. Copy it 51 // into buf. 52 buf[0] = '\0'; 53 strncat(buf, rc, len - 1); 68 char *buf, 76 int result = (*strerror_r_ptr)(err, buf, len); 82 buf[len - 1] = '\0' 123 char buf[buffer_size]; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
3-1.c | 21 char buf[256]; local 26 result = strftime(buf, sizeof(buf), "%A %d %B, %I:%S %p", tm_ptr); 29 printf("strftime gives: %s\n", buf);
|
/external/syslinux/com32/include/syslinux/ |
io.h | 37 int syslinux_read_disk(void *buf, uint32_t sector, uint16_t count);
|
/external/syslinux/core/fs/ |
getcwd.c | 4 __export char *core_getcwd(char *buf, size_t size) 8 if((buf != NULL) && (strlen(this_fs->cwd_name) < size)) { 9 strcpy(buf, this_fs->cwd_name); 10 ret = buf;
|
/external/syslinux/gpxe/src/drivers/bus/ |
isa_ids.c | 12 static char buf[7]; local 18 buf[i] = ( 'A' - 1 + ( vendor & 0x1f ) ); 23 sprintf ( &buf[3], "%04x", bswap_16 ( product ) ); 25 return buf;
|
/external/webrtc/webrtc/base/ |
md5digest.cc | 19 void Md5Digest::Update(const void* buf, size_t len) { 20 MD5Update(&ctx_, static_cast<const uint8_t*>(buf), len); 23 size_t Md5Digest::Finish(void* buf, size_t len) { 27 MD5Final(&ctx_, static_cast<uint8_t*>(buf));
|
sha1digest.cc | 19 void Sha1Digest::Update(const void* buf, size_t len) { 20 SHA1Update(&ctx_, static_cast<const uint8_t*>(buf), len); 23 size_t Sha1Digest::Finish(void* buf, size_t len) { 27 SHA1Final(&ctx_, static_cast<uint8_t*>(buf));
|
/external/wpa_supplicant_8/src/common/ |
gas.c | 20 struct wpabuf *buf; local 22 buf = wpabuf_alloc(100 + size); 23 if (buf == NULL) 26 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); 27 wpabuf_put_u8(buf, action); 28 wpabuf_put_u8(buf, dialog_token); 30 return buf; 51 struct wpabuf *buf; local 53 buf = wpabuf_alloc(100 + size); 54 if (buf == NULL 114 struct wpabuf *buf; local 131 struct wpabuf *buf; local 151 struct wpabuf *buf; local 172 struct wpabuf *buf; local 193 struct wpabuf *buf; local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glDebugMessageInsertKHR.java | 1 // C function void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf ) 8 String buf
|
/toolchain/binutils/binutils-2.25/gold/ |
nacl.cc | 39 char* buf = NULL; local 40 if (vasprintf(&buf, format, args) < 0) 43 gold_error(_("%s: %s"), this->file_.filename().c_str(), buf); 44 free(buf);
|
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
getpass.cc | 23 char buf[1024]; local 24 int res = read(master, buf, sizeof(buf)); 25 write(1, buf, res); 27 while ((res = read(master, buf, sizeof(buf))) > 0) write(1, buf, res);
|