HomeSort by relevance Sort by last modified time
    Searched refs:buf (Results 501 - 525 of 13174) sorted by null

<<21222324252627282930>>

  /external/syslinux/gnu-efi/gnu-efi-3.0/lib/
argify.c 49 argify(CHAR16 *buf, UINTN len, CHAR16 **argv)
53 CHAR16 *p = buf;
55 if (buf == 0) {
69 while (buf[i] == CHAR_SPACE && buf[i] != CHAR_NULL && i < len) i++;
71 if (buf[i] == CHAR_NULL || i == len) goto end;
73 p = buf+i;
76 while (buf[i] != CHAR_SPACE && buf[i] != CHAR_NULL && i < len) i++;
80 if (buf[i] == CHAR_NULL) goto end
    [all...]
  /external/toybox/toys/pending/
fold.c 41 char *buf = toybuf; local
45 switch (buf[pos]) {
48 if ((toys.optflags & FLAG_u) && buf[pos-1] != '\n'
49 && buf[pos+1] != '\n') {
50 xwrite(1, buf, pos);
52 buf += pos + 1;
79 if (maxlen > 0 && len >= maxlen && buf[pos+1] != '\n' && buf[pos+1] != '\b') {
81 xwrite(1, buf, split + 1);
84 buf += split + 1
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
nfc_pw_token.c 18 static void print_bin(const char *title, const struct wpabuf *buf)
23 if (buf == NULL)
28 pos = wpabuf_head(buf);
29 len = wpabuf_len(buf);
41 struct wpabuf *buf = NULL, *ndef = NULL; local
53 buf = wpas_wps_nfc_token(&wpa_s, 0);
54 if (buf == NULL)
57 ndef = ndef_build_wifi(buf);
61 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(buf),
62 wpabuf_len(buf));
    [all...]
wpa_passphrase.c 19 char *ssid, *passphrase, buf[64], *pos; local
35 if (fgets(buf, sizeof(buf), stdin) == NULL) {
39 buf[sizeof(buf) - 1] = '\0';
40 pos = buf;
48 passphrase = buf;
  /libcore/ojluni/src/main/java/java/io/
ByteArrayInputStream.java 48 * by the creator of the stream. Elements <code>buf[0]</code>
49 * through <code>buf[count-1]</code> are the
51 * stream; element <code>buf[pos]</code> is
54 protected byte buf[]; field in class:ByteArrayInputStream
61 * will be <code>buf[pos]</code>.
84 * and not larger than the length of <code>buf</code>.
86 * the last byte within <code>buf</code> that
93 * so that it uses <code>buf</code> as its
99 * <code>buf</code>.
101 * @param buf the input buffer
    [all...]
StringWriter.java 43 private StringBuffer buf; field in class:StringWriter
50 buf = new StringBuffer();
51 lock = buf;
69 buf = new StringBuffer(initialSize);
70 lock = buf;
77 buf.append((char) c);
94 buf.append(cbuf, off, len);
101 buf.append(str);
112 buf.append(str.substring(off, off + len));
210 return buf.toString()
    [all...]
  /toolchain/binutils/binutils-2.27/libiberty/
lrealpath.c 84 char buf[REALPATH_LIMIT]; local
85 const char *rp = realpath (filename, buf);
119 char *buf, *rp, *ret; local
120 buf = (char *) malloc (path_max);
121 if (buf == NULL)
123 rp = realpath (filename, buf);
125 free (buf);
139 char buf[MAX_PATH]; local
141 DWORD len = GetFullPathName (filename, MAX_PATH, buf, &basename);
149 CharLowerBuff (buf, len)
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
vdprintf.c 44 __dwrite(void *cookie, const char *buf, int n)
47 return (write(*fdp, buf, n));
55 unsigned char buf[BUFSIZ]; local
60 f._p = buf;
61 f._w = sizeof(buf);
64 f._bf._base = buf;
65 f._bf._size = sizeof(buf);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
grammar1.c 36 static char buf[100]; local
42 PyOS_snprintf(buf, sizeof(buf), "NT%d", lb->lb_type);
43 return buf;
52 PyOS_snprintf(buf, sizeof(buf), "%.32s(%.32s)",
54 return buf;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
grammar1.c 36 static char buf[100]; local
42 PyOS_snprintf(buf, sizeof(buf), "NT%d", lb->lb_type);
43 return buf;
52 PyOS_snprintf(buf, sizeof(buf), "%.32s(%.32s)",
54 return buf;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
X500NameTokenizer.java 14 private StringBuffer buf = new StringBuffer(); field in class:X500NameTokenizer
47 buf.setLength(0);
59 buf.append(c);
66 buf.append(c);
71 buf.append(c);
80 buf.append(c);
88 return buf.toString();
  /external/elfutils/libebl/
eblmachineflagname.c 40 ebl_machine_flag_name (Ebl *ebl, Elf64_Word flags, char *buf, size_t len)
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;
  /external/icu/icu4c/source/common/
cstr.cpp 26 char *buf = s.getAppendBuffer(length, length, resultCapacity, status); local
28 in.extract(0, in.length(), buf, resultCapacity);
29 s.append(buf, length, status);
35 char buf[2]; local
38 u_UCharsToChars(in.getBuffer()+i, buf, 1);
40 buf[0] = '?';
42 s.append(buf, 1, status);
  /external/libvpx/libvpx/vpx_ports/
ppc_cpudetect.c 44 uint64_t buf[64]; local
58 while ((count = read(fd, buf, sizeof(buf))) > 0) {
59 for (i = 0; i < (count / sizeof(*buf)); i += 2) {
60 if (buf[i] == AT_HWCAP) {
62 if (buf[i + 1] & PPC_FEATURE_HAS_VSX) {
67 } else if (buf[i] == AT_NULL) {
  /external/ltp/lib/
tst_fill_file.c 35 char *buf; local
42 buf = malloc(bs);
43 if (buf == NULL) {
50 buf[counter] = pattern;
54 if (write(fd, buf, bs) != (ssize_t)bs) {
55 free(buf);
63 free(buf);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
14-2.c 42 char *buf; local
55 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
56 if (buf == MAP_FAILED) {
61 strcpy(buf, str);
69 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0);
70 if (buf == MAP_FAILED) {
76 if (strcmp(buf, str) == 0) {
  /external/python/cpython2/Parser/
grammar1.c 36 static char buf[100]; local
42 PyOS_snprintf(buf, sizeof(buf), "NT%d", lb->lb_type);
43 return buf;
52 PyOS_snprintf(buf, sizeof(buf), "%.32s(%.32s)",
54 return buf;
  /external/python/cpython3/Parser/
grammar1.c 36 static char buf[100]; local
42 PyOS_snprintf(buf, sizeof(buf), "NT%d", lb->lb_type);
43 return buf;
52 PyOS_snprintf(buf, sizeof(buf), "%.32s(%.32s)",
54 return buf;
  /external/strace/tests/
print_time.c 44 char buf[256]; local
45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p))
51 fputs(buf, stdout);
56 if (strftime(buf, sizeof(buf), "%z", p))
57 fputs(buf, stdout);
  /external/strace/tests-m32/
print_time.c 44 char buf[256]; local
45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p))
51 fputs(buf, stdout);
56 if (strftime(buf, sizeof(buf), "%z", p))
57 fputs(buf, stdout);
  /external/strace/tests-mx32/
print_time.c 44 char buf[256]; local
45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p))
51 fputs(buf, stdout);
56 if (strftime(buf, sizeof(buf), "%z", p))
57 fputs(buf, stdout);
  /external/syslinux/com32/lib/sys/
line_input.c 38 ssize_t __line_input(struct file_info * fp, char *buf, size_t bufsize,
60 *buf = '\n';
67 buf--;
75 buf--;
82 *buf = ch;
83 Write(fp, buf, 1);
85 buf++;
  /external/toybox/toys/posix/
uuencode.c 25 char *name = toys.optargs[toys.optc-1], buf[(76/4)*3]; local
37 if (!(i = xread(fd, buf, m ? sizeof(buf) : 45))) break;
40 in = buf;
42 for (in = buf; in-buf < i; ) {
43 int j, x, bytes = i - (in-buf);
  /external/wpa_supplicant_8/src/ap/
ctrl_iface_ap.h 13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
24 char *buf, size_t buflen);
27 int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
32 int hostapd_ctrl_iface_pmksa_list(struct hostapd_data *hapd, char *buf,
37 const u8 *addr, char *buf, size_t len);
  /frameworks/base/core/java/android/net/util/
IpUtils.java 46 private static int checksum(ByteBuffer buf, int seed, int start, int end) {
48 final int bufPosition = buf.position();
52 buf.position(start);
53 ShortBuffer shortBuf = buf.asShortBuffer();
56 buf.position(bufPosition);
66 short b = buf.get(start);
83 ByteBuffer buf, int headerOffset, int protocol, int transportLen) {
85 partial += intAbs(buf.getShort(headerOffset + 12));
86 partial += intAbs(buf.getShort(headerOffset + 14));
87 partial += intAbs(buf.getShort(headerOffset + 16))
    [all...]

Completed in 1320 milliseconds

<<21222324252627282930>>