Home
last modified time | relevance | path

Searched refs:buffer (Results 1751 - 1775 of 6412) sorted by relevance

1...<<71727374757677787980>>...257

/third_party/libuv/src/unix/
H A Dhurd.c39 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument
45 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath()
49 /* XXX limited length of buffer in current Hurd, this API will probably in uv_exepath()
57 copied = uv__strscpy(buffer, exepath, *size); in uv_exepath()
60 *size = copied < 0 ? strlen(buffer) : (size_t) copied; in uv_exepath()
H A Dqnx.c58 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument
60 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath()
64 strlcpy(buffer, path, *size); in uv_exepath()
65 *size = strlen(buffer); in uv_exepath()
H A Dproctitle.c127 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title() argument
128 if (buffer == NULL || size == 0) in uv_get_process_title()
144 memcpy(buffer, process_title.str, process_title.len + 1); in uv_get_process_title()
146 buffer[process_title.len] = '\0'; in uv_get_process_title()
/third_party/libcoap/include/coap3/
H A Dcoap_debug.h330 * @param buffer The buffer to put the string into.
331 * @param bufsize The size of the buffer to put the string into.
333 * @return A pointer to the provided buffer.
335 char *coap_string_tls_version(char *buffer, size_t bufsize);
340 * @param buffer The buffer to put the string into.
341 * @param bufsize The size of the buffer to put the string into.
343 * @return A pointer to the provided buffer.
345 char *coap_string_tls_support(char *buffer, size_
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_printf.c47 /* Atomic add a buffer size counter to determine where to write. If in lower_printf_instr()
52 nir_deref_instr *buffer = in lower_printf_instr() local
62 /* Increment the counter at the beginning of the buffer */ in lower_printf_instr()
64 nir_deref_instr *counter = nir_build_deref_array_imm(b, buffer, 0); in lower_printf_instr()
87 nir_build_deref_array(b, buffer, fmt_str_id_offset); in lower_printf_instr()
118 nir_build_deref_array(b, buffer, arg_offset); in lower_printf_instr()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_constants.c52 struct pipe_resource *buf = cb ? cb->buffer : NULL; in svga_set_constant_buffer()
72 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, NULL); in svga_set_constant_buffer()
73 svga->curr.constbufs[shader][index].buffer = buf; in svga_set_constant_buffer()
75 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, buf); in svga_set_constant_buffer()
78 /* Make sure the constant buffer size to be updated is within the in svga_set_constant_buffer()
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dqueue.cpp40 char buffer[1024]; in debug_notify_callback() local
41 vsnprintf(buffer, sizeof(buffer), fmt, args); in debug_notify_callback()
42 queue->context().notify(buffer); in debug_notify_callback()
/third_party/node/test/js-native-api/test_properties/
H A Dtest_properties.c50 char buffer[128]; in HasNamedProperty() local
53 napi_get_value_string_utf8(env, args[1], buffer, sizeof(buffer), &copied)); in HasNamedProperty()
58 NODE_API_CALL(env, napi_has_named_property(env, args[0], buffer, &value)); in HasNamedProperty()
/third_party/node/test/parallel/
H A Dtest-stream-readable-unshift.js39 // Check that buffer is saved with correct encoding
138 this.buffer = new Array(highWaterMark * 2).fill(0).map(String);
141 while (this.buffer.length) {
142 const chunk = this.buffer.shift();
143 if (!this.buffer.length) {
/third_party/node/test/addons/openssl-binding/
H A Dbinding.cc15 auto buffer = view->Buffer(); in RandomBytes() local
16 auto contents = buffer->GetBackingStore(); in RandomBytes()
29 auto buffer = view->Buffer(); in Hash() local
30 auto contents = buffer->GetBackingStore(); in Hash()
/third_party/mesa3d/src/intel/dev/
H A Dintel_debug.c217 /* Return the how many bytes where written, so that the rest of the buffer in intel_debug_write_identifiers()
228 void *buffer = _buffer + intel_debug_identifier_size(), in intel_debug_get_identifier_block() local
231 while (buffer < end_buffer) { in intel_debug_get_identifier_block()
232 struct intel_debug_block_base *item = buffer; in intel_debug_get_identifier_block()
239 buffer += item->length; in intel_debug_get_identifier_block()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_storagebuf.c60 sb->buffer = st_obj ? st_obj->buffer : NULL; in st_bind_ssbos()
62 if (sb->buffer) { in st_bind_ssbos()
64 sb->buffer_size = sb->buffer->width0 - binding->Offset; in st_bind_ssbos()
66 /* AutomaticSize is FALSE if the buffer was set with BindBufferRange. in st_bind_ssbos()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dfilestrm.cpp153 T_FileStream_readLine(FileStream* fileStream, char* buffer, int32_t length) in T_FileStream_readLine() argument
155 return fgets(buffer, length, (FILE*)fileStream); in T_FileStream_readLine()
159 T_FileStream_writeLine(FileStream* fileStream, const char* buffer) in T_FileStream_writeLine() argument
161 return fputs(buffer, (FILE*)fileStream); in T_FileStream_writeLine()
/third_party/lz4/tests/
H A Ddecompress-partial-usingDict.c37 char* const buffer = (char*)malloc(BUFFER_SIZE + largeSize); in main() local
38 char* outBuffer = buffer + largeSize; in main()
46 assert(buffer != NULL); in main()
72 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, buffer, largeSize); in main()
/third_party/lzma/C/
H A DLzFind.h15 const Byte *buffer; member
56 #define Inline_MatchFinder_GetPointerToCurrentPos(p) ((const Byte *)(p)->buffer)
86 (p)->buffer = (_src_); \
117 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *son,
/third_party/node/deps/v8/include/v8-include/
H A Dv8-wasm.h30 * An owned byte buffer with associated size.
33 std::unique_ptr<const uint8_t[]> buffer; member
35 OwnedBuffer(std::unique_ptr<const uint8_t[]> buffer, size_t size) in OwnedBuffer()
36 : buffer(std::move(buffer)), size(size) {} in OwnedBuffer()
160 * The buffer passed into {OnBytesReceived} is owned by the caller.
186 * can be used, false otherwise. The buffer passed via {bytes} and {size}
188 * buffer must remain valid until either {Finish} or {Abort} completes.
/third_party/node/deps/v8/src/snapshot/
H A Dcontext-deserializer.cc10 #include "src/objects/js-array-buffer-inl.h"
61 for (Handle<JSArrayBuffer> buffer : new_off_heap_array_buffers()) { in SetupOffHeapArrayBufferBackingStores()
62 uint32_t store_index = buffer->GetBackingStoreRefForDeserialization(); in SetupOffHeapArrayBufferBackingStores()
66 DCHECK_IMPLIES(bs, buffer->is_resizable() == bs->is_resizable()); in SetupOffHeapArrayBufferBackingStores()
70 buffer->Setup(shared, resizable, bs); in SetupOffHeapArrayBufferBackingStores()
87 // TODO(yangguo,jgruber): Turn this into a reusable shared buffer. in DeserializeEmbedderFields()
/third_party/node/deps/v8/src/utils/
H A Dscoped-list.h39 explicit ScopedList(std::vector<TBacking>* buffer) in ScopedList() argument
40 : buffer_(*buffer), start_(buffer->size()), end_(buffer->size()) {} in ScopedList()
/third_party/mesa3d/src/intel/common/
H A Dintel_gem.h100 void *buffer, int32_t *buffer_len) in intel_i915_query_flags()
106 .data_ptr = (uintptr_t)buffer, in intel_i915_query_flags()
126 intel_i915_query(int fd, uint64_t query_id, void *buffer, in intel_i915_query() argument
129 return intel_i915_query_flags(fd, query_id, 0, buffer, buffer_len); in intel_i915_query()
99 intel_i915_query_flags(int fd, uint64_t query_id, uint32_t flags, void *buffer, int32_t *buffer_len) intel_i915_query_flags() argument
/third_party/musl/libc-test/src/common/
H A Dcfi_util.h86 std::string buffer; in CheckCfiLog() local
87 buffer.resize(size); in CheckCfiLog()
93 int rsize = fread(&buffer[0], 1, size, fp); in CheckCfiLog()
99 if (buffer.find(needle) != std::string::npos) { in CheckCfiLog()
/third_party/musl/libc-test/src/functionalext/unittest/
H A Dunit_test_assert_fail_dialog.c49 static char buffer[MAX_FILE_SIZE]; in ReadFile() local
57 if (fgets(buffer, sizeof(buffer), file) == NULL) { in ReadFile()
64 return buffer; in ReadFile()
/third_party/node/deps/uv/src/unix/
H A Dhurd.c39 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument
45 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath()
49 /* XXX limited length of buffer in current Hurd, this API will probably in uv_exepath()
57 copied = uv__strscpy(buffer, exepath, *size); in uv_exepath()
60 *size = copied < 0 ? strlen(buffer) : (size_t) copied; in uv_exepath()
H A Dproctitle.c127 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title() argument
128 if (buffer == NULL || size == 0) in uv_get_process_title()
144 memcpy(buffer, process_title.str, process_title.len + 1); in uv_get_process_title()
146 buffer[process_title.len] = '\0'; in uv_get_process_title()
H A Dqnx.c58 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument
60 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath()
64 strlcpy(buffer, path, *size); in uv_exepath()
65 *size = strlen(buffer); in uv_exepath()
/third_party/openssl/test/testutil/
H A Dtestutil_init.c27 char buffer[256], *hex; in internal_trace_cb() local
36 BIO_snprintf(buffer, sizeof(buffer), "TRACE[%s]:%s: ", in internal_trace_cb()
39 BIO_set_prefix(trace_data->bio, buffer); in internal_trace_cb()

Completed in 10 milliseconds

1...<<71727374757677787980>>...257