/external/compiler-rt/test/tsan/ |
H A D | fd_stdout_race.cc | 12 char buf; local 13 read(f, &buf, 1);
|
H A D | sunrpc.cc | 10 char buf[100]; local 11 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE);
|
H A D | vfork.cc | 18 char buf; local 19 while (read(fds[0], &buf, 1) != 1) {
|
/external/conscrypt/common/src/jni/main/include/ |
H A D | BioOutputStream.h | 30 int write(const char* buf, int len) { argument 48 env->SetByteArrayRegion(javaBytes.get(), 0, len, reinterpret_cast<const jbyte*>(buf));
|
/external/curl/docs/examples/ |
H A D | postit2.c | 53 static const char buf[] = "Expect:"; local 82 headerlist = curl_slist_append(headerlist, buf);
|
/external/dhcpcd-6.8.2/compat/ |
H A D | endian.h | 34 be32enc(uint8_t *buf, uint32_t u) argument 37 buf[0] = (uint8_t)((u >> 24) & 0xff); 38 buf[1] = (uint8_t)((u >> 16) & 0xff); 39 buf[2] = (uint8_t)((u >> 8) & 0xff); 40 buf[3] = (uint8_t)(u & 0xff); 44 be64enc(uint8_t *buf, uint64_t u) argument 47 be32enc(buf, (uint32_t)(u >> 32)); 48 be32enc(buf + sizeof(uint32_t), (uint32_t)(u & 0xffffffffULL)); 52 be16dec(const uint8_t *buf) argument 55 return (uint16_t)(buf[ 59 be32dec(const uint8_t *buf) argument 66 be64dec(const uint8_t *buf) argument [all...] |
H A D | getline.c | 41 getline(char ** __restrict buf, size_t * __restrict buflen, argument 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/dtc/tests/ |
H A D | appendprop2.c | 43 void *fdt, *buf; local 50 buf = xmalloc(SPACE); 51 CHECK(fdt_open_into(fdt, buf, SPACE)); 52 fdt = buf;
|
H A D | setprop.c | 38 void *buf; local 46 buf = xmalloc(SPACE); 48 err = fdt_open_into(fdt, buf, SPACE); 52 fdt = buf;
|
/external/e2fsprogs/lib/e2p/ |
H A D | crypto_mode.c | 38 static char buf[20]; local 44 sprintf(buf, "ENC_MODE_%d", num); 45 return buf;
|
H A D | hashstr.c | 36 static char buf[20]; local 42 sprintf(buf, "HASHALG_%d", num); 43 return buf;
|
/external/e2fsprogs/lib/et/ |
H A D | et_name.c | 22 static char buf[6]; variable 31 p = buf; 42 return(buf);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | ind_block.c | 23 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf) argument 34 memset(buf, 0, fs->blocksize); 36 retval = io_channel_read_blk(fs->io, blk, 1, buf); 41 block_nr = (blk_t *) buf; 48 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf) argument 60 block_nr = (blk_t *) buf; 64 return io_channel_write_blk(fs->io, blk, 1, buf);
|
/external/elfutils/libebl/ |
H A D | eblcorenotetypename.c | 39 ebl_core_note_type_name (Ebl *ebl, uint32_t type, char *buf, size_t len) argument 41 const char *res = ebl->core_note_type_name (type, buf, len); 98 snprintf (buf, len, "%s: %" PRIu32, gettext ("<unknown>"), type); 100 res = buf;
|
H A D | ebldynamictagname.c | 40 ebl_dynamic_tag_name (Ebl *ebl, int64_t tag, char *buf, size_t len) argument 42 const char *res = ebl != NULL ? ebl->dynamic_tag_name (tag, buf, len) : NULL; 101 snprintf (buf, len, gettext ("<unknown>: %#" PRIx64), tag); 103 res = buf;
|
H A D | eblmachineflagname.c | 40 ebl_machine_flag_name (Ebl *ebl, Elf64_Word flags, char *buf, size_t len) argument 48 char *cp = buf; 57 if (cp + 1 >= buf + len) 66 snprintf (cp, buf + len - cp, "%#x", flags); 71 if ((size_t) (buf + len - cp) < machstrlen) 73 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; 83 res = buf;
|
H A D | eblobjnotetypename.c | 42 char *buf, size_t len) 44 const char *res = ebl->object_note_type_name (name, type, buf, len); 50 snprintf (buf, len, "Version: %" PRIu32, type); 51 return buf; 69 snprintf (buf, len, "%s: %" PRIu32, gettext ("<unknown>"), type); 71 res = buf; 41 ebl_object_note_type_name(Ebl *ebl, const char *name, uint32_t type, char *buf, size_t len) argument
|
H A D | eblsectionname.c | 39 ebl_section_name (Ebl *ebl, int section, int xsection, char *buf, size_t len, argument 43 buf, len) : NULL; 66 snprintf (buf, len, "%d", idx); 67 res = buf; 74 snprintf (buf, len, "%s: %d", "XINDEX", xsection); 76 snprintf (buf, len, "LOOS+%x", section - SHN_LOOS); 79 snprintf (buf, len, "LOPROC+%x", section - SHN_LOPROC); 81 snprintf (buf, len, "LORESERVE+%x", section - SHN_LORESERVE); 83 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), section); 85 res = buf; [all...] |
H A D | eblsectiontypename.c | 39 ebl_section_type_name (Ebl *ebl, int section, char *buf, size_t len) argument 41 const char *res = ebl->section_type_name (section, buf, len); 107 snprintf (buf, len, "SHT_LOOS+%x", section - SHT_LOOS); 110 snprintf (buf, len, "SHT_LOPROC+%x", section - SHT_LOPROC); 113 snprintf (buf, len, "SHT_LOUSER+%x", section - SHT_LOUSER); 115 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), section); 117 res = buf;
|
H A D | eblsegmenttypename.c | 39 ebl_segment_type_name (Ebl *ebl, int segment, char *buf, size_t len) argument 43 res = ebl != NULL ? ebl->segment_type_name (segment, buf, len) : NULL; 75 snprintf (buf, len, "LOOS+%d", segment - PT_LOOS); 77 snprintf (buf, len, "LOPROC+%d", segment - PT_LOPROC); 79 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), segment); 81 res = buf;
|
H A D | eblsymbolbindingname.c | 39 ebl_symbol_binding_name (Ebl *ebl, int binding, char *buf, size_t len) argument 43 res = ebl != NULL ? ebl->symbol_type_name (binding, buf, len) : NULL; 59 snprintf (buf, len, "LOPROC+%d", binding - STB_LOPROC); 65 snprintf (buf, len, "LOOS+%d", binding - STB_LOOS); 67 snprintf (buf, len, gettext ("<unknown>: %d"), binding); 69 res = buf;
|
H A D | eblsymboltypename.c | 39 ebl_symbol_type_name (Ebl *ebl, int symbol, char *buf, size_t len) argument 43 res = ebl != NULL ? ebl->symbol_type_name (symbol, buf, len) : NULL; 65 snprintf (buf, len, "LOPROC+%d", symbol - STT_LOPROC); 71 snprintf (buf, len, "LOOS+%d", symbol - STT_LOOS); 73 snprintf (buf, len, gettext ("<unknown>: %d"), symbol); 75 res = buf;
|
/external/elfutils/tests/ |
H A D | asm-tst4.c | 61 char buf[20]; local 65 snprintf (buf, sizeof (buf), ".data.%zu", cnt); 68 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 72 buf, asm_errmsg (-1)); 81 buf, asm_errmsg (-1));
|
H A D | asm-tst5.c | 63 char buf[20]; local 67 snprintf (buf, sizeof (buf), ".data.%zu", cnt); 70 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 74 buf, asm_errmsg (-1)); 80 snprintf (buf, sizeof (buf), "%zu", cnt); 81 if (asm_newsym (scn, buf, sizeof (uint32_t), STT_OBJECT, 84 printf ("cannot create symbol \"%s\": %s\n", buf, asm_errmsg (-1)); 93 buf, asm_errms [all...] |
H A D | asm-tst6.c | 60 char buf[512]; local 65 snprintf (buf, sizeof (buf), ".grp%zu", cnt); 66 grp = asm_newscngrp (ctx, buf, NULL, 0); 85 snprintf (buf, sizeof (buf), "%zu", cnt); 86 sym = asm_newsym (scn, buf, sizeof (uint32_t), STT_OBJECT, 90 printf ("cannot create symbol \"%s\": %s\n", buf, asm_errmsg (-1)); 99 buf, asm_errmsg (-1)); 127 buf, asm_errms [all...] |