/external/dhcpcd-6.8.2/compat/ |
getline.c | 41 getline(char ** __restrict buf, size_t * __restrict buflen, 47 if (buf == NULL || buflen == NULL) { 51 if (*buf == NULL) 58 if (*buf == NULL || bytes != 0 || *buflen < BUFSIZ) { 60 newbuf = realloc(*buf, newlen); 63 *buf = newbuf; 66 p = *buf + bytes; 71 } while (bytes == 0 || *(*buf + (bytes - 1)) != '\n');
|
/external/doclava/src/com/google/doclava/ |
AtLinksNavTree.java | 53 StringBuilder buf = new StringBuilder(); local 55 buf.append("{"); 56 addPackages(buf, Doclava.choosePackages()); 57 buf.append("\n}"); 60 data.setValue("navtree", buf.toString()); 75 * @param buf The string builder to append to. 79 private static void addPackages(StringBuilder buf, PackageInfo[] packages) { 84 buf.append(","); 86 buf.append("\n \"" + pkg.name() + "\": {"); 89 is_first_class = addClasses(buf, pkg.annotations(), is_first_class) [all...] |
/external/e2fsprogs/lib/e2p/ |
getflags.c | 33 struct stat buf; local 36 if (fstat (fd, &buf) == -1) 41 if (buf.st_flags & UF_IMMUTABLE) 45 if (buf.st_flags & UF_APPEND) 49 if (buf.st_flags & UF_NODUMP) 58 if (!fstat(fd, &buf) && 59 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))
|
/external/google-breakpad/src/third_party/libdisasm/ |
x86_imm.h | 13 unsigned int x86_imm_sized( unsigned char *buf, size_t buf_len, void *dest, 16 unsigned int x86_imm_signsized( unsigned char *buf, size_t buf_len, void *dest,
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/ |
rdbuf.pass.cpp | 22 const char buf[] = "123 4.5 dog"; local 23 const std::istrstream in(buf);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
setbuf.pass.cpp | 22 char buf[] = "0123456789"; local 23 std::strstreambuf sb(buf, 0);
|
/external/libjpeg-turbo/ |
bmp.h | 34 int loadbmp(char *filename, unsigned char **buf, int *w, int *h, int pf, 37 int savebmp(char *filename, unsigned char *buf, int w, int h, int pf,
|
/external/libvpx/libvpx/ |
y4menc.h | 24 int y4m_write_file_header(char *buf, size_t len, int width, int height, 27 int y4m_write_frame_header(char *buf, size_t len);
|
/external/libxcam/modules/ocl/ |
priority_buffer_queue.cpp | 28 PriorityBuffer::priority_greater_than (const PriorityBuffer& buf) const 31 ((int32_t)(buf.seq_num - this->seq_num) * XCAM_PRIORITY_BUFFER_FIXED_DELAY + 32 (int32_t)(buf.rank - this->rank)); 34 return (int32_t)(buf.seq_num - this->seq_num) > 0; 41 PriorityBufferQueue::push_priority_buf (const SmartPtr<PriorityBuffer> &buf) 43 XCAM_ASSERT (buf.ptr ()); 51 if (buf->priority_greater_than (*current.ptr())) 55 _obj_list.insert (iter, buf);
|
/external/ltp/include/lapi/ |
readlinkat.h | 27 int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz) 29 return ltp_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz);
|
/external/ltp/testcases/kernel/syscalls/getrandom/ |
getrandom02.c | 37 static int check_content(unsigned char *buf, int nb) 47 index = buf[i]; 60 unsigned char buf[256]; local 62 memset(buf, 0, sizeof(buf)); 65 TEST(tst_syscall(__NR_getrandom, buf, sizeof(buf), modes[n])); 69 if (!check_content(buf, TEST_RETURN))
|
/external/lzma/C/ |
DllSecur.c | 39 wchar_t buf[MAX_PATH + 100];
local 56 unsigned len = GetSystemDirectoryW(buf, MAX_PATH + 2);
62 unsigned pos = (unsigned)lstrlenW(buf);
64 if (buf[pos - 1] != '\\')
65 buf[pos++] = '\\';
73 buf[pos + k] = c;
79 lstrcatW(buf, L".dll");
80 LoadLibraryExW(buf, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/ |
ARM.java | 22 public int code(byte[] buf, int off, int len) { 27 if ((buf[i + 3] & 0xFF) == 0xEB) { 28 int src = ((buf[i + 2] & 0xFF) << 16) 29 | ((buf[i + 1] & 0xFF) << 8) 30 | (buf[i] & 0xFF); 40 buf[i + 2] = (byte)(dest >>> 16); 41 buf[i + 1] = (byte)(dest >>> 8); 42 buf[i] = (byte)dest;
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_devicecs_unittest.cpp | 16 // Test normal values. For gray, only first value from buf should be used. 17 float buf[3] = {0.43f, 0.11f, 0.34f}; local 18 ASSERT_TRUE(device_gray.GetRGB(buf, &R, &G, &B)); 22 buf[0] = 0.872f; 23 ASSERT_TRUE(device_gray.GetRGB(buf, &R, &G, &B)); 29 buf[0] = {0.0f}; 30 ASSERT_TRUE(device_gray.GetRGB(buf, &R, &G, &B)); 34 buf[0] = 1.0f; 35 ASSERT_TRUE(device_gray.GetRGB(buf, &R, &G, &B)); 41 buf[0] = -0.01f 60 float buf[3] = {0.13f, 1.0f, 0.652f}; local 89 float buf[4] = {0.6f, 0.5f, 0.3f, 0.9f}; local [all...] |
/external/ppp/pppd/ |
magic.h | 49 void random_bytes __P((unsigned char *buf, int len));
|
/external/syslinux/com32/include/sys/ |
times.h | 21 static inline clock_t times(struct tms *buf) 23 (void)buf;
|
/external/syslinux/gpxe/src/crypto/ |
crandom.c | 35 * @v buf Buffer in which to store random bytes 41 void get_random_bytes ( void *buf, size_t len ) 43 u8 *bufp = buf;
|
/external/webrtc/webrtc/base/ |
buffer.cc | 22 Buffer::Buffer(const Buffer& buf) : Buffer(buf.data(), buf.size()) { 25 Buffer::Buffer(Buffer&& buf) 26 : size_(buf.size()), 27 capacity_(buf.capacity()), 28 data_(std::move(buf.data_)) { 30 buf.OnMovedFrom();
|
/external/wpa_supplicant_8/src/tls/ |
pkcs8.h | 12 struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len); 14 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);
|
/external/zlib/src/contrib/blast/ |
blast.h | 38 typedef unsigned (*blast_in)(void *how, unsigned char **buf); 39 typedef int (*blast_out)(void *how, unsigned char *buf, unsigned len); 53 * The input function is invoked: len = infun(how, &buf), where buf is set by 62 * The output function is invoked: err = outfun(how, buf, len), where the bytes 63 * to be written are buf[0..len-1]. If err is not zero, then blast() returns
|
/frameworks/base/libs/protoutil/src/ |
protobuf.cpp | 46 write_raw_varint(uint8_t* buf, uint64_t val) 48 uint8_t* p = buf; 61 write_length_delimited_tag_header(uint8_t* buf, uint32_t fieldId, size_t size) 63 buf = write_raw_varint(buf, (fieldId << FIELD_ID_SHIFT) | WIRE_TYPE_LENGTH_DELIMITED); 64 buf = write_raw_varint(buf, size); 65 return buf;
|
/libcore/ojluni/src/main/java/java/io/ |
BufferedOutputStream.java | 42 protected byte buf[]; field in class:BufferedOutputStream 46 * in the range <tt>0</tt> through <tt>buf.length</tt>; elements 47 * <tt>buf[0]</tt> through <tt>buf[count-1]</tt> contain valid 76 buf = new byte[size]; 82 out.write(buf, 0, count); 94 if (count >= buf.length) { 97 buf[count++] = (byte)b; 117 if (len >= buf.length) { 125 if (len > buf.length - count) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/ |
rdbuf.pass.cpp | 22 const char buf[] = "123 4.5 dog"; local 23 const std::istrstream in(buf);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
setbuf.pass.cpp | 22 char buf[] = "0123456789"; local 23 std::strstreambuf sb(buf, 0);
|
/system/bt/btif/include/ |
btif_sock_util.h | 33 int sock_send_all(int sock_fd, const uint8_t* buf, int len); 34 int sock_recv_all(int sock_fd, uint8_t* buf, int len);
|