Home
last modified time | relevance | path

Searched refs:buffer (Results 726 - 750 of 12861) sorted by relevance

1...<<21222324252627282930>>...515

/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
H A Djchuff-sse2.asm24 .next_output_byte: resp 1 ; => next byte to write in buffer
25 .free_in_buffer: resp 1 ; # of byte spaces remaining in buffer
26 .cur.put_buffer.simd resq 1 ; current bit accumulation buffer
103 ; Fill the bit buffer to capacity with the leading bits from code, then output
104 ; the bit buffer and put the remaining bits from code into the bit buffer.
107 ; code - contains the bits to shift into the bit buffer (LSB-aligned)
133 mov qword [buffer], tempq ; memcpy(buffer, &temp, 8);
137 add bufferp, 8 ; buffer
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-draw.c451 hb_buffer_t *buffer = hb_buffer_create (); in test_hb_draw_font_kit_glyphs_tests() local
453 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_glyphs_tests()
454 hb_buffer_set_direction (buffer, HB_DIRECTION_RTL); in test_hb_draw_font_kit_glyphs_tests()
455 hb_shape (font, buffer, NULL, 0); in test_hb_draw_font_kit_glyphs_tests()
456 codepoint = hb_buffer_get_glyph_infos (buffer, NULL)[0].codepoint; in test_hb_draw_font_kit_glyphs_tests()
457 hb_buffer_destroy (buffer); in test_hb_draw_font_kit_glyphs_tests()
544 hb_buffer_t *buffer = hb_buffer_create (); in test_hb_draw_font_kit_variations_tests() local
546 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_variations_tests()
547 hb_buffer_set_direction (buffer, HB_DIRECTION_LTR); in test_hb_draw_font_kit_variations_tests()
548 hb_shape (font, buffer, NUL in test_hb_draw_font_kit_variations_tests()
589 hb_buffer_t *buffer = hb_buffer_create (); test_hb_draw_font_kit_variations_tests() local
633 hb_buffer_t *buffer = hb_buffer_create (); test_hb_draw_font_kit_variations_tests() local
680 hb_buffer_t *buffer = hb_buffer_create (); test_hb_draw_font_kit_variations_tests() local
704 hb_buffer_t *buffer = hb_buffer_create (); test_hb_draw_font_kit_variations_tests() local
729 hb_buffer_t *buffer = hb_buffer_create (); test_hb_draw_font_kit_variations_tests() local
[all...]
/kernel/linux/linux-5.10/include/linux/sched/
H A Dsysctl.h23 void *buffer, size_t *lenp, loff_t *ppos);
41 int write, void __user *buffer, size_t *length, loff_t *ppos);
69 void *buffer, size_t *length, loff_t *ppos);
101 int sched_rr_handler(struct ctl_table *table, int write, void *buffer,
103 int sched_rt_handler(struct ctl_table *table, int write, void *buffer,
106 void *buffer, size_t *lenp, loff_t *ppos);
107 int sysctl_numa_balancing(struct ctl_table *table, int write, void *buffer,
109 int sysctl_schedstats(struct ctl_table *table, int write, void *buffer,
115 void *buffer, size_t *lenp, loff_t *ppos);
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_hw.c15 struct wx_hic_read_shadow_ram buffer; in ngbe_eeprom_chksum_hostif() local
19 buffer.hdr.req.cmd = NGBE_FW_EEPROM_CHECKSUM_CMD; in ngbe_eeprom_chksum_hostif()
20 buffer.hdr.req.buf_lenh = 0; in ngbe_eeprom_chksum_hostif()
21 buffer.hdr.req.buf_lenl = 0; in ngbe_eeprom_chksum_hostif()
22 buffer.hdr.req.checksum = NGBE_FW_CMD_DEFAULT_CHECKSUM; in ngbe_eeprom_chksum_hostif()
24 buffer.address = 0; in ngbe_eeprom_chksum_hostif()
26 buffer.length = 0; in ngbe_eeprom_chksum_hostif()
28 status = wx_host_interface_command(wx, (u32 *)&buffer, sizeof(buffer), in ngbe_eeprom_chksum_hostif()
/third_party/ffmpeg/libavutil/tests/
H A Ddict.c37 char *buffer = NULL; in test_separators() local
42 av_dict_get_string(dict, &buffer, val, pair); in test_separators()
43 printf("%s\n", buffer); in test_separators()
45 ret = av_dict_parse_string(&dict, buffer, vals, pairs, 0); in test_separators()
47 av_freep(&buffer); in test_separators()
56 char *buffer = NULL; in main() local
59 av_dict_get_string(dict, &buffer, '=', ','); in main()
60 printf("%s\n", buffer); in main()
61 av_freep(&buffer); in main()
/third_party/libuv/test/
H A Dtest-process-title.c28 char buffer[512]; in set_title() local
31 err = uv_get_process_title(buffer, sizeof(buffer)); in set_title()
37 err = uv_get_process_title(buffer, sizeof(buffer)); in set_title()
40 ASSERT_OK(strcmp(buffer, title)); in set_title()
45 char buffer[512]; in uv_get_process_title_edge_cases() local
48 /* Test a NULL buffer */ in uv_get_process_title_edge_cases()
53 r = uv_get_process_title(buffer, 0); in uv_get_process_title_edge_cases()
56 /* Test for insufficient buffer siz in uv_get_process_title_edge_cases()
[all...]
/third_party/node/deps/icu-small/source/tools/genrb/
H A Drbutil.c74 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) in itostr() argument
91 buffer[length++]= digits[digit]; in itostr()
96 buffer[length++] = '0';/*zero padding */ in itostr()
101 buffer[length++]='-'; in itostr()
104 /* null terminate the buffer */ in itostr()
106 buffer[length] = 0x0000; in itostr()
114 temp = buffer[(length-1) - j]; in itostr()
115 buffer[(length-1) - j] = buffer[j]; in itostr()
116 buffer[ in itostr()
[all...]
/third_party/skia/src/gpu/
H A DGrStagingBufferManager.cpp17 StagingBuffer* buffer = nullptr; in allocateStagingBufferSlice() local
24 buffer = &fBuffers[i]; in allocateStagingBufferSlice()
29 if (!buffer) { in allocateStagingBufferSlice()
42 buffer = &fBuffers.back(); in allocateStagingBufferSlice()
46 SkASSERT(buffer); in allocateStagingBufferSlice()
47 SkASSERT(buffer->remaining() >= size); in allocateStagingBufferSlice()
49 buffer->fOffset = offset + size; in allocateStagingBufferSlice()
50 char* offsetMapPtr = static_cast<char*>(buffer->fMapPtr) + offset; in allocateStagingBufferSlice()
51 return {buffer->fBuffer.get(), offset, offsetMapPtr}; in allocateStagingBufferSlice()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DSetDictionaryTest.java44 byte[] buffer = new byte[16]; in testSetDictionary()
49 assertEquals(3, decoder.read(buffer, 0, buffer.length)); in testSetDictionary()
50 assertEquals("aaa", new String(buffer, 0, 3, "US-ASCII")); in testSetDictionary()
57 decoder.read(buffer, 0, buffer.length); in testSetDictionary()
75 assertEquals(4, decoder.read(buffer, 0, buffer.length)); in testSetDictionary()
76 assertEquals("time", new String(buffer, 0, 4, "US-ASCII")); in testSetDictionary()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-fallback-shape.cc74 hb_buffer_t *buffer, in _hb_fallback_shape()
91 buffer->clear_positions (); in _hb_fallback_shape()
93 hb_direction_t direction = buffer->props.direction; in _hb_fallback_shape()
94 hb_unicode_funcs_t *unicode = buffer->unicode; in _hb_fallback_shape()
95 unsigned int count = buffer->len; in _hb_fallback_shape()
96 hb_glyph_info_t *info = buffer->info; in _hb_fallback_shape()
97 hb_glyph_position_t *pos = buffer->pos; in _hb_fallback_shape()
118 hb_buffer_reverse (buffer); in _hb_fallback_shape()
120 buffer->safe_to_break_all (); in _hb_fallback_shape()
72 _hb_fallback_shape(hb_shape_plan_t *shape_plan HB_UNUSED, hb_font_t *font, hb_buffer_t *buffer, const hb_feature_t *features HB_UNUSED, unsigned int num_features HB_UNUSED) _hb_fallback_shape() argument
H A Dhb-kern.hh48 hb_buffer_t *buffer, in kern()
52 OT::hb_ot_apply_context_t c (1, font, buffer); in kern()
57 bool horizontal = HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction); in kern()
58 unsigned int count = buffer->len; in kern()
59 hb_glyph_info_t *info = buffer->info; in kern()
60 hb_glyph_position_t *pos = buffer->pos; in kern()
93 buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; in kern()
111 buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT; in kern()
123 buffer->unsafe_to_break (i, j + 1); in kern()
H A Dtest.cc62 hb_buffer_t *buffer = hb_buffer_create (); in main() local
64 hb_buffer_add_utf8 (buffer, "\xe0\xa4\x95\xe0\xa5\x8d\xe0\xa4\xb0\xe0\xa5\x8d\xe0\xa4\x95", -1, 0, -1); in main()
65 hb_buffer_guess_segment_properties (buffer); in main()
67 hb_shape (font, buffer, nullptr, 0); in main()
69 unsigned int count = hb_buffer_get_length (buffer); in main()
70 hb_glyph_info_t *infos = hb_buffer_get_glyph_infos (buffer, nullptr); in main()
71 hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, nullptr); in main()
88 hb_buffer_destroy (buffer); in main()
/third_party/jerryscript/tests/jerry/es2015/
H A Dregression-test-issue-3836.js23 v1.buffer.constructor = Uint8Array;
26 assert(v2.buffer.constructor === Uint8Array);
30 v3.buffer.constructor = Float64Array;
33 assert(v4.buffer.constructor === Float64Array);
37 v5.buffer.constructor = Set;
40 assert(v6.buffer.constructor === Set);
46 var v8 = v7.buffer;
56 assert(Reflect.getPrototypeOf(v9.buffer) === Uint8Array.prototype);
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dvsscanf.c39 char buffer[100]; in vsscanf_0100() local
40 int result = get_return_vaule("value 123 info", "%s %d", &buffer, &val); in vsscanf_0100()
44 if (strcmp(buffer, "value") != 0) { in vsscanf_0100()
45 t_error("%s vsscanf get is '%s' are not 'value'\n", __func__, buffer); in vsscanf_0100()
59 char buffer[100]; in vsscanf_0200() local
61 int result = get_return_vaule("value 123 info", "%s %s", &buffer, &get_val); in vsscanf_0200()
65 if (strcmp(buffer, "value") != 0) { in vsscanf_0200()
66 t_error("%s vsscanf get is '%s' are not 'value'\n", __func__, buffer); in vsscanf_0200()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dsymlinkat.c30 char buffer[BUFSIZ]; in symlinkat_0100() local
60 memset(buffer, 0, sizeof(buffer)); in symlinkat_0100()
61 sz = readlinkat(fdd, symlink_name, buffer, sizeof(buffer)); in symlinkat_0100()
67 if (strcmp(buffer, file_name)) { in symlinkat_0100()
68 t_error("%s buffer is %s, not %s", __func__, buffer, file_name); in symlinkat_0100()
82 char buffer[BUFSIZ]; in symlinkat_0200() local
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dindex_buffer.cc30 Result IndexBuffer::SendIndexData(CommandBuffer* command, Buffer* buffer) { in SendIndexData() argument
36 if (buffer->ElementCount() == 0) in SendIndexData()
37 return Result("IndexBuffer::SendIndexData |buffer| is empty"); in SendIndexData()
39 if (buffer->GetFormat()->IsUint32()) in SendIndexData()
41 else if (buffer->GetFormat()->IsUint16()) in SendIndexData()
43 else if (buffer->GetFormat()->IsUint8()) in SendIndexData()
46 return Result("IndexBuffer::SendIndexData unexpected index buffer format"); in SendIndexData()
49 MakeUnique<TransferBuffer>(device_, buffer->GetSizeInBytes(), nullptr); in SendIndexData()
60 buffer->ValuePtr()->data(), buffer in SendIndexData()
[all...]
/third_party/skia/third_party/externals/oboe/src/common/
H A DFixedBlockWriter.cpp27 int32_t FixedBlockWriter::writeToStorage(uint8_t *buffer, int32_t numBytes) { in writeToStorage() argument
33 memcpy(mStorage.get() + mPosition, buffer, bytesToStore); in writeToStorage()
38 int32_t FixedBlockWriter::write(uint8_t *buffer, int32_t numBytes) { in write() argument
43 int32_t bytesWritten = writeToStorage(buffer, bytesLeft); in write()
44 buffer += bytesWritten; in write()
60 int32_t bytesWritten = mFixedBlockProcessor.onProcessFixedBlock(buffer, mSize); in write()
62 buffer += bytesWritten; in write()
68 int32_t bytesWritten = writeToStorage(buffer, bytesLeft); in write()
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dtyped_arrays.js48 * @param {!ArrayBuffer} buffer
51 * @return {!ArrayBuffer} New array buffer with given the contents of `buffer`.
53 function arrayBufferSlice(buffer, start, end = undefined) {
59 assert(end === undefined || (end >= 0 && end <= buffer.byteLength));
60 assert((end === undefined ? buffer.byteLength : end) >= start);
61 if (buffer.slice) {
62 const slicedBuffer = buffer.slice(start, end);
72 const realEnd = end == null ? buffer.byteLength : end;
75 const view = new Uint8Array(buffer, star
[all...]
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeRingBuffer.cpp21 * \brief Ring buffer template.
43 RingBuffer<int> buffer (bufSize); in RingBuffer_selfTest()
54 bool canRead = buffer.getNumElements() > 0; in RingBuffer_selfTest()
55 bool canWrite = writePos < dataSize && buffer.getNumFree() > 0; in RingBuffer_selfTest()
59 DE_TEST_ASSERT(buffer.getNumFree() == bufSize - (writePos-readPos)); in RingBuffer_selfTest()
63 int numBytes = rnd.getInt(1, buffer.getNumElements()); in RingBuffer_selfTest()
66 buffer.popBack(&tmp[0], numBytes); in RingBuffer_selfTest()
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree())); in RingBuffer_selfTest()
78 buffer.pushFront(&data[writePos], numBytes); in RingBuffer_selfTest()
/third_party/cJSON/tests/unity/extras/fixture/test/
H A Dunity_output_Spy.c17 static char* buffer; variable
25 buffer = malloc((size_t)size); in UnityOutputCharSpy_Create()
26 TEST_ASSERT_NOT_NULL_MESSAGE(buffer, "Internal malloc failed in Spy Create():" __FILE__); in UnityOutputCharSpy_Create()
27 memset(buffer, 0, (size_t)size); in UnityOutputCharSpy_Create()
33 free(buffer); in UnityOutputCharSpy_Destroy()
41 buffer[count++] = (char)c; in UnityOutputCharSpy_OutputChar()
51 return buffer; in UnityOutputCharSpy_Get()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DErrno.cpp43 char buffer[MaxErrStrLen]; in StrError() local
44 buffer[0] = '\0'; in StrError()
51 // which may not use the buffer supplied. in StrError()
52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError()
54 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError()
55 str = buffer; in StrError()
58 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError()
59 str = buffer; in StrError()
62 // the buffer as fast as possible to minimize impact in StrError()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DErrno.cpp42 char buffer[MaxErrStrLen]; in StrError() local
43 buffer[0] = '\0'; in StrError()
50 // which may not use the buffer supplied. in StrError()
51 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError()
53 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError()
54 str = buffer; in StrError()
57 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError()
58 str = buffer; in StrError()
61 // the buffer as fast as possible to minimize impact in StrError()
/third_party/unity/extras/memory/test/
H A Dunity_output_Spy.c16 static char* buffer; variable
24 buffer = malloc((size_t)size); in UnityOutputCharSpy_Create()
25 TEST_ASSERT_NOT_NULL_MESSAGE(buffer, "Internal malloc failed in Spy Create():" __FILE__); in UnityOutputCharSpy_Create()
26 memset(buffer, 0, (size_t)size); in UnityOutputCharSpy_Create()
32 free(buffer); in UnityOutputCharSpy_Destroy()
40 buffer[count++] = (char)c; in UnityOutputCharSpy_OutputChar()
50 return buffer; in UnityOutputCharSpy_Get()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_query.c47 /* Queries without buffer handling or suspend/resume. */
517 void si_query_buffer_destroy(struct si_screen *sscreen, struct si_query_buffer *buffer) in si_query_buffer_destroy() argument
519 struct si_query_buffer *prev = buffer->previous; in si_query_buffer_destroy()
529 si_resource_reference(&buffer->buf, NULL); in si_query_buffer_destroy()
532 void si_query_buffer_reset(struct si_context *sctx, struct si_query_buffer *buffer) in si_query_buffer_reset() argument
535 while (buffer->previous) { in si_query_buffer_reset()
536 struct si_query_buffer *qbuf = buffer->previous; in si_query_buffer_reset()
537 buffer->previous = qbuf->previous; in si_query_buffer_reset()
539 si_resource_reference(&buffer->buf, NULL); in si_query_buffer_reset()
540 buffer in si_query_buffer_reset()
557 si_query_buffer_alloc(struct si_context *sctx, struct si_query_buffer *buffer, bool (*prepare_buffer)(struct si_context *, struct si_query_buffer *), unsigned size) si_query_buffer_alloc() argument
806 si_query_hw_do_emit_start(struct si_context *sctx, struct si_query_hw *query, struct si_resource *buffer, uint64_t va) si_query_hw_do_emit_start() argument
926 si_query_hw_do_emit_stop(struct si_context *sctx, struct si_query_hw *query, struct si_resource *buffer, uint64_t va) si_query_hw_do_emit_stop() argument
1360 si_query_hw_add_result(struct si_screen *sscreen, struct si_query_hw *query, void *buffer, union pipe_query_result *result) si_query_hw_add_result() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddbnames.c299 struct acpi_buffer buffer; in acpi_db_walk_and_match_name() local
320 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_db_walk_and_match_name()
321 status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); in acpi_db_walk_and_match_name()
331 acpi_os_printf("%32s", (char *)buffer.pointer); in acpi_db_walk_and_match_name()
334 ACPI_FREE(buffer.pointer); in acpi_db_walk_and_match_name()
525 struct acpi_buffer buffer; in acpi_db_walk_for_fields() local
541 buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_db_walk_for_fields()
542 status = acpi_ns_handle_to_pathname(obj_handle, &buffer, TRUE); in acpi_db_walk_for_fields()
549 acpi_os_printf("%s ", (char *)buffer.pointer); in acpi_db_walk_for_fields()
550 ACPI_FREE(buffer in acpi_db_walk_for_fields()
604 struct acpi_buffer buffer; acpi_db_walk_for_specific_objects() local
935 struct acpi_buffer buffer; acpi_db_bus_walk() local
[all...]

Completed in 11 milliseconds

1...<<21222324252627282930>>...515