Searched refs:buf (Results 151 - 175 of 3827) sorted by relevance

1234567891011>>

/external/quake/quake/src/QW/client/
H A Dcl_demo.c380 sizebuf_t buf; local
426 memset(&buf, 0, sizeof(buf));
427 buf.data = (byte*) buf_data;
428 buf.maxsize = sizeof(buf_data);
431 MSG_WriteByte (&buf, svc_serverdata);
432 MSG_WriteLong (&buf, PROTOCOL_VERSION);
433 MSG_WriteLong (&buf, cl.servercount);
434 MSG_WriteString (&buf, gamedirfile);
437 MSG_WriteByte (&buf, c
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DPerl5Target.java46 final StringBuffer buf = new StringBuffer(10);
50 buf.append("\\x{0000}");
53 buf.append(targetCharValueEscape[c]);
58 buf.append((char) c);
64 buf.append("\\x{");
65 buf.append(hex);
66 buf.append("}");
69 if (buf.indexOf("\\") == -1) {
71 buf.insert(0, '\'');
72 buf
[all...]
/external/e2fsprogs/lib/et/
H A Det_name.c21 static char buf[6]; variable
31 p = buf;
42 return(buf);
/external/elfutils/libebl/
H A Deblreloctypename.c60 ebl_reloc_type_name (ebl, reloc, buf, len)
63 char *buf;
68 res = ebl != NULL ? ebl->reloc_type_name (reloc, buf, len) : NULL;
H A Deblsectionname.c60 ebl_section_name (ebl, section, xsection, buf, len, scnnames, shnum)
64 char *buf;
70 buf, len) : NULL;
93 snprintf (buf, len, "%d", idx);
94 res = buf;
101 snprintf (buf, len, "%s: %d", "XINDEX", xsection);
103 snprintf (buf, len, "LOOS+%x", section - SHN_LOOS);
106 snprintf (buf, len, "LOPROC+%x", section - SHN_LOPROC);
108 snprintf (buf, len, "LORESERVE+%x", section - SHN_LORESERVE);
110 snprintf (buf, le
[all...]
/external/emma/core/java12/com/vladium/util/
H A DByteArrayIStream.java29 public ByteArrayIStream (final byte [] buf) argument
31 this (buf, buf.length);
34 public ByteArrayIStream (final byte [] buf, final int length) argument
36 if ($assert.ENABLED) $assert.ASSERT ((length >= 0) && (length <= buf.length),
39 m_buf = buf;
53 public final int read (final byte [] buf, final int offset, int length) argument
56 $assert.ASSERT ((offset >= 0) && (offset <= buf.length) &&
57 (length >= 0) && ((offset + length) <= buf.length),
58 "invalid input (" + buf
[all...]
/external/libvpx/
H A Dmd5_utils.h32 UWORD32 buf[4]; member in struct:MD5Context
38 void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len);
40 void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
/external/ppp/pppd/
H A Deui64.c51 static char buf[32]; local
53 snprintf(buf, 32, "%02x%02x:%02x%02x:%02x%02x:%02x%02x",
56 return buf;
/external/valgrind/main/VEX/test/
H A Dfstenv.c13 unsigned int* buf = malloc(7*sizeof(int)); local
14 do_fstenv(buf);
16 printf("%08x ", buf[i]);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A Ddebug.cpp25 char buf[kTraceBufferLen]; local
28 vsnprintf(buf, kTraceBufferLen, format, args);
31 parseContext->infoSink.debug << buf;
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dctrl_iface_ap.h13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
/external/wpa_supplicant_8/src/ap/
H A Dctrl_iface_ap.h13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dctrl_iface_ap.h13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
/external/openssl/crypto/asn1/
H A Df_enum.c70 char buf[2]; local
88 buf[0]=h[((unsigned char)a->data[i]>>4)&0x0f];
89 buf[1]=h[((unsigned char)a->data[i] )&0x0f];
90 if (BIO_write(bp,buf,2) != 2) goto err;
99 int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size) argument
109 bufsize=BIO_gets(bp,buf,size);
114 if (buf[i-1] == '\n') buf[--i]='\0';
116 if (buf[i-1] == '\r') buf[
[all...]
H A Df_string.c68 char buf[2]; local
86 buf[0]=h[((unsigned char)a->data[i]>>4)&0x0f];
87 buf[1]=h[((unsigned char)a->data[i] )&0x0f];
88 if (BIO_write(bp,buf,2) != 2) goto err;
97 int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) argument
105 bufsize=BIO_gets(bp,buf,size);
118 if (buf[i-1] == '\n') buf[--i]='\0';
120 if (buf[i-1] == '\r') buf[
[all...]
/external/clang/test/Analysis/
H A Dmalloc-plist.c25 char * buf = malloc(100); local
27 tmp = (char*)realloc(buf, 0x1000000);
31 buf = tmp;
32 free(buf);
44 void *buf = wrapper(); local
45 (void) buf;
60 void *buf; local
61 my_malloc_and_free(&buf);
62 return buf;
66 char *my_realloc(char *buf) { argument
75 char *buf = (char *)malloc(100); local
[all...]
/external/oprofile/libop/
H A Dop_xml_out.c98 char *buf; local
103 buf = &buffer[size];
106 ret = snprintf(buf, size, "<%s%s", xml_tag_name(tag),
118 char *buf; local
123 buf = &buffer[size];
127 ret = snprintf(buf, size, "%s\n", (has_nested ? ">" : "/>"));
129 ret = snprintf(buf, size, "</%s>\n", xml_tag_name(tag));
140 char *buf; local
145 buf = &buffer[size];
148 ret = snprintf(buf, siz
159 char *buf; local
178 char *buf; local
245 char *buf; local
[all...]
/external/dropbear/libtomcrypt/src/prngs/
H A Drng_make_prng.c29 unsigned char buf[256]; local
48 if (rng_get_bytes(buf, (unsigned long)bits, callback) != (unsigned long)bits) {
52 if ((err = prng_descriptor[wprng].add_entropy(buf, (unsigned long)bits, prng)) != CRYPT_OK) {
61 zeromem(buf, sizeof(buf));
/external/e2fsprogs/lib/uuid/
H A Dtst_uuid.c72 uuid_t buf, tst; local
81 uuid_generate(buf);
82 uuid_unparse(buf, str);
85 for (i=0, cp = (unsigned char *) &buf; i < 16; i++) {
89 type = uuid_type(buf); variant = uuid_variant(buf);
97 uuid_generate_random(buf);
98 uuid_unparse(buf, str);
101 for (i=0, cp = (unsigned char *) &buf; i < 16; i++) {
105 type = uuid_type(buf); varian
[all...]
/external/libselinux/src/
H A Ddisable.c16 char buf[20]; local
28 buf[0] = '1';
29 buf[1] = '\0';
30 ret = write(fd, buf, strlen(buf));
H A Dsetenforce.c16 char buf[20]; local
28 snprintf(buf, sizeof buf, "%d", value);
29 ret = write(fd, buf, strlen(buf));
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DCountOutputStream.java43 public void write(byte[] buf, int off, int len) throws IOException argument
45 out.write(buf, off, len);
54 public void write(byte[] buf) throws IOException argument
56 out.write(buf);
57 bytesWritten += buf.length;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DNFAConfiguration.java128 StringBuffer buf = new StringBuffer();
129 buf.append(state);
131 buf.append("|");
132 buf.append(alt);
135 buf.append("|");
136 buf.append(context);
140 buf.append("|");
142 buf.append(escQuote);
145 buf.append("|resolved");
148 buf
[all...]
/external/dropbear/libtomcrypt/src/misc/pkcs5/
H A Dpkcs_5_1.c37 unsigned char *buf; local
51 buf = XMALLOC(MAXBLOCKSIZE);
52 if (md == NULL || buf == NULL) {
56 if (buf != NULL) {
57 XFREE(buf);
72 if ((err = hash_descriptor[hash_idx].done(md, buf)) != CRYPT_OK) {
79 if ((err = hash_memory(hash_idx, buf, hash_descriptor[hash_idx].hashsize, buf, &x)) != CRYPT_OK) {
86 out[x] = buf[x];
92 zeromem(buf, MAXBLOCKSIZ
[all...]
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_mgf1.c37 unsigned char *buf; local
52 buf = XMALLOC(hLen);
53 if (md == NULL || buf == NULL) {
57 if (buf != NULL) {
58 XFREE(buf);
68 STORE32H(counter, buf);
78 if ((err = hash_descriptor[hash_idx].process(md, buf, 4)) != CRYPT_OK) {
81 if ((err = hash_descriptor[hash_idx].done(md, buf)) != CRYPT_OK) {
87 *mask++ = buf[x];
94 zeromem(buf, hLe
[all...]

Completed in 435 milliseconds

1234567891011>>