/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/libartbase/base/unix_file/ |
random_access_file_utils.cc | 28 std::vector<char> buf(4096); 31 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { 32 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/arm-trusted-firmware/plat/arm/board/juno/ |
juno_decl.h | 10 int juno_getentropy(void *buf, size_t len);
|
/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/bsdiff/ |
utils.cc | 9 int64_t ParseInt64(const uint8_t* buf) { 10 int64_t result = buf[7] & 0x7F; 13 result |= buf[i]; 16 if (buf[7] & 0x80)
|
/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/expat/xmlwf/ |
xmlmime.h | 42 buf contains the body of the header field (the part after "Content-Type:"). 47 void getXMLCharset(const char *buf, char *charset);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ReplaceableString.java | 25 private StringBuffer buf; field in class:ReplaceableString 32 buf = new StringBuffer(str); 36 * Construct a new object using <code>buf</code> for internal 37 * storage. The contents of <code>buf</code> at the time of 39 * Modifications to <code>buf</code> will modify this object, and 41 * @param buf object to be used as internal storage 43 public ReplaceableString(StringBuffer buf) { 44 this.buf = buf; 51 buf = new StringBuffer() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ReplaceableString.java | 24 private StringBuffer buf; field in class:ReplaceableString 32 buf = new StringBuffer(str); 36 * Construct a new object using <code>buf</code> for internal 37 * storage. The contents of <code>buf</code> at the time of 39 * Modifications to <code>buf</code> will modify this object, and 41 * @param buf object to be used as internal storage 44 public ReplaceableString(StringBuffer buf) { 45 this.buf = buf; 53 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/swiftshader/third_party/llvm-subzero/include/llvm/Demangle/ |
Demangle.h | 16 /// The mangled_name is demangled into buf and returned. If the buffer is not 26 char *itaniumDemangle(const char *mangled_name, char *buf, size_t *n,
|
/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
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
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;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Demangle/ |
Demangle.h | 16 /// The mangled_name is demangled into buf and returned. If the buffer is not 26 char *itaniumDemangle(const char *mangled_name, char *buf, size_t *n,
|