Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 25 of 28) sorted by relevance

12

/external/ltp/testcases/kernel/module/query_module/
Dquery_module02.c109 static char out_buf[PAGE_SIZE]; variable
117 {"dummy_mod", QM_REFS, (void *)out_buf, sizeof(out_buf), ENOENT,
121 {NULL, QM_INVALID, (void *)out_buf, sizeof(out_buf), EINVAL,
125 {NULL, QM_REFS, (void *)out_buf, sizeof(out_buf), EINVAL,
129 {NULLMODNAME, QM_REFS, (void *)out_buf, sizeof(out_buf), EINVAL,
133 {longmodname, QM_REFS, (void *)out_buf, sizeof(out_buf), ENAMETOOLONG,
Dquery_module03.c118 static char out_buf[PAGE_SIZE]; variable
130 {(char *)-1, QM_MODULES, (void *)out_buf, sizeof(out_buf), &ret_size,
135 {NULL, QM_MODULES, (void *)out_buf, sizeof(out_buf), (size_t *) - 1,
140 {NULL, QM_MODULES, (void *)-1, sizeof(out_buf), &ret_size, EFAULT,
145 {NULL, QM_MODULES, (void *)out_buf, SMALLBUFSIZE, &ret_size, ENOSPC,
Dquery_module01.c122 static char out_buf[PAGE_SIZE]; variable
157 size_t buflen = sizeof(out_buf); in main()
175 tdat[testno].which, (void *)out_buf, in main()
180 out_buf, buflen, ret)) { in main()
/external/elfutils/libelf/
Delf_compress.c50 do_deflate_cleanup (void *result, z_stream *z, void *out_buf, in do_deflate_cleanup() argument
54 free (out_buf); in do_deflate_cleanup()
61 do_deflate_cleanup(result, &z, out_buf, ei_data, &cdata)
103 void *out_buf = malloc (out_size); in __libelf_compress() local
104 if (out_buf == NULL) in __libelf_compress()
165 z.next_out = out_buf + used; in __libelf_compress()
182 void *bigger = realloc (out_buf, out_size + block); in __libelf_compress()
188 out_buf = bigger; in __libelf_compress()
210 return out_buf; in __libelf_compress()
393 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress() local
[all …]
Delf_compress_gnu.c102 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress_gnu() local
107 if (out_buf == (void *) -1) in elf_compress_gnu()
111 if (out_buf == NULL) in elf_compress_gnu()
115 memmove (out_buf, "ZLIB", 4); in elf_compress_gnu()
116 memmove (out_buf + 4, &be64_size, sizeof (be64_size)); in elf_compress_gnu()
132 __libelf_reset_rawdata (scn, out_buf, new_size, 1, ELF_T_BYTE); in elf_compress_gnu()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tnc.c24 struct wpabuf *out_buf; member
98 wpabuf_free(data->out_buf); in eap_tnc_reset()
227 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
247 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); in eap_tnc_build_msg()
249 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg()
253 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_tnc_build_msg()
257 wpabuf_free(data->out_buf); in eap_tnc_build_msg()
258 data->out_buf = NULL; in eap_tnc_build_msg()
267 (unsigned long) wpabuf_len(data->out_buf) - in eap_tnc_build_msg()
289 if (data->out_buf == NULL) { in eap_tnc_buildReq()
[all …]
Deap_server_wsc.c23 struct wpabuf *out_buf; member
159 wpabuf_free(data->out_buf); in eap_wsc_reset()
193 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
216 wpabuf_put_be16(req, wpabuf_len(data->out_buf)); in eap_wsc_build_msg()
218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg()
222 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg()
226 wpabuf_free(data->out_buf); in eap_wsc_build_msg()
227 data->out_buf = NULL; in eap_wsc_build_msg()
233 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg()
250 if (data->out_buf == NULL) { in eap_wsc_buildReq()
[all …]
Deap_server_ikev2.c21 struct wpabuf *out_buf; member
128 wpabuf_free(data->out_buf); in eap_ikev2_reset()
143 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
178 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg()
180 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg()
193 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg()
197 wpabuf_free(data->out_buf); in eap_ikev2_build_msg()
198 data->out_buf = NULL; in eap_ikev2_build_msg()
203 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg()
218 if (data->out_buf == NULL) { in eap_ikev2_buildReq()
[all …]
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dnonlinear_beamformer_test.cc64 ChannelBuffer<float> out_buf( in main() local
75 bf.ProcessChunk(in_buf, &out_buf); in main()
77 Interleave(out_buf.channels(), out_buf.num_frames(), in main()
78 out_buf.num_channels(), &interleaved[0]); in main()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c21 struct wpabuf *out_buf; member
64 wpabuf_free(data->out_buf); in eap_tnc_deinit()
100 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg()
120 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_tnc_build_msg()
122 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg()
129 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_tnc_build_msg()
133 wpabuf_free(data->out_buf); in eap_tnc_build_msg()
134 data->out_buf = NULL; in eap_tnc_build_msg()
139 (unsigned long) wpabuf_len(data->out_buf) - in eap_tnc_build_msg()
399 data->out_buf = resp; in eap_tnc_process()
Deap_ikev2.c21 struct wpabuf *out_buf; member
114 wpabuf_free(data->out_buf); in eap_ikev2_deinit()
148 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg()
183 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg()
185 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg()
201 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg()
205 wpabuf_free(data->out_buf); in eap_ikev2_build_msg()
206 data->out_buf = NULL; in eap_ikev2_build_msg()
237 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg()
425 if (data->out_buf == NULL) { in eap_ikev2_process()
[all …]
Deap_wsc.c23 struct wpabuf *out_buf; member
289 wpabuf_free(data->out_buf); in eap_wsc_deinit()
309 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg()
329 wpabuf_put_be16(resp, wpabuf_len(data->out_buf)); in eap_wsc_build_msg()
331 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg()
338 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg()
342 wpabuf_free(data->out_buf); in eap_wsc_build_msg()
343 data->out_buf = NULL; in eap_wsc_build_msg()
355 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg()
551 if (data->out_buf == NULL) { in eap_wsc_process()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_arrays.c46 u_generate_func generate, struct pipe_resource **out_buf) in generate_indices() argument
67 *out_buf = dst; in generate_indices()
98 struct pipe_resource **out_buf) in retrieve_or_generate_indices() argument
109 pipe_resource_reference(out_buf, in retrieve_or_generate_indices()
157 ret = generate_indices(hwtnl, gen_nr, gen_size, generate, out_buf); in retrieve_or_generate_indices()
163 pipe_resource_reference(&hwtnl->index_cache[prim][i].buffer, *out_buf); in retrieve_or_generate_indices()
Dsvga_draw_elements.c67 u_translate_func translate, struct pipe_resource **out_buf) in translate_indices() argument
89 pipe_resource_reference(out_buf, src_sbuf->translated_indices.buffer); in translate_indices()
119 *out_buf = dst; in translate_indices()
/external/autotest/client/tests/dma_memtest/
Ddma_memtest.py140 out_buf = proc.stdout.read()
141 out_buf += proc.stderr.read()
143 if out_buf != "":
145 logging.error('Error comparing trees: %s', out_buf)
/external/kmod/libkmod/
Dlibkmod-file.c90 uint8_t in_buf[BUFSIZ], out_buf[BUFSIZ]; in xz_uncompress() local
97 strm->next_out = out_buf; in xz_uncompress()
98 strm->avail_out = sizeof(out_buf); in xz_uncompress()
120 memcpy(tmp + total, out_buf, write_size); in xz_uncompress()
123 strm->next_out = out_buf; in xz_uncompress()
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc276 uint8_t *out_buf; in TEST() local
280 ASSERT_TRUE(CBB_finish(cbb.get(), &out_buf, &out_size)); in TEST()
281 EXPECT_EQ(NULL, out_buf); in TEST()
287 ASSERT_TRUE(CBB_finish(cbb.get(), &out_buf, &out_size)); in TEST()
288 EXPECT_EQ(buf, out_buf); in TEST()
301 uint8_t *out_buf; in TEST() local
308 EXPECT_FALSE(CBB_finish(&child, &out_buf, &out_size)); in TEST()
310 ASSERT_TRUE(CBB_finish(cbb.get(), &out_buf, &out_size)); in TEST()
311 bssl::UniquePtr<uint8_t> scoper(out_buf); in TEST()
313 EXPECT_EQ(0u, out_buf[0]); in TEST()
/external/libpng/contrib/examples/
Dsimpleover.c315 add_sprite(png_imagep output, png_bytep out_buf, struct sprite *sprite, in add_sprite() argument
363 out_buf + (y*output->width + x)*3/*RGB*/, in add_sprite()
391 simpleover_process(png_imagep output, png_bytep out_buf, int argc, in simpleover_process() argument
492 if (!add_sprite(output, out_buf, sprites+isprite, &argc, &argv)) in simpleover_process()
/external/valgrind/coregrind/m_gdbserver/
Dremote-utils.c698 gdb_byte *out_buf, int *out_len, in remote_escape_output() argument
711 out_buf[output_index++] = '}'; in remote_escape_output()
712 out_buf[output_index++] = b ^ 0x20; in remote_escape_output()
716 out_buf[output_index++] = b; in remote_escape_output()
735 gdb_byte *out_buf, int out_maxlen) in remote_unescape_input() argument
749 out_buf[output_index++] = b ^ 0x20; in remote_unescape_input()
754 out_buf[output_index++] = b; in remote_unescape_input()
Dserver.h325 gdb_byte *out_buf, int *out_len,
/external/kernel-headers/original/uapi/linux/
Dndctl.h81 __u8 out_buf[0]; member
99 __u8 out_buf[0]; member
/external/llvm/test/CodeGen/Hexagon/
DbugAsmHWloop.ll10 define i32 @q6zip_uncompress(i8* %out_buf, i32* %out_buf_size, i8* %in_buf, i32 %in_buf_size, i8* n…
25 %6 = ptrtoint i8* %out_buf to i32
/external/e2fsprogs/lib/support/
Dquotaio_tree.c269 goto out_buf; in do_insert_tree()
299 out_buf: in do_insert_tree()
486 goto out_buf; in find_tree_dqentry()
491 out_buf: in find_tree_dqentry()
/external/webrtc/webrtc/base/
Dhttpcommon.cc870 char out_buf[MAX_MESSAGE], spn[MAX_SPN]; in HttpAuthenticate() local
885 out_sec.pvBuffer = out_buf; in HttpAuthenticate()
886 out_sec.cbBuffer = sizeof(out_buf); in HttpAuthenticate()
1041 std::string decoded(out_buf, out_buf + out_sec.cbBuffer); in HttpAuthenticate()
/external/openssh/
Dumac.c187 UINT8 out_buf[AES_BLOCK_LEN]; in kdf() local
196 aes_encryption(in_buf, out_buf, key); in kdf()
197 memcpy(dst_buf,out_buf,AES_BLOCK_LEN); in kdf()
203 aes_encryption(in_buf, out_buf, key); in kdf()
204 memcpy(dst_buf,out_buf,nbytes); in kdf()

12