Searched refs:buf (Results 251 - 275 of 6080) sorted by relevance

<<11121314151617181920>>

/external/elfutils/0.153/libebl/
H A Deblsymboltypename.c60 ebl_symbol_type_name (ebl, symbol, buf, len)
63 char *buf;
68 res = ebl != NULL ? ebl->symbol_type_name (symbol, buf, len) : NULL;
90 snprintf (buf, len, "LOPROC+%d", symbol - STT_LOPROC);
96 snprintf (buf, len, "LOOS+%d", symbol - STT_LOOS);
98 snprintf (buf, len, gettext ("<unknown>: %d"), symbol);
100 res = buf;
/external/libselinux/src/
H A Dget_initial_context.c17 char *buf; local
33 buf = malloc(size);
34 if (!buf) {
38 memset(buf, 0, size);
39 ret = read(fd, buf, size - 1);
43 *con = strdup(buf);
50 free(buf);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_lookahead.c26 struct lookahead_entry *buf; /* Buffer list */ member in struct:lookahead_ctx
34 struct lookahead_entry *buf = ctx->buf + index; local
40 return buf;
46 if (ctx->buf) {
50 vp9_free_frame_buffer(&ctx->buf[i].img);
51 free(ctx->buf);
76 ctx->buf = calloc(depth, sizeof(*ctx->buf));
77 if (!ctx->buf)
95 struct lookahead_entry *buf; local
167 struct lookahead_entry *buf = NULL; local
179 struct lookahead_entry *buf = NULL; local
[all...]
/external/oprofile/libpopt/
H A Dfindme.c18 char * buf; local
28 buf = malloc(strlen(path) + strlen(argv0) + sizeof("/"));
29 if (buf == NULL) return NULL; /* XXX can't happen */
37 sprintf(buf, "%s/%s", start, argv0);
39 if (!access(buf, X_OK))
40 return buf;
49 free(buf);
/external/qemu/distrib/libselinux/src/
H A Dget_initial_context.c17 char *buf; local
33 buf = malloc(size);
34 if (!buf) {
38 memset(buf, 0, size);
39 ret = read(fd, buf, size - 1);
43 *con = strdup(buf);
50 free(buf);
/external/smack/src/org/jivesoftware/smackx/packet/
H A DVersion.java118 StringBuilder buf = new StringBuilder();
119 buf.append("<query xmlns=\"jabber:iq:version\">");
121 buf.append("<name>").append(name).append("</name>");
124 buf.append("<version>").append(version).append("</version>");
127 buf.append("<os>").append(os).append("</os>");
129 buf.append("</query>");
130 return buf.toString();
H A DMUCInitialPresence.java55 StringBuilder buf = new StringBuilder();
56 buf.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append(
59 buf.append("<password>").append(getPassword()).append("</password>");
62 buf.append(getHistory().toXML());
64 buf.append("</").append(getElementName()).append(">");
65 return buf.toString();
203 StringBuilder buf = new StringBuilder();
204 buf.append("<history");
206 buf.append(" maxchars=\"").append(getMaxChars()).append("\"");
209 buf
[all...]
H A DMUCOwner.java88 StringBuilder buf = new StringBuilder();
89 buf.append("<query xmlns=\"http://jabber.org/protocol/muc#owner\">");
93 buf.append(item.toXML());
97 buf.append(getDestroy().toXML());
100 buf.append(getExtensionsXML());
101 buf.append("</query>");
102 return buf.toString();
243 StringBuilder buf = new StringBuilder();
244 buf.append("<item");
246 buf
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwpa_passphrase.c19 char *ssid, *passphrase, buf[64], *pos; local
34 if (fgets(buf, sizeof(buf), stdin) == NULL) {
38 buf[sizeof(buf) - 1] = '\0';
39 pos = buf;
47 passphrase = buf;
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dgas_serv.c141 struct wpabuf *buf)
145 len = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC);
146 wpabuf_put_be24(buf, OUI_WFA);
147 wpabuf_put_u8(buf, HS20_ANQP_OUI_TYPE);
148 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST);
149 wpabuf_put_u8(buf, 0); /* Reserved */
150 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST);
152 wpabuf_put_u8(buf, HS20_STYPE_OPERATOR_FRIENDLY_NAME);
154 wpabuf_put_u8(buf, HS20_STYPE_WAN_METRICS);
156 wpabuf_put_u8(buf, HS20_STYPE_CONNECTION_CAPABILIT
140 anqp_add_hs_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
170 anqp_add_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
198 anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
218 anqp_add_network_auth_type(struct hostapd_data *hapd, struct wpabuf *buf) argument
230 anqp_add_roaming_consortium(struct hostapd_data *hapd, struct wpabuf *buf) argument
247 anqp_add_ip_addr_type_availability(struct hostapd_data *hapd, struct wpabuf *buf) argument
258 anqp_add_nai_realm_eap(struct wpabuf *buf, struct hostapd_nai_realm_data *realm) argument
279 anqp_add_nai_realm_data(struct wpabuf *buf, struct hostapd_nai_realm_data *realm, unsigned int realm_idx) argument
296 hs20_add_nai_home_realm_matches(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len) argument
390 anqp_add_nai_realm(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len, int nai_realm, int nai_home_realm) argument
424 anqp_add_3gpp_cellular_network(struct hostapd_data *hapd, struct wpabuf *buf) argument
437 anqp_add_domain_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
450 anqp_add_operator_friendly_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
474 anqp_add_wan_metrics(struct hostapd_data *hapd, struct wpabuf *buf) argument
489 anqp_add_connection_capability(struct hostapd_data *hapd, struct wpabuf *buf) argument
505 anqp_add_operating_class(struct hostapd_data *hapd, struct wpabuf *buf) argument
521 anqp_add_osu_provider(struct wpabuf *buf, struct hostapd_bss_config *bss, struct hs20_osu_provider *p) argument
598 anqp_add_osu_providers_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
628 anqp_add_icon_binary_file(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *name, size_t name_len) argument
692 struct wpabuf *buf; local
962 struct wpabuf *buf, *tx_buf; local
1057 struct wpabuf *buf; local
1132 struct wpabuf *buf, *tx_buf; local
1211 gas_serv_rx_public_action(void *ctx, const u8 *buf, size_t len, int freq) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dgas_serv.c141 struct wpabuf *buf)
145 len = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC);
146 wpabuf_put_be24(buf, OUI_WFA);
147 wpabuf_put_u8(buf, HS20_ANQP_OUI_TYPE);
148 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST);
149 wpabuf_put_u8(buf, 0); /* Reserved */
150 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST);
152 wpabuf_put_u8(buf, HS20_STYPE_OPERATOR_FRIENDLY_NAME);
154 wpabuf_put_u8(buf, HS20_STYPE_WAN_METRICS);
156 wpabuf_put_u8(buf, HS20_STYPE_CONNECTION_CAPABILIT
140 anqp_add_hs_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
170 anqp_add_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
198 anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
218 anqp_add_network_auth_type(struct hostapd_data *hapd, struct wpabuf *buf) argument
230 anqp_add_roaming_consortium(struct hostapd_data *hapd, struct wpabuf *buf) argument
247 anqp_add_ip_addr_type_availability(struct hostapd_data *hapd, struct wpabuf *buf) argument
258 anqp_add_nai_realm_eap(struct wpabuf *buf, struct hostapd_nai_realm_data *realm) argument
279 anqp_add_nai_realm_data(struct wpabuf *buf, struct hostapd_nai_realm_data *realm, unsigned int realm_idx) argument
296 hs20_add_nai_home_realm_matches(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len) argument
390 anqp_add_nai_realm(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len, int nai_realm, int nai_home_realm) argument
424 anqp_add_3gpp_cellular_network(struct hostapd_data *hapd, struct wpabuf *buf) argument
437 anqp_add_domain_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
450 anqp_add_operator_friendly_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
474 anqp_add_wan_metrics(struct hostapd_data *hapd, struct wpabuf *buf) argument
489 anqp_add_connection_capability(struct hostapd_data *hapd, struct wpabuf *buf) argument
505 anqp_add_operating_class(struct hostapd_data *hapd, struct wpabuf *buf) argument
521 anqp_add_osu_provider(struct wpabuf *buf, struct hostapd_bss_config *bss, struct hs20_osu_provider *p) argument
598 anqp_add_osu_providers_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
628 anqp_add_icon_binary_file(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *name, size_t name_len) argument
692 struct wpabuf *buf; local
962 struct wpabuf *buf, *tx_buf; local
1057 struct wpabuf *buf; local
1132 struct wpabuf *buf, *tx_buf; local
1211 gas_serv_rx_public_action(void *ctx, const u8 *buf, size_t len, int freq) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dgas_serv.c141 struct wpabuf *buf)
145 len = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC);
146 wpabuf_put_be24(buf, OUI_WFA);
147 wpabuf_put_u8(buf, HS20_ANQP_OUI_TYPE);
148 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST);
149 wpabuf_put_u8(buf, 0); /* Reserved */
150 wpabuf_put_u8(buf, HS20_STYPE_CAPABILITY_LIST);
152 wpabuf_put_u8(buf, HS20_STYPE_OPERATOR_FRIENDLY_NAME);
154 wpabuf_put_u8(buf, HS20_STYPE_WAN_METRICS);
156 wpabuf_put_u8(buf, HS20_STYPE_CONNECTION_CAPABILIT
140 anqp_add_hs_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
170 anqp_add_capab_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
198 anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
218 anqp_add_network_auth_type(struct hostapd_data *hapd, struct wpabuf *buf) argument
230 anqp_add_roaming_consortium(struct hostapd_data *hapd, struct wpabuf *buf) argument
247 anqp_add_ip_addr_type_availability(struct hostapd_data *hapd, struct wpabuf *buf) argument
258 anqp_add_nai_realm_eap(struct wpabuf *buf, struct hostapd_nai_realm_data *realm) argument
279 anqp_add_nai_realm_data(struct wpabuf *buf, struct hostapd_nai_realm_data *realm, unsigned int realm_idx) argument
296 hs20_add_nai_home_realm_matches(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len) argument
390 anqp_add_nai_realm(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *home_realm, size_t home_realm_len, int nai_realm, int nai_home_realm) argument
424 anqp_add_3gpp_cellular_network(struct hostapd_data *hapd, struct wpabuf *buf) argument
437 anqp_add_domain_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
450 anqp_add_operator_friendly_name(struct hostapd_data *hapd, struct wpabuf *buf) argument
474 anqp_add_wan_metrics(struct hostapd_data *hapd, struct wpabuf *buf) argument
489 anqp_add_connection_capability(struct hostapd_data *hapd, struct wpabuf *buf) argument
505 anqp_add_operating_class(struct hostapd_data *hapd, struct wpabuf *buf) argument
521 anqp_add_osu_provider(struct wpabuf *buf, struct hostapd_bss_config *bss, struct hs20_osu_provider *p) argument
598 anqp_add_osu_providers_list(struct hostapd_data *hapd, struct wpabuf *buf) argument
628 anqp_add_icon_binary_file(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *name, size_t name_len) argument
692 struct wpabuf *buf; local
962 struct wpabuf *buf, *tx_buf; local
1057 struct wpabuf *buf; local
1132 struct wpabuf *buf, *tx_buf; local
1211 gas_serv_rx_public_action(void *ctx, const u8 *buf, size_t len, int freq) argument
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DChannelHelper.java37 ByteBuffer buf = ByteBuffer.allocate(l2i(size));
38 readFully(channel, buf, buf.limit());
39 buf.rewind();
40 assert buf.limit() == size;
42 return buf;
48 public static void readFully(final ReadableByteChannel channel, final ByteBuffer buf) argument
50 readFully(channel, buf, buf.remaining());
53 public static int readFully(final ReadableByteChannel channel, final ByteBuffer buf, fina argument
69 writeFully(final WritableByteChannel channel, final ByteBuffer buf) argument
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dbuffer.h33 Buffer(const Buffer& buf) { argument
34 Construct(buf.data(), buf.length(), buf.length());
43 Buffer& operator=(const Buffer& buf) { argument
44 if (&buf != this) {
45 Construct(buf.data(), buf.length(), buf.length());
49 bool operator==(const Buffer& buf) cons
81 TransferTo(Buffer* buf) argument
[all...]
/external/libcxx/test/utilities/memory/ptr.align/
H A Dalign.pass.cpp21 char buf[N]; local
23 void* p = &buf[0];
26 assert(p == &buf[0]);
30 p = &buf[1];
33 assert(p == &buf[4]);
37 p = &buf[2];
40 assert(p == &buf[4]);
44 p = &buf[3];
47 assert(p == &buf[4]);
51 p = &buf[
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
H A DMemoryDataStore.java10 private byte[] buf; field in class:MemoryDataStore
17 buf = new byte[initialCapacity];
21 return buf;
29 buf[position++] = (byte)b;
34 System.arraycopy(b, 0, buf, position, b.length);
40 System.arraycopy(b, off, buf, position, len);
47 if (index < buf.length) {
50 buf = Arrays.copyOf(buf, (int)((index + 1) * 1.2));
58 if (position >= buf
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DProfiler.java440 StringBuffer buf = new StringBuffer();
441 buf.append(Version);
442 buf.append('\t');
443 buf.append(parser.getClass().getName());
444 // buf.append('\t');
445 // buf.append(numRuleInvocations);
446 // buf.append('\t');
447 // buf.append(maxRuleInvocationDepth);
448 // buf.append('\t');
449 // buf
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dlookahead.c24 struct lookahead_entry *buf; /* Buffer list */ member in struct:lookahead_ctx
34 struct lookahead_entry *buf = ctx->buf + index; local
40 return buf;
49 if(ctx->buf)
54 vp8_yv12_de_alloc_frame_buffer(&ctx->buf[i].img);
55 free(ctx->buf);
88 ctx->buf = calloc(depth, sizeof(*ctx->buf));
89 if(!ctx->buf)
111 struct lookahead_entry* buf; local
182 struct lookahead_entry* buf = NULL; local
198 struct lookahead_entry* buf = NULL; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_lookahead.c25 struct lookahead_entry *buf = ctx->buf + index; local
31 return buf;
37 if (ctx->buf) {
41 vp9_free_frame_buffer(&ctx->buf[i].img);
42 free(ctx->buf);
70 ctx->buf = calloc(depth, sizeof(*ctx->buf));
71 if (!ctx->buf)
74 if (vp9_alloc_frame_buffer(&ctx->buf[
92 struct lookahead_entry *buf; local
164 struct lookahead_entry *buf = NULL; local
176 struct lookahead_entry *buf = NULL; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_resource_buffer.c140 struct i915_buffer *buf = CALLOC_STRUCT(i915_buffer); local
142 if (!buf)
145 buf->b.b = *template;
146 buf->b.vtbl = &i915_buffer_vtbl;
147 pipe_reference_init(&buf->b.b.reference, 1);
148 buf->b.b.screen = screen;
149 buf->data = align_malloc(template->width0, 16);
150 buf->free_on_destroy = TRUE;
152 if (!buf->data)
155 return &buf
170 struct i915_buffer *buf = CALLOC_STRUCT(i915_buffer); local
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dlookahead.c24 struct lookahead_entry *buf; /* Buffer list */ member in struct:lookahead_ctx
34 struct lookahead_entry *buf = ctx->buf + index; local
40 return buf;
49 if(ctx->buf)
54 vp8_yv12_de_alloc_frame_buffer(&ctx->buf[i].img);
55 free(ctx->buf);
88 ctx->buf = calloc(depth, sizeof(*ctx->buf));
89 if(!ctx->buf)
111 struct lookahead_entry* buf; local
182 struct lookahead_entry* buf = NULL; local
198 struct lookahead_entry* buf = NULL; local
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_buffer.c140 struct i915_buffer *buf = CALLOC_STRUCT(i915_buffer); local
142 if (!buf)
145 buf->b.b = *template;
146 buf->b.vtbl = &i915_buffer_vtbl;
147 pipe_reference_init(&buf->b.b.reference, 1);
148 buf->b.b.screen = screen;
149 buf->data = align_malloc(template->width0, 16);
150 buf->free_on_destroy = TRUE;
152 if (!buf->data)
155 return &buf
170 struct i915_buffer *buf = CALLOC_STRUCT(i915_buffer); local
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
H A DTraceMethodVisitor.java113 buf.setLength(0);
114 buf.append(tab).append("ATTRIBUTE ");
118 ((Traceable) attr).trace(buf, labelNames);
120 buf.append(" : unknown\n");
123 text.add(buf.toString());
145 buf.setLength(0);
146 buf.append(tab2).append('@');
148 buf.append('(');
149 text.add(buf.toString());
174 buf
[all...]
H A DTraceClassVisitor.java188 buf.setLength(0);
189 buf.append("// class version ")
197 buf.append("// DEPRECATED\n");
199 buf.append("// access flags ").append(access).append('\n');
206 buf.append("// declaration: ")
214 buf.append("@interface ");
216 buf.append("interface ");
218 buf.append("class ");
223 buf.append(" extends ");
225 buf
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dvalgrind-low-ppc32.c179 void transfer_register (ThreadId tid, int abs_regno, void * buf, argument
192 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break;
193 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break;
194 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break;
195 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break;
196 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); break;
197 case 5: VG_(transfer) (&ppc32->guest_GPR5, buf, dir, size, mod); break;
198 case 6: VG_(transfer) (&ppc32->guest_GPR6, buf, dir, size, mod); break;
199 case 7: VG_(transfer) (&ppc32->guest_GPR7, buf, dir, size, mod); break;
200 case 8: VG_(transfer) (&ppc32->guest_GPR8, buf, di
[all...]

Completed in 2746 milliseconds

<<11121314151617181920>>