Home
last modified time | relevance | path

Searched refs:buffer (Results 1776 - 1800 of 6070) sorted by relevance

1...<<71727374757677787980>>...243

/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
H A DTrie.java34 * <p>Since spans share a common buffer for prefix data, it is important
48 * safe (since they share the same underlying buffer).
107 ByteBuffer buffer = trieBuilder.buildByteBuffer(BytesTrieBuilder.Option.SMALL); in toByteArray()
108 byte[] bytes = new byte[buffer.remaining()]; in toByteArray()
109 buffer.get(bytes); in toByteArray()
/third_party/icu/tools/colprobe/
H A Duprinter.cpp98 UChar buffer[4000]; in log() local
103 u_vsprintf(buffer, _locale, fmt, ap); in log()
106 log(buffer); in log()
/third_party/libuv/test/
H A Dtest-udp-try-send.c83 static char buffer[64 * 1024]; in TEST_IMPL() local
103 buf = uv_buf_init(buffer, sizeof(buffer)); in TEST_IMPL()
H A Dtest-signal-pending-on-close.c62 uv_buf_t buffer; in TEST_IMPL() local
81 buffer = uv_buf_init(buf, 1<<24); in TEST_IMPL()
83 r = uv_write(&write_req, (uv_stream_t *) &pipe_hdl, &buffer, 1, write_cb); in TEST_IMPL()
H A Dtest-pipe-close-stdout-read-stdin.c38 static char buffer[1024]; in alloc_buffer() local
40 buf->base = buffer; in alloc_buffer()
41 buf->len = sizeof(buffer); in alloc_buffer()
/third_party/libuv/src/unix/
H A Dos390-proctitle.c105 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title() argument
108 if (buffer == NULL || size == 0) in uv_get_process_title()
125 strcpy(buffer, process_title); in uv_get_process_title()
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/buildtools/
H A DJarPhonePrefixDataIOHandler.java84 byte[] buffer = new byte[4096]; in addFileToOutput()
86 for (int read; (read = bufferedInputStream.read(buffer)) > 0; ) { in addFileToOutput()
87 jarOutputStream.write(buffer, 0, read); in addFileToOutput()
/third_party/libsnd/examples/
H A Dgenerate.c87 { static float buffer [BUFFER_LEN] ; in encode_file() local
121 while ((readcount = (int) sf_read_float (infile, buffer, BUFFER_LEN)) > 0) in encode_file()
122 sf_write_float (outfile, buffer, readcount) ; in encode_file()
/third_party/mesa3d/include/android_stub/vndk/
H A Dwindow.h69 /* The minimum number of buffers that must remain un-dequeued after a buffer
71 * override the number of buffers and if a buffer has since been queued.
78 * Note that this value does NOT apply until a single buffer has been
82 * 2. Set the buffer count to N + M
110 * 1. Before dequeuing a buffer, the GL driver (or any other ANW client)
119 * 3. The GL driver dequeues a buffer of the new pre-rotated size.
121 * 4. The GL driver renders to the buffer such that the image is
126 * inverse transformation to the buffer it just rendered.
138 * 6. The GL driver queues the pre-transformed buffer.
140 * 7. The composer combines the buffer transfor
[all...]
/third_party/ltp/testcases/kdump/lib/crasher/
H A Dcrasher.c52 static int crasher_write(struct file *file, const char *buffer, in crasher_write() argument
55 static ssize_t crasher_write(struct file *file, const char __user *buffer, in crasher_write()
63 if (copy_from_user(&value, buffer, 1)) in crasher_write()
/third_party/ltp/testcases/kernel/device-drivers/uaccess/
H A Dltp_uaccess.c65 char *str, ch, buffer[str_size]; in sys_tcase() local
73 if (copy_from_user(buffer, str, str_size)) in sys_tcase()
75 test_result = strncmp(test_str, buffer, str_size) ? 1 : 0; in sys_tcase()
/third_party/node/test/parallel/
H A Dtest-http-server-keep-alive-max-requests-null.js57 let buffer = '';
60 buffer += data;
62 const responseParts = buffer.trim().split('\r\n\r\n');
H A Dtest-http-server-keep-alive-defaults.js58 let buffer = '';
61 buffer += data;
63 const responseParts = buffer.trim().split('\r\n\r\n');
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
H A Dv8_mock_archs.js13 // Mock maximum typed-array buffer and limit to 1MiB. Otherwise we might
29 const buffer = args[0];
33 // Limit offset to length of buffer.
34 args[1] = min(args[1], buffer.byteLength || 0);
37 // given buffer and offset.
38 const maxBytesLeft = buffer.byteLength - args[1];
/third_party/node/test/fixtures/wpt/FileAPI/support/
H A DBlob.js56 assert_true(array.buffer instanceof ArrayBuffer,
57 'Expect input ArrayBuffers to contain field `buffer`');
58 return new DataView(array.buffer, array.byteOffset, array.byteLength);
68 `Expect byte at buffer position ${i} to be equal`);
/third_party/node/benchmark/tls/
H A Dthroughput-s2c.js51 let buffer = recvbuf;
59 buffer = () => {
68 buffer,
/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/
H A Dmsgsnd02.c10 * 2) msgsnd(2) fails and sets errno to EFAULT if the message buffer address
48 struct buf *buffer; member
64 TST_EXP_FAIL(msgsnd(*tc->id, tc->buffer, tc->msgsz, 0), tc->exp_err, in verify_msgsnd()
65 "msgsnd(%i, %p, %i, 0)", *tc->id, tc->buffer, tc->msgsz); in verify_msgsnd()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
H A Dmsgrcv02.c13 * 3)msgrcv(2) fails and sets errno to EFAULT if the message buffer address
47 struct buf *buffer; member
66 TST_EXP_FAIL2(msgrcv(*tc->id, tc->buffer, tc->msgsz, tc->msgtyp, tc->msgflag), tc->exp_err, in verify_msgrcv()
67 "msgrcv(%i, %p, %i, %ld, %i)", *tc->id, tc->buffer, tc->msgsz, tc->msgtyp, tc->msgflag); in verify_msgrcv()
/third_party/lwip/src/include/netif/ppp/
H A Dpppcrypt.h131 #define lwip_arc4_crypt(context, buffer, length) mbedtls_arc4_crypt(context, length, buffer, buffer)
/third_party/musl/libc-test/src/functionalext/supplement/lock_info/
H A Dpthread_internal_lock_info.c53 char buffer[BUFFER_SIZE]; in CheckHiLogPrint() local
62 while (fgets(buffer, BUFFER_SIZE, pipe) != NULL) { in CheckHiLogPrint()
63 printf("%s", buffer); in CheckHiLogPrint()
/third_party/mesa3d/src/glx/
H A Dquery_renderer.c33 unsigned int buffer[32]; in __glXQueryRendererInteger() local
67 err = psc->vtable->query_renderer_integer(psc, attribute, buffer); in __glXQueryRendererInteger()
73 memcpy(value, buffer, sizeof(unsigned int) * values_for_query); in __glXQueryRendererInteger()
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dnameservercheck_server.c41 char buffer[] = "test.check.platform.com A 111.111.11.11"; in main() local
87 ret = sendto(udp6_socket, &buffer[0], sizeof(buffer), 0, (struct sockaddr *)&daddr, in main()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/
H A Drand_vxworks.c132 unsigned char *buffer; in ossl_pool_acquire_entropy() local
134 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy()
140 result = randBytes(buffer, bytes_needed); in ossl_pool_acquire_entropy()
/third_party/node/deps/uv/src/unix/
H A Dos390-proctitle.c105 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title() argument
108 if (buffer == NULL || size == 0) in uv_get_process_title()
125 strcpy(buffer, process_title); in uv_get_process_title()
/third_party/rust/crates/libc/libc-test/test/
H A Dcmsg.rs61 let mut buffer = [0u8; 256]; in test_cmsg_nxthdr() variables
65 let pcmsghdr = &mut buffer[start_ofs] as *mut u8 as *mut cmsghdr; in test_cmsg_nxthdr()
70 for i in buffer[start_ofs..].iter_mut() { in test_cmsg_nxthdr()

Completed in 10 milliseconds

1...<<71727374757677787980>>...243