Home
last modified time | relevance | path

Searched refs:buffer (Results 3176 - 3200 of 6014) sorted by relevance

1...<<121122123124125126127128129130>>...241

/third_party/icu/icu4c/source/i18n/
H A Ducol.cpp64 uint8_t *buffer, int32_t capacity, in ucol_cloneBinary()
75 return rbc->cloneBinary(buffer, capacity, *status); in ucol_cloneBinary()
567 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { in ucol_getRulesEx() argument
573 if(buffer != NULL && bufferLen > 0) { in ucol_getRulesEx()
575 return rules.extract(buffer, bufferLen, errorCode); in ucol_getRulesEx()
63 ucol_cloneBinary(const UCollator *coll, uint8_t *buffer, int32_t capacity, UErrorCode *status) ucol_cloneBinary() argument
/third_party/libcoap/examples/
H A Doscore-interop-server.c374 char buffer[120]; in usage() local
386 coap_string_tls_version(buffer, sizeof(buffer))); in usage()
387 fprintf(stderr, "%s\n", coap_string_tls_support(buffer, sizeof(buffer))); in usage()
H A Dcoap-rd.c554 char buffer[120]; in usage() local
566 coap_string_tls_version(buffer, sizeof(buffer))); in usage()
567 fprintf(stderr, "%s\n", coap_string_tls_support(buffer, sizeof(buffer))); in usage()
/third_party/json/include/nlohmann/detail/conversions/
H A Dto_chars.hpp584 Generates V = buffer * 10^decimal_exponent, such that M- <= V <= M+.
587 inline void grisu2_digit_gen(char* buffer, int& length, int& decimal_exponent, in grisu2_digit_gen() argument
594 // number V = buffer * 10^decimal_exponent in the range [M-, M+]. The diyfp's in grisu2_digit_gen()
654 // M+ = buffer * 10^n + (p1 + p2 * 2^e) (buffer = 0 for n = k) in grisu2_digit_gen()
660 // M+ = buffer * 10^n + (d * 10^(n-1) + r) + p2 * 2^e in grisu2_digit_gen()
661 // = (buffer * 10 + d) * 10^(n-1) + (r + p2 * 2^e) in grisu2_digit_gen()
664 buffer[length++] = static_cast<char>('0' + d); // buffer := buffer * 1 in grisu2_digit_gen()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_uniforms.c117 fprintf(stderr, "failed to map push constants buffer\n"); in check_push_constants_ubo()
127 /* We ran out of space so we'll have to allocate a new buffer but we in check_push_constants_ubo()
129 * buffer life and make sure it is eventually freed. We use the in check_push_constants_ubo()
130 * private object machinery in the command buffer for this. in check_push_constants_ubo()
307 * instead of an external buffer. in write_ubo_ssbo_uniforms()
316 * of an external buffer. in write_ubo_ssbo_uniforms()
330 assert(descriptor->buffer); in write_ubo_ssbo_uniforms()
331 assert(descriptor->buffer->mem); in write_ubo_ssbo_uniforms()
332 assert(descriptor->buffer->mem->bo); in write_ubo_ssbo_uniforms()
334 bo = descriptor->buffer in write_ubo_ssbo_uniforms()
[all...]
/third_party/mesa3d/src/compiler/isaspec/
H A Ddecode.c167 char *buffer; in print() local
172 ret = vasprintf(&buffer, fmt, args); in print()
176 const size_t len = strlen(buffer); in print()
179 const char c = buffer[i]; in print()
189 free(buffer); in print()
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A Dmemory.cpp198 if (bool(desc->buffer) != (desc->image_type == CL_MEM_OBJECT_IMAGE1D_BUFFER)) in clCreateImageWithProperties()
205 const cl_mem_flags flags = validate_flags(desc->buffer, d_flags, false); in clCreateImageWithProperties()
243 row_pitch, host_ptr, desc->buffer); in clCreateImageWithProperties()
449 buf.as_scalar<cl_mem>() = desc(img->buffer()); in clGetMemObjectInfo()
524 buf.as_scalar<cl_mem>() = img.buffer(); in clGetImageInfo()
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_renderer.c96 util_draw_user_vertex_buffer(r->cso, r->buffer, PIPE_PRIM_QUADS, in renderer_draw()
146 float *vertex = r->buffer + r->buffer_size; in add_vertex_none()
159 float *vertex = r->buffer + r->buffer_size; in add_vertex_1tex()
178 float *vertex = r->buffer + r->buffer_size; in add_vertex_2tex()
315 /* Set up framebuffer, viewport and vertex shader constant buffer
353 /* Constant buffer set up to match viewport dimensions: in renderer_bind_destination()
533 util_draw_user_vertex_buffer(r->cso, r->buffer, PIPE_PRIM_QUADS, in renderer_draw_yuv()
/third_party/node/src/
H A Dnode_serdes.cc71 Local<Value> buffer);
287 Local<Value> buffer) in DeserializerContext()
289 data_(reinterpret_cast<const uint8_t*>(Buffer::Data(buffer))), in DeserializerContext()
290 length_(Buffer::Length(buffer)), in DeserializerContext()
292 object()->Set(env->context(), env->buffer_string(), buffer).Check(); in DeserializerContext()
334 env, "buffer must be a TypedArray or a DataView"); in New()
285 DeserializerContext(Environment* env, Local<Object> wrap, Local<Value> buffer) DeserializerContext() argument
/third_party/node/deps/icu-small/source/i18n/
H A Ducol.cpp64 uint8_t *buffer, int32_t capacity, in ucol_cloneBinary()
75 return rbc->cloneBinary(buffer, capacity, *status); in ucol_cloneBinary()
567 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, char16_t *buffer, int32_t bufferLen) { in ucol_getRulesEx() argument
573 if(buffer != nullptr && bufferLen > 0) { in ucol_getRulesEx()
575 return rules.extract(buffer, bufferLen, errorCode); in ucol_getRulesEx()
63 ucol_cloneBinary(const UCollator *coll, uint8_t *buffer, int32_t capacity, UErrorCode *status) ucol_cloneBinary() argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_context.c115 if (!nvc0->vtxbuf[i].buffer.resource && !nvc0->vtxbuf[i].is_user_buffer) in nvc0_memory_barrier()
117 if (nvc0->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) in nvc0_memory_barrier()
148 /* If we're going to texture from a buffer/image written by a shader, we in nvc0_memory_barrier()
213 pipe_resource_reference(&nvc0->buffers[s][i].buffer, NULL); in nvc0_context_unreference_resources()
323 if (nvc0->vtxbuf[i].buffer.resource == res) { in nvc0_invalidate_resource_storage()
371 if (nvc0->buffers[s][i].buffer == res) { in nvc0_invalidate_resource_storage()
/third_party/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_new_file_test.c93 const char buffer[] = "32768 61000"; in stage_file_test() local
134 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 1); in stage_file_test()
136 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 0); in stage_file_test()
141 write_sysctl(TEST_SYSCTL_PATH, buffer), 1); in stage_file_test()
144 write_sysctl(TEST_SYSCTL_PATH, buffer), 0); in stage_file_test()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_blit.c246 .buffer = res->bo, in iris_blorp_surf_for_resource()
260 .buffer = res->aux.bo, in iris_blorp_surf_for_resource()
269 .buffer = res->aux.clear_color_bo, in iris_blorp_surf_for_resource()
687 .buffer = src_res->bo, .offset = src_res->offset + src_box->x, in iris_copy_region()
693 .buffer = dst_res->bo, .offset = dst_res->offset + dstx, in iris_copy_region()
710 // XXX: what about one surface being a buffer and not the other? in iris_copy_region()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_pipe.c76 r600_resource_reference(&rctx->scratch_buffers[sh].buffer, NULL); in r600_destroy_context()
108 if (rctx->gs_rings.gsvs_ring.buffer) in r600_destroy_context()
109 pipe_resource_reference(&rctx->gs_rings.gsvs_ring.buffer, NULL); in r600_destroy_context()
111 if (rctx->gs_rings.esgs_ring.buffer) in r600_destroy_context()
112 pipe_resource_reference(&rctx->gs_rings.esgs_ring.buffer, NULL); in r600_destroy_context()
404 /* shader buffer objects */ in r600_get_param()
765 #if 0 /* This is for testing whether aux_context and buffer clearing work correctly. */ in r600_screen_create()
/third_party/python/Lib/
H A Dsocket.py145 errorTab[10055] = "No buffer space available."
194 errorTab[11018] = "Invalid QoS provider buffer."
333 buffer = io.BufferedRWPair(raw, raw, buffering)
335 buffer = io.BufferedReader(raw, buffering)
338 buffer = io.BufferedWriter(raw, buffering)
340 return buffer
342 text = io.TextIOWrapper(buffer, encoding, errors, newline)
693 """Read up to len(b) bytes into the writable buffer *b* and return
H A Dtokenize.py396 buffer = _builtin_open(filename, 'rb')
398 encoding, lines = detect_encoding(buffer.readline)
399 buffer.seek(0)
400 text = TextIOWrapper(buffer, encoding, line_buffering=True)
404 buffer.close()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber/
H A DvktAmberTestCase.cpp226 amber::BufferInfo* buffer) const override;
257 amber::BufferInfo* buffer) const in LoadBufferData()
271 return amber::Result("Failed to load buffer data " + file_name); in LoadBufferData()
277 buffer->values.push_back(value); in LoadBufferData()
280 buffer->width = 1; in LoadBufferData()
281 buffer->height = 1; in LoadBufferData()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/amber/
H A DvktAmberTestCase.cpp225 amber::BufferInfo* buffer) const override;
256 amber::BufferInfo* buffer) const in LoadBufferData()
270 return amber::Result("Failed to load buffer data " + file_name); in LoadBufferData()
276 buffer->values.push_back(value); in LoadBufferData()
279 buffer->width = 1; in LoadBufferData()
280 buffer->height = 1; in LoadBufferData()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dcommand.h26 #include "src/buffer.h"
218 /// Command to draw from a vertex and index buffer.
305 /// Command to copy data from one buffer to another.
341 Probe(Type type, Buffer* buffer);
348 /// Command to probe an image buffer.
351 explicit ProbeCommand(Buffer* buffer);
415 /// Command to probe a data buffer.
428 explicit ProbeSSBOCommand(Buffer* buffer);
477 /// Command to set the size of a buffer, or update a buffers contents.
552 void SetBuffer(Buffer* buffer) { buffer argument
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Drdgif.c47 #define ReadOK(file, buffer, len) \
48 (JFREAD(file, buffer, len) == ((size_t)(len)))
199 sinfo->last_bit = 0; /* nothing in the buffer */ in InitLZWCode()
200 sinfo->cur_bit = 0; /* force buffer load on first call */ in InitLZWCode()
221 /* Time to reload the buffer */ in GetCode()
519 /* Create compressor input buffer. */ in start_input_gif()
520 source->pub.buffer = (*cinfo->mem->alloc_sarray) in start_input_gif()
558 ptr = source->pub.buffer[0]; in METHODDEF()
648 ptr = source->pub.buffer[0]; in METHODDEF()
/third_party/skia/tests/
H A DTextBlobTest.cpp162 const SkTextBlobBuilder::RunBuffer& buffer = builder.allocRunPos(font, glyphCount); in TestBounds() local
164 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in TestBounds()
166 memset(buffer.pos, 0, sizeof(SkScalar) * glyphCount * 2); in TestBounds()
360 SkTextBlobBuilder::RunBuffer buffer = builder->allocRun(font, glyphCount, x, y); in add_run() local
362 (void)font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in add_run()
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhelper-cairo.hh612 hb_buffer_t *buffer, in helper_cairo_line_from_buffer()
620 l->num_glyphs = hb_buffer_get_length (buffer); in helper_cairo_line_from_buffer()
621 hb_glyph_info_t *hb_glyph = hb_buffer_get_glyph_infos (buffer, nullptr); in helper_cairo_line_from_buffer()
622 hb_glyph_position_t *hb_position = hb_buffer_get_glyph_positions (buffer, nullptr); in helper_cairo_line_from_buffer()
661 hb_bool_t backward = HB_DIRECTION_IS_BACKWARD (hb_buffer_get_direction (buffer)); in helper_cairo_line_from_buffer()
611 helper_cairo_line_from_buffer(helper_cairo_line_t *l, hb_buffer_t *buffer, const char *text, unsigned int text_len, int scale_bits, hb_bool_t utf8_clusters) helper_cairo_line_from_buffer() argument
/third_party/python/Modules/
H A D_posixsubprocess.c335 char buffer[sizeof(struct linux_dirent64)]; in _close_open_fds_safe() local
338 (struct linux_dirent64 *)buffer, in _close_open_fds_safe()
339 sizeof(buffer))) > 0) { in _close_open_fds_safe()
343 __msan_unpoison(buffer, bytes); in _close_open_fds_safe()
347 entry = (struct linux_dirent64 *)(buffer + offset); in _close_open_fds_safe()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DMinimumBufferSizeValidationTests.cpp225 e.buffer.type = b.type; in CreateBindGroupLayout()
226 e.buffer.minBindingSize = minimumSizes[i]; in CreateBindGroupLayout()
251 // Create a bind group with given binding sizes for each entry (backed by the same buffer)
256 wgpu::Buffer buffer = in CreateBindGroup() local
265 entry.buffer = buffer; in CreateBindGroup()
324 // Pipeline can be created if minimum buffer size in layout is specified as 0
388 // Fail if a binding is smaller than minimum buffer size
495 // The correctness of minimum buffer size for the defaulted layout for a pipeline
498 // Checks BGL |layout| has minimum buffer size
[all...]
/third_party/skia/include/core/
H A DSkMatrix.h570 /** Copies nine scalar values contained by SkMatrix into buffer, in member value
574 @param buffer storage for nine scalar values
576 void get9(SkScalar buffer[9]) const { in get9()
577 memcpy(buffer, fMat, 9 * sizeof(SkScalar)); in get9()
580 /** Sets SkMatrix to nine scalar values in buffer, in member value ascending order:
586 | buffer[0] buffer[1] buffer[2] |
587 | buffer[3] buffer[
[all...]

Completed in 28 milliseconds

1...<<121122123124125126127128129130>>...241