Searched defs:buf (Results 126 - 150 of 4593) sorted by relevance

1234567891011>>

/external/e2fsprogs/debugfs/
H A Dunused.c31 unsigned char buf[EXT2_MAX_BLOCK_SIZE]; local
43 retval = io_channel_read_blk64(current_fs->io, blk, 1, buf);
49 if (buf[i])
56 fputc(buf[i], stdout);
/external/e2fsprogs/lib/e2p/
H A Dfgetflags.c50 struct stat buf; local
53 if (stat (name, &buf) == -1)
58 if (buf.st_flags & UF_IMMUTABLE)
62 if (buf.st_flags & UF_APPEND)
66 if (buf.st_flags & UF_NODUMP)
75 if (!lstat(name, &buf) &&
76 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
/external/e2fsprogs/lib/uuid/
H A Dparse.c48 char buf[3]; local
71 buf[2] = 0;
73 buf[0] = *cp++;
74 buf[1] = *cp++;
75 uuid.node[i] = strtoul(buf, NULL, 16);
/external/e2fsprogs/tests/progs/
H A Dcrcsum.c59 unsigned char buf[4096]; local
61 int c = fread(buf, 1, sizeof(buf), f);
64 crc = csum_func(crc, buf, c);
/external/elfutils/lib/
H A Dcrc32.c90 crc32 (uint32_t crc, unsigned char *buf, size_t len) argument
95 for (end = buf + len; buf < end; ++buf)
96 crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
/external/elfutils/libebl/
H A Deblobjecttypename.c39 ebl_object_type_name (Ebl *ebl, int object, char *buf, size_t len) argument
43 res = ebl != NULL ? ebl->object_type_name (object, buf, len) : NULL;
48 snprintf (buf, len, "LOOS+%x", object - ET_LOOS);
51 snprintf (buf, len, "LOPROC+%x", object - ET_LOPROC);
53 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), object);
55 res = buf;
H A Deblosabiname.c39 ebl_osabi_name (Ebl *ebl, int osabi, char *buf, size_t len) argument
41 const char *res = ebl != NULL ? ebl->osabi_name (osabi, buf, len) : NULL;
73 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), osabi);
75 res = buf;
H A Deblreloctypename.c39 ebl_reloc_type_name (Ebl *ebl, int reloc, char *buf, size_t len) argument
43 res = ebl != NULL ? ebl->reloc_type_name (reloc, buf, len) : NULL;
/external/fio/crc/
H A Dcrc32c.h36 static inline uint32_t fio_crc32c(unsigned char const *buf, unsigned long len) argument
39 return crc32c_intel(buf, len);
41 return crc32c_sw(buf, len);
H A Dfnv.c5 uint64_t fnv(const void *buf, uint32_t len, uint64_t hval) argument
7 const uint64_t *ptr = buf;
8 const uint64_t *end = (void *) buf + len;
H A Dsha256.h10 uint8_t *buf; member in struct:fio_sha256_ctx
H A Dsha512.h7 uint8_t *buf; member in struct:fio_sha512_ctx
/external/google-breakpad/src/common/linux/
H A Dcrc32.h39 // Updates a CRC32 checksum with |len| bytes from |buf|. |initial| holds the
41 uint32_t UpdateCrc32(uint32_t initial, const void* buf, size_t len);
43 // Computes a CRC32 checksum using |len| bytes from |buf|.
44 inline uint32_t ComputeCrc32(const void* buf, size_t len) { argument
45 return UpdateCrc32(0, buf, len);
/external/ipsec-tools/src/racoon/
H A Dlogger.h40 char **buf; member in struct:log
/external/kmod/shared/
H A Dscratchbuf.c24 void scratchbuf_init(struct scratchbuf *buf, char *stackbuf, size_t size) argument
26 buf->bytes = stackbuf;
27 buf->size = size;
28 buf->need_free = false;
31 int scratchbuf_alloc(struct scratchbuf *buf, size_t size) argument
35 if (size <= buf->size)
38 if (buf->need_free) {
39 tmp = realloc(buf->bytes, size);
46 memcpy(tmp, buf->bytes, buf
56 scratchbuf_release(struct scratchbuf *buf) argument
[all...]
H A Dscratchbuf.h17 void scratchbuf_init(struct scratchbuf *buf, char *stackbuf, size_t size);
18 int scratchbuf_alloc(struct scratchbuf *buf, size_t sz);
19 void scratchbuf_release(struct scratchbuf *buf);
22 static inline char *scratchbuf_str(struct scratchbuf *buf) argument
24 return buf->bytes;
/external/libbrillo/brillo/strings/
H A Dstring_utils_unittest.cc155 auto buf = string_utils::GetStringAsBytes(std::string{"\x80\0\1\xFF", 4}); local
156 ASSERT_EQ(4, buf.size());
157 EXPECT_EQ(128, buf[0]);
158 EXPECT_EQ(0, buf[1]);
159 EXPECT_EQ(1, buf[2]);
160 EXPECT_EQ(255, buf[3]);
/external/libcups/cups/
H A Dmd5-private.h54 unsigned char buf[64]; /* accumulate block */ member in struct:_cups_md5_state_s
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/
H A Dnew.pass.cpp25 char buf[sizeof(A)]; local
27 A* ap = new(buf) A;
28 assert((char*)ap == buf);
/external/libcxx/test/std/re/re.alg/re.alg.replace/
H A Dtest1.pass.cpp35 char buf[100] = {0}; local
36 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
39 assert(r.base() == buf+40);
40 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456"));
47 char buf[100] = {0}; local
48 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
52 assert(r.base() == buf+43);
53 assert(buf == std::string("123-$555-1234, 123-$555-2345, 123-$555-3456"));
60 char buf[100] = {0}; local
61 Out r = std::regex_replace(Out(buf), B
73 char buf[100] = {0}; local
86 char buf[100] = {0}; local
99 char buf[100] = {0}; local
[all...]
H A Dtest2.pass.cpp35 char buf[100] = {0}; local
36 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
39 assert(r.base() == buf+40);
40 assert(buf == std::string("123-555-1234, 123-555-2345, 123-555-3456"));
47 char buf[100] = {0}; local
48 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)),
52 assert(r.base() == buf+43);
53 assert(buf == std::string("123-$555-1234, 123-$555-2345, 123-$555-3456"));
60 char buf[100] = {0}; local
61 Out r = std::regex_replace(Out(buf), B
73 char buf[100] = {0}; local
86 char buf[100] = {0}; local
99 char buf[100] = {0}; local
[all...]
/external/libcxx/test/std/utilities/memory/ptr.align/
H A Dalign.pass.cpp20 char buf[N]; local
22 void* p = &buf[0];
25 assert(p == &buf[0]);
29 p = &buf[1];
32 assert(p == &buf[4]);
36 p = &buf[2];
39 assert(p == &buf[4]);
43 p = &buf[3];
46 assert(p == &buf[4]);
50 p = &buf[
[all...]
/external/libmicrohttpd/src/microhttpd/
H A Dmd5.h34 uint32_t buf[4]; member in struct:MD5Context
45 const void *buf,
/external/libmojo/base/android/
H A Dcxa_demangle_stub.cc13 char* buf,
12 __cxa_demangle(const char* mangled_name, char* buf, size_t* n, int* status) argument
/external/libnl/lib/route/cls/
H A Dpolice.c38 * @arg buf destination buffer
46 char * nl_police2str(int type, char *buf, size_t len) argument
48 return __type2str(type, buf, len, police_types,

Completed in 534 milliseconds

1234567891011>>