/third_party/icu/icu4c/source/i18n/ |
H A D | ucol.cpp | 64 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 D | oscore-interop-server.c | 374 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 D | coap-rd.c | 554 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 D | to_chars.hpp | 584 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 D | v3dv_uniforms.c | 117 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 D | decode.c | 167 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 D | memory.cpp | 198 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 D | xa_renderer.c | 96 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 D | node_serdes.cc | 71 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 D | ucol.cpp | 64 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 D | nvc0_context.c | 115 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 D | tomoyo_new_file_test.c | 93 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 D | iris_blit.c | 246 .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 D | r600_pipe.c | 76 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 D | socket.py | 145 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 D | tokenize.py | 396 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 D | vktAmberTestCase.cpp | 226 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 D | vktAmberTestCase.cpp | 225 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 D | command.h | 26 #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 D | rdgif.c | 47 #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 D | TextBlobTest.cpp | 162 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 D | helper-cairo.hh | 612 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.c | 335 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 D | MinimumBufferSizeValidationTests.cpp | 225 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 D | SkMatrix.h | 570 /** 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...] |