Home
last modified time | relevance | path

Searched refs:buffer (Results 1 - 25 of 6014) sorted by relevance

12345678910>>...241

/third_party/backends/backend/
H A Dpieusb_buffer.c45 * Read buffer
58 * To accommodate all this, the buffer stores all samples as 16-bit values, even
62 * The read buffer is constructed by a call to buffer_create(), which initializes
63 * the buffer based on width, height, number of colors and depth. The buffer
68 * The buffer maintains read and write pointers.
104 static void buffer_update_read_index(struct Pieusb_Read_Buffer* buffer, int increment);
109 * Initialize the buffer.
112 * @param buffer the buffer t
122 sanei_pieusb_buffer_create(struct Pieusb_Read_Buffer* buffer, SANE_Int width, SANE_Int height, SANE_Byte color_spec, SANE_Byte depth) sanei_pieusb_buffer_create() argument
236 sanei_pieusb_buffer_delete(struct Pieusb_Read_Buffer* buffer) sanei_pieusb_buffer_delete() argument
272 sanei_pieusb_buffer_put_single_color_line(struct Pieusb_Read_Buffer* buffer, SANE_Byte color, void* line, SANE_Int size) sanei_pieusb_buffer_put_single_color_line() argument
382 sanei_pieusb_buffer_put_full_color_line(struct Pieusb_Read_Buffer* buffer, void* line, int size) sanei_pieusb_buffer_put_full_color_line() argument
484 sanei_pieusb_buffer_get(struct Pieusb_Read_Buffer* buffer, SANE_Byte* data, SANE_Int max_len, SANE_Int* len) sanei_pieusb_buffer_get() argument
567 buffer_update_read_index(struct Pieusb_Read_Buffer* buffer, int increment) buffer_update_read_index() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-vowel-constraints.cc24 _output_dotted_circle (hb_buffer_t *buffer) in _output_dotted_circle() argument
26 (void) buffer->output_glyph (0x25CCu); in _output_dotted_circle()
27 _hb_glyph_info_reset_continuation (&buffer->prev()); in _output_dotted_circle()
31 _output_with_dotted_circle (hb_buffer_t *buffer) in _output_with_dotted_circle() argument
33 _output_dotted_circle (buffer); in _output_with_dotted_circle()
34 (void) buffer->next_glyph (); in _output_with_dotted_circle()
39 hb_buffer_t *buffer, in _hb_preprocess_text_vowel_constraints()
45 if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE) in _hb_preprocess_text_vowel_constraints()
54 buffer->clear_output (); in _hb_preprocess_text_vowel_constraints()
55 unsigned int count = buffer in _hb_preprocess_text_vowel_constraints()
38 _hb_preprocess_text_vowel_constraints(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) _hb_preprocess_text_vowel_constraints() argument
[all...]
H A Dhb-ot-shape-normalize.cc102 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) in output_char() argument
105 buffer->cur().glyph_index() = glyph; in output_char()
106 (void) buffer->output_glyph (unichar); in output_char()
107 _hb_glyph_info_set_unicode_props (&buffer->prev(), buffer); in output_char()
111 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) in next_char() argument
113 buffer->cur().glyph_index() = glyph; in next_char()
114 (void) buffer->next_glyph (); in next_char()
118 skip_char (hb_buffer_t *buffer) in skip_char() argument
120 buffer in skip_char()
128 hb_buffer_t * const buffer = c->buffer; decompose() local
170 hb_buffer_t * const buffer = c->buffer; decompose_current_character() local
226 hb_buffer_t * const buffer = c->buffer; handle_variation_selector_cluster() local
268 hb_buffer_t * const buffer = c->buffer; decompose_multi_char_cluster() local
291 _hb_ot_shape_normalize(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font) _hb_ot_shape_normalize() argument
[all...]
H A Dhb-buffer.cc30 #include "hb-buffer.hh"
35 * SECTION: hb-buffer
36 * @title: hb-buffer
91 /* Here is how the buffer works internally:
103 * to an alternate buffer (which we reuse the pos buffer for), and its
364 * But that would leave empty slots in the buffer in case of allocation in move_to()
467 /* If we hit the start of buffer, continue in out-buffer. */ in merge_clusters_impl()
498 /* If we hit the end of out-buffer, continu in merge_out_clusters()
644 hb_buffer_t *buffer; hb_buffer_create() local
685 hb_buffer_reference(hb_buffer_t *buffer) hb_buffer_reference() argument
701 hb_buffer_destroy(hb_buffer_t *buffer) hb_buffer_destroy() argument
732 hb_buffer_set_user_data(hb_buffer_t *buffer, hb_user_data_key_t *key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) hb_buffer_set_user_data() argument
754 hb_buffer_get_user_data(hb_buffer_t *buffer, hb_user_data_key_t *key) hb_buffer_get_user_data() argument
772 hb_buffer_set_content_type(hb_buffer_t *buffer, hb_buffer_content_type_t content_type) hb_buffer_set_content_type() argument
791 hb_buffer_get_content_type(hb_buffer_t *buffer) hb_buffer_get_content_type() argument
808 hb_buffer_set_unicode_funcs(hb_buffer_t *buffer, hb_unicode_funcs_t *unicode_funcs) hb_buffer_set_unicode_funcs() argument
833 hb_buffer_get_unicode_funcs(hb_buffer_t *buffer) hb_buffer_get_unicode_funcs() argument
854 hb_buffer_set_direction(hb_buffer_t *buffer, hb_direction_t direction) hb_buffer_set_direction() argument
876 hb_buffer_get_direction(hb_buffer_t *buffer) hb_buffer_get_direction() argument
899 hb_buffer_set_script(hb_buffer_t *buffer, hb_script_t script) hb_buffer_set_script() argument
920 hb_buffer_get_script(hb_buffer_t *buffer) hb_buffer_get_script() argument
943 hb_buffer_set_language(hb_buffer_t *buffer, hb_language_t language) hb_buffer_set_language() argument
964 hb_buffer_get_language(hb_buffer_t *buffer) hb_buffer_get_language() argument
981 hb_buffer_set_segment_properties(hb_buffer_t *buffer, const hb_segment_properties_t *props) hb_buffer_set_segment_properties() argument
1000 hb_buffer_get_segment_properties(hb_buffer_t *buffer, hb_segment_properties_t *props) hb_buffer_get_segment_properties() argument
1017 hb_buffer_set_flags(hb_buffer_t *buffer, hb_buffer_flags_t flags) hb_buffer_set_flags() argument
1038 hb_buffer_get_flags(hb_buffer_t *buffer) hb_buffer_get_flags() argument
1055 hb_buffer_set_cluster_level(hb_buffer_t *buffer, hb_buffer_cluster_level_t cluster_level) hb_buffer_set_cluster_level() argument
1077 hb_buffer_get_cluster_level(hb_buffer_t *buffer) hb_buffer_get_cluster_level() argument
1096 hb_buffer_set_replacement_codepoint(hb_buffer_t *buffer, hb_codepoint_t replacement) hb_buffer_set_replacement_codepoint() argument
1118 hb_buffer_get_replacement_codepoint(hb_buffer_t *buffer) hb_buffer_get_replacement_codepoint() argument
1137 hb_buffer_set_invisible_glyph(hb_buffer_t *buffer, hb_codepoint_t invisible) hb_buffer_set_invisible_glyph() argument
1158 hb_buffer_get_invisible_glyph(hb_buffer_t *buffer) hb_buffer_get_invisible_glyph() argument
1177 hb_buffer_set_not_found_glyph(hb_buffer_t *buffer, hb_codepoint_t not_found) hb_buffer_set_not_found_glyph() argument
1198 hb_buffer_get_not_found_glyph(hb_buffer_t *buffer) hb_buffer_get_not_found_glyph() argument
1214 hb_buffer_reset(hb_buffer_t *buffer) hb_buffer_reset() argument
1232 hb_buffer_clear_contents(hb_buffer_t *buffer) hb_buffer_clear_contents() argument
1253 hb_buffer_pre_allocate(hb_buffer_t *buffer, unsigned int size) hb_buffer_pre_allocate() argument
1270 hb_buffer_allocation_successful(hb_buffer_t *buffer) hb_buffer_allocation_successful() argument
1293 hb_buffer_add(hb_buffer_t *buffer, hb_codepoint_t codepoint, unsigned int cluster) hb_buffer_add() argument
1315 hb_buffer_set_length(hb_buffer_t *buffer, unsigned int length) hb_buffer_set_length() argument
1356 hb_buffer_get_length(hb_buffer_t *buffer) hb_buffer_get_length() argument
1376 hb_buffer_get_glyph_infos(hb_buffer_t *buffer, unsigned int *length) hb_buffer_get_glyph_infos() argument
1405 hb_buffer_get_glyph_positions(hb_buffer_t *buffer, unsigned int *length) hb_buffer_get_glyph_positions() argument
1436 hb_buffer_has_positions(hb_buffer_t *buffer) hb_buffer_has_positions() argument
1467 hb_buffer_reverse(hb_buffer_t *buffer) hb_buffer_reverse() argument
1483 hb_buffer_reverse_range(hb_buffer_t *buffer, unsigned int start, unsigned int end) hb_buffer_reverse_range() argument
1500 hb_buffer_reverse_clusters(hb_buffer_t *buffer) hb_buffer_reverse_clusters() argument
1534 hb_buffer_guess_segment_properties(hb_buffer_t *buffer) hb_buffer_guess_segment_properties() argument
1541 hb_buffer_add_utf(hb_buffer_t *buffer, const typename utf_t::codepoint_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf() argument
1628 hb_buffer_add_utf8(hb_buffer_t *buffer, const char *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf8() argument
1654 hb_buffer_add_utf16(hb_buffer_t *buffer, const uint16_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf16() argument
1680 hb_buffer_add_utf32(hb_buffer_t *buffer, const uint32_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_utf32() argument
1707 hb_buffer_add_latin1(hb_buffer_t *buffer, const uint8_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_latin1() argument
1741 hb_buffer_add_codepoints(hb_buffer_t *buffer, const hb_codepoint_t *text, int text_length, unsigned int item_offset, int item_length) hb_buffer_add_codepoints() argument
1763 hb_buffer_append(hb_buffer_t *buffer, hb_buffer_t *source, unsigned int start, unsigned int end) hb_buffer_append() argument
1833 normalize_glyphs_cluster(hb_buffer_t *buffer, unsigned int start, unsigned int end, bool backward) normalize_glyphs_cluster() argument
1892 hb_buffer_normalize_glyphs(hb_buffer_t *buffer) hb_buffer_normalize_glyphs() argument
1944 hb_buffer_diff(hb_buffer_t *buffer, hb_buffer_t *reference, hb_codepoint_t dottedcircle_glyph, unsigned int position_fuzz) hb_buffer_diff() argument
2038 hb_buffer_set_message_func(hb_buffer_t *buffer, hb_buffer_message_func_t func, void *user_data, hb_destroy_func_t destroy) hb_buffer_set_message_func() argument
[all...]
H A Dhb-ot-shape-complex-hangul.cc121 /* buffer var allocations */
134 hb_buffer_t *buffer, in preprocess_text_hangul()
137 HB_BUFFER_ALLOCATE_VAR (buffer, hangul_shaping_feature); in preprocess_text_hangul()
187 buffer->clear_output (); in preprocess_text_hangul()
191 unsigned int count = buffer->len; in preprocess_text_hangul()
193 for (buffer->idx = 0; buffer->idx < count && buffer->successful;) in preprocess_text_hangul()
195 hb_codepoint_t u = buffer->cur().codepoint; in preprocess_text_hangul()
204 if (start < end && end == buffer in preprocess_text_hangul()
133 preprocess_text_hangul(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_buffer_t *buffer, hb_font_t *font) preprocess_text_hangul() argument
399 setup_masks_hangul(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) setup_masks_hangul() argument
[all...]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A Dtest-fixed-dtoa.cc43 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
47 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point)); in TEST()
48 CHECK_EQ("1", buffer.start()); in TEST()
51 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point)); in TEST()
52 CHECK_EQ("1", buffer.start()); in TEST()
55 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point)); in TEST()
56 CHECK_EQ("1", buffer.start()); in TEST()
59 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point)); in TEST()
60 CHECK_EQ("4294967295", buffer.start()); in TEST()
63 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, in TEST()
[all...]
H A Dtest-bignum-dtoa.cc60 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
64 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
65 CHECK_EQ("1", buffer.start()); in TEST()
68 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point); in TEST()
70 TrimRepresentation(buffer); in TEST()
71 CHECK_EQ("1", buffer.start()); in TEST()
74 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point); in TEST()
76 TrimRepresentation(buffer); in TEST()
77 CHECK_EQ("1", buffer.start()); in TEST()
80 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, in TEST()
[all...]
H A Dtest-dtoa.cc51 Vector<char> buffer, bool* sign, int* length, in DoubleToAscii()
63 buffer.start(), buffer.length(), in DoubleToAscii()
83 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
88 DoubleToAscii(0.0, SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
89 CHECK_EQ("0", buffer.start()); in TEST()
92 DoubleToAscii(0.0f, SHORTEST_SINGLE, 0, buffer, &sign, &length, &point); in TEST()
93 CHECK_EQ("0", buffer.start()); in TEST()
96 DoubleToAscii(0.0, FIXED, 2, buffer, &sign, &length, &point); in TEST()
98 CHECK_EQ("0", buffer in TEST()
50 DoubleToAscii(double v, DtoaMode test_mode, int requested_digits, Vector<char> buffer, bool* sign, int* length, int* point) DoubleToAscii() argument
[all...]
H A Dtest-bignum.cc54 char buffer[kBufferSize]; in TEST() local
58 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
59 CHECK_EQ("0", buffer); in TEST()
61 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
62 CHECK_EQ("A", buffer); in TEST()
64 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
65 CHECK_EQ("20", buffer); in TEST()
69 CHECK(bignum.ToHexString(buffer, kBufferSize)); in TEST()
70 CHECK_EQ("0", buffer); in TEST()
72 CHECK(bignum.ToHexString(buffer, kBufferSiz in TEST()
123 char buffer[kBufferSize]; TEST() local
161 char buffer[kBufferSize]; TEST() local
260 char buffer[kBufferSize]; TEST() local
354 char buffer[kBufferSize]; TEST() local
454 char buffer[kBufferSize]; TEST() local
555 char buffer[kBufferSize]; TEST() local
656 char buffer[kBufferSize]; TEST() local
986 char buffer[kBufferSize]; TEST() local
1368 char buffer[kBufferSize]; TEST() local
1399 char buffer[kBufferSize]; TEST() local
[all...]
H A Dtest-fast-dtoa.cc57 Vector<char> buffer(buffer_container, kBufferSize); in TEST()
64 buffer, &length, &point); in TEST()
66 CHECK_EQ("5", buffer.start()); in TEST()
71 buffer, &length, &point); in TEST()
73 CHECK_EQ("17976931348623157", buffer.start()); in TEST()
77 buffer, &length, &point); in TEST()
79 CHECK_EQ("4294967272", buffer.start()); in TEST()
83 buffer, &length, &point); in TEST()
85 CHECK_EQ("4185580496821357", buffer.start()); in TEST()
89 buffer, in TEST()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DWritingPrimitives.cs56 public static void WriteDouble(ref Span<byte> buffer, ref WriterInternalState state, double value) in WriteDouble() argument
58 WriteRawLittleEndian64(ref buffer, ref state, (ulong)BitConverter.DoubleToInt64Bits(value)); in WriteDouble()
64 public static unsafe void WriteFloat(ref Span<byte> buffer, ref WriterInternalState state, float value) in WriteFloat() argument
67 if (buffer.Length - state.position >= length) in WriteFloat()
69 // if there's enough space in the buffer, write the float directly into the buffer in WriteFloat()
70 var floatSpan = buffer.Slice(state.position, length); in WriteFloat()
81 WriteFloatSlowPath(ref buffer, ref state, value); in WriteFloat()
86 private static unsafe void WriteFloatSlowPath(ref Span<byte> buffer, ref WriterInternalState state, float value) in WriteFloatSlowPath() argument
98 WriteRawByte(ref buffer, re in WriteFloatSlowPath()
107 WriteUInt64(ref Span<byte> buffer, ref WriterInternalState state, ulong value) WriteUInt64() argument
115 WriteInt64(ref Span<byte> buffer, ref WriterInternalState state, long value) WriteInt64() argument
123 WriteInt32(ref Span<byte> buffer, ref WriterInternalState state, int value) WriteInt32() argument
139 WriteFixed64(ref Span<byte> buffer, ref WriterInternalState state, ulong value) WriteFixed64() argument
147 WriteFixed32(ref Span<byte> buffer, ref WriterInternalState state, uint value) WriteFixed32() argument
155 WriteBool(ref Span<byte> buffer, ref WriterInternalState state, bool value) WriteBool() argument
164 WriteString(ref Span<byte> buffer, ref WriterInternalState state, string value) WriteString() argument
216 WriteBytes(ref Span<byte> buffer, ref WriterInternalState state, ByteString value) WriteBytes() argument
225 WriteUInt32(ref Span<byte> buffer, ref WriterInternalState state, uint value) WriteUInt32() argument
233 WriteEnum(ref Span<byte> buffer, ref WriterInternalState state, int value) WriteEnum() argument
241 WriteSFixed32(ref Span<byte> buffer, ref WriterInternalState state, int value) WriteSFixed32() argument
249 WriteSFixed64(ref Span<byte> buffer, ref WriterInternalState state, long value) WriteSFixed64() argument
257 WriteSInt32(ref Span<byte> buffer, ref WriterInternalState state, int value) WriteSInt32() argument
265 WriteSInt64(ref Span<byte> buffer, ref WriterInternalState state, long value) WriteSInt64() argument
276 WriteLength(ref Span<byte> buffer, ref WriterInternalState state, int length) WriteLength() argument
289 WriteRawVarint32(ref Span<byte> buffer, ref WriterInternalState state, uint value) WriteRawVarint32() argument
322 WriteRawVarint64(ref Span<byte> buffer, ref WriterInternalState state, ulong value) WriteRawVarint64() argument
355 WriteRawLittleEndian32(ref Span<byte> buffer, ref WriterInternalState state, uint value) WriteRawLittleEndian32() argument
370 WriteRawLittleEndian32SlowPath(ref Span<byte> buffer, ref WriterInternalState state, uint value) WriteRawLittleEndian32SlowPath() argument
378 WriteRawLittleEndian64(ref Span<byte> buffer, ref WriterInternalState state, ulong value) WriteRawLittleEndian64() argument
393 WriteRawLittleEndian64SlowPath(ref Span<byte> buffer, ref WriterInternalState state, ulong value) WriteRawLittleEndian64SlowPath() argument
405 WriteRawByte(ref Span<byte> buffer, ref WriterInternalState state, byte value) WriteRawByte() argument
418 WriteRawBytes(ref Span<byte> buffer, ref WriterInternalState state, byte[] value) WriteRawBytes() argument
426 WriteRawBytes(ref Span<byte> buffer, ref WriterInternalState state, byte[] value, int offset, int length) WriteRawBytes() argument
434 WriteRawBytes(ref Span<byte> buffer, ref WriterInternalState state, ReadOnlySpan<byte> value) WriteRawBytes() argument
472 WriteTag(ref Span<byte> buffer, ref WriterInternalState state, int fieldNumber, WireFormat.WireType type) WriteTag() argument
480 WriteTag(ref Span<byte> buffer, ref WriterInternalState state, uint tag) WriteTag() argument
488 WriteRawTag(ref Span<byte> buffer, ref WriterInternalState state, byte b1) WriteRawTag() argument
496 WriteRawTag(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2) WriteRawTag() argument
510 WriteRawTagSlowPath(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2) WriteRawTagSlowPath() argument
519 WriteRawTag(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2, byte b3) WriteRawTag() argument
534 WriteRawTagSlowPath(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2, byte b3) WriteRawTagSlowPath() argument
544 WriteRawTag(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2, byte b3, byte b4) WriteRawTag() argument
561 WriteRawTagSlowPath(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2, byte b3, byte b4) WriteRawTagSlowPath() argument
572 WriteRawTag(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2, byte b3, byte b4, byte b5) WriteRawTag() argument
589 WriteRawTagSlowPath(ref Span<byte> buffer, ref WriterInternalState state, byte b1, byte b2, byte b3, byte b4, byte b5) WriteRawTagSlowPath() argument
[all...]
H A DParsingPrimitives.cs63 public static int ParseLength(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseLength() argument
65 return (int)ParseRawVarint32(ref buffer, ref state); in ParseLength()
72 public static uint ParseTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseTag() argument
84 // Optimize for the incredibly common case of having at least two bytes left in the buffer, in ParseTag()
88 int tmp = buffer[state.bufferPos++]; in ParseTag()
96 if ((tmp = buffer[state.bufferPos++]) < 128) in ParseTag()
105 state.lastTag = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ParseTag()
111 if (SegmentedBufferHelper.IsAtEnd(ref buffer, ref state)) in ParseTag()
117 state.lastTag = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ParseTag()
132 public static bool MaybeConsumeTag(ref ReadOnlySpan<byte> buffer, re argument
147 PeekTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) PeekTag() argument
164 ParseRawVarint64(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawVarint64() argument
193 ParseRawVarint64SlowPath(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawVarint64SlowPath() argument
218 ParseRawVarint32(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawVarint32() argument
274 ParseRawVarint32SlowPath(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawVarint32SlowPath() argument
325 ParseRawLittleEndian32(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawLittleEndian32() argument
340 ParseRawLittleEndian32SlowPath(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawLittleEndian32SlowPath() argument
352 ParseRawLittleEndian64(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawLittleEndian64() argument
364 ParseRawLittleEndian64SlowPath(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseRawLittleEndian64SlowPath() argument
381 ParseDouble(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseDouble() argument
397 ParseFloat(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseFloat() argument
410 ParseFloatSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ParseFloatSlow() argument
434 ReadRawBytes(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, int size) ReadRawBytes() argument
453 ReadRawBytesSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, int size) ReadRawBytesSlow() argument
518 SkipRawBytes(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, int size) SkipRawBytes() argument
558 ReadString(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadString() argument
568 ReadBytes(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadBytes() argument
581 ReadRawString(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, int length) ReadRawString() argument
620 ReadStringSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, int length) ReadStringSlow() argument
673 ValidateCurrentLimit(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, int size) ValidateCurrentLimit() argument
685 ReadRawByte(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadRawByte() argument
797 ReadRawBytesIntoSpan(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, int length, Span<byte> byteSpan) ReadRawBytesIntoSpan() argument
[all...]
H A DParsingPrimitivesWrappers.cs52 internal static float? ReadFloatWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ReadFloatWrapperLittleEndian() argument
57 // The entire wrapper message is already contained in `buffer`. in ReadFloatWrapperLittleEndian()
58 int length = buffer[state.bufferPos]; in ReadFloatWrapperLittleEndian()
66 if (length != 5 || buffer[state.bufferPos + 1] != 13) in ReadFloatWrapperLittleEndian()
68 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
71 return ParsingPrimitives.ParseFloat(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
75 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
79 internal static float? ReadFloatWrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ReadFloatWrapperSlow() argument
81 int length = ParsingPrimitives.ParseLength(ref buffer, ref state); in ReadFloatWrapperSlow()
91 if (ParsingPrimitives.ParseTag(ref buffer, re in ReadFloatWrapperSlow()
104 ReadDoubleWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadDoubleWrapperLittleEndian() argument
131 ReadDoubleWrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadDoubleWrapperSlow() argument
156 ReadBoolWrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadBoolWrapper() argument
161 ReadUInt32Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt32Wrapper() argument
201 ReadUInt32WrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt32WrapperSlow() argument
226 ReadInt32Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadInt32Wrapper() argument
231 ReadUInt64Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt64Wrapper() argument
272 ReadUInt64WrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt64WrapperSlow() argument
298 ReadInt64Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadInt64Wrapper() argument
[all...]
/third_party/mbedtls/programs/psa/
H A Dpsa_constant_names_generated.c90 static int psa_snprint_key_type(char *buffer, size_t buffer_size, in psa_snprint_key_type() argument
95 case PSA_KEY_TYPE_AES: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_AES", 16); break; in psa_snprint_key_type()
96 case PSA_KEY_TYPE_ARIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ARIA", 17); break; in psa_snprint_key_type()
97 case PSA_KEY_TYPE_CAMELLIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CAMELLIA", 21); break; in psa_snprint_key_type()
98 case PSA_KEY_TYPE_CATEGORY_FLAG_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_FLAG_PAIR", 31); break; in psa_snprint_key_type()
99 case PSA_KEY_TYPE_CATEGORY_KEY_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_KEY_PAIR", 30); break; in psa_snprint_key_type()
100 case PSA_KEY_TYPE_CATEGORY_PUBLIC_KEY: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_PUBLIC_KEY", 32); break; in psa_snprint_key_type()
101 case PSA_KEY_TYPE_CATEGORY_RAW: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_RAW", 25); break; in psa_snprint_key_type()
102 case PSA_KEY_TYPE_CATEGORY_SYMMETRIC: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_SYMMETRIC", 31); break; in psa_snprint_key_type()
103 case PSA_KEY_TYPE_CHACHA20: append(&buffer, buffer_siz in psa_snprint_key_type()
148 psa_snprint_algorithm(char *buffer, size_t buffer_size, psa_algorithm_t alg) psa_snprint_algorithm() argument
379 psa_snprint_key_usage(char *buffer, size_t buffer_size, psa_key_usage_t usage) psa_snprint_key_usage() argument
[all...]
/third_party/backends/lib/
H A Dsnprintf.c12 snprintf( char *buffer, int len, const char *format,...)
13 plp_unsafe_snprintf( char *buffer, int len, const char *format,...)
27 against this, all printing was done via a buffer, generous enough
32 SPRINTFing to a buffer on a stack... The rest, of course, is
33 well known, as buffer overruns in the stack are a common way to
539 static char * plp_Errormsg ( int err, char *buffer );
540 static void dopr( int visible_control, char **buffer, int *left,
542 static void fmtstr( int visible_control, char **buffer, int *left,
544 static void fmtnum( char **buffer, int *left,
548 static void fmtquad( char **buffer, in
566 char *buffer; plp_vsnprintf() local
592 char *buffer; plp_unsafe_vsnprintf() local
658 dopr( int visible_control, char **buffer, int *left, const char *format, va_list args ) dopr() argument
801 fmtstr( int visible_control, char **buffer, int *left, char *value, int ljust, int len, int zpad, int precision ) fmtstr() argument
841 fmtnum( char **buffer, int *left, union value *value, int base, int dosign, int ljust, int len, int zpad, int precision ) fmtnum() argument
907 fmtquad( char **buffer, int *left, union value *value, int base, int dosign, int ljust, int len, int zpad, int precision ) fmtquad() argument
979 fmtdouble( char **buffer, int *left, int fmt, double value, int ljust, int len, int zpad, int precision ) fmtdouble() argument
1010 dostr( char **buffer, int *left, char *str ) dostr() argument
1015 dopr_outch( char **buffer, int *left, int c ) dopr_outch() argument
1075 char buffer[128]; main() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DBufferTests.cpp22 void MapAsyncAndWait(const wgpu::Buffer& buffer, in MapAsyncAndWait() argument
27 buffer.MapAsync( in MapAsyncAndWait()
64 wgpu::Buffer buffer = CreateMapReadBuffer(4); in TEST_P() local
68 queue.WriteBuffer(buffer, 0, &myData, kSize); in TEST_P()
70 MapAsyncAndWait(buffer, wgpu::MapMode::Read, 0, 4); in TEST_P()
71 CheckMapping(buffer.GetConstMappedRange(), &myData, kSize); in TEST_P()
72 CheckMapping(buffer.GetConstMappedRange(0, kSize), &myData, kSize); in TEST_P()
73 buffer.Unmap(); in TEST_P()
76 // Test map-reading a zero-sized buffer.
78 wgpu::Buffer buffer in TEST_P() local
87 wgpu::Buffer buffer = CreateMapReadBuffer(12); TEST_P() local
99 wgpu::Buffer buffer = CreateMapReadBuffer(4); TEST_P() local
118 wgpu::Buffer buffer = CreateMapReadBuffer(12); TEST_P() local
135 wgpu::Buffer buffer = CreateMapReadBuffer(kByteSize); TEST_P() local
169 wgpu::Buffer buffer = CreateMapReadBuffer(kBufferSize); TEST_P() local
177 wgpu::Buffer buffer; TEST_P() member
208 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_P() local
222 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_P() local
236 wgpu::Buffer buffer = CreateMapWriteBuffer(0); TEST_P() local
246 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_P() local
258 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_P() local
277 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_P() local
297 wgpu::Buffer buffer = CreateMapWriteBuffer(16); TEST_P() local
324 wgpu::Buffer buffer = CreateMapWriteBuffer(12); TEST_P() local
343 wgpu::Buffer buffer = CreateMapWriteBuffer(kDataSize * sizeof(uint32_t)); TEST_P() local
408 wgpu::Buffer buffer = CreateMapReadBuffer(sizeof(data)); TEST_P() local
441 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_P() local
448 wgpu::Buffer buffer; TEST_P() member
482 wgpu::Buffer buffer = CreateMapWriteBuffer(4); TEST_P() local
489 wgpu::Buffer buffer; TEST_P() member
524 wgpu::Buffer buffer = CreateMapWriteBuffer(0); TEST_P() local
546 MapAsyncAndWait(const wgpu::Buffer& buffer, wgpu::MapMode mode, size_t size) MapAsyncAndWait() argument
557 UnmapBuffer(const wgpu::Buffer& buffer) UnmapBuffer() argument
572 wgpu::Buffer buffer = BufferMappedAtCreation(usage, byteLength); BufferMappedAtCreationWithData() local
581 wgpu::Buffer buffer = BufferMappedAtCreationWithData( TEST_P() local
590 wgpu::Buffer buffer = BufferMappedAtCreationWithData(wgpu::BufferUsage::MapRead, {myData}); TEST_P() local
601 wgpu::Buffer buffer = BufferMappedAtCreationWithData(wgpu::BufferUsage::CopySrc, {myData}); TEST_P() local
615 wgpu::Buffer buffer = BufferMappedAtCreationWithData( TEST_P() local
630 wgpu::Buffer buffer = BufferMappedAtCreationWithData(wgpu::BufferUsage::MapRead, myData); TEST_P() local
647 wgpu::Buffer buffer = BufferMappedAtCreationWithData(wgpu::BufferUsage::CopySrc, {myData}); TEST_P() local
658 wgpu::Buffer buffer = BufferMappedAtCreation(wgpu::BufferUsage::CopySrc, 4); TEST_P() local
664 wgpu::Buffer buffer = BufferMappedAtCreation(wgpu::BufferUsage::MapRead, 4); TEST_P() local
671 wgpu::Buffer buffer = BufferMappedAtCreationWithData( TEST_P() local
696 wgpu::Buffer buffer = BufferMappedAtCreationWithData( TEST_P() local
724 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); TEST_P() local
738 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); TEST_P() local
754 wgpu::Buffer buffer; TEST_P() local
766 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); TEST_P() local
779 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); TEST_P() local
[all...]
/third_party/vixl/test/
H A Dtest-code-buffer.cc28 #include "code-buffer-vixl.h"
44 // Check that the buffer can automatically grow when aligning the cursor. in TEST()
53 static void TestDefaultsHelper(const CodeBuffer& buffer) { in TestDefaultsHelper() argument
54 VIXL_CHECK(buffer.GetCapacity() == CodeBuffer::kDefaultCapacity); in TestDefaultsHelper()
55 VIXL_CHECK(buffer.HasSpaceFor(CodeBuffer::kDefaultCapacity)); in TestDefaultsHelper()
56 VIXL_CHECK(!buffer.HasSpaceFor(CodeBuffer::kDefaultCapacity + 1)); in TestDefaultsHelper()
57 VIXL_CHECK(buffer.GetCursorOffset() == 0); in TestDefaultsHelper()
58 VIXL_CHECK(buffer.GetOffsetFrom(0) == 0); in TestDefaultsHelper()
59 VIXL_CHECK(buffer.IsManaged()); in TestDefaultsHelper()
60 VIXL_CHECK(!buffer in TestDefaultsHelper()
68 CodeBuffer buffer; TEST() local
73 CodeBuffer buffer; TEST() local
101 CodeBuffer buffer; TEST() local
[all...]
/third_party/musl/libc-test/src/functionalext/time/
H A Dstrftime_ext.c41 char buffer[gBufferSize]; in strftime_0100() local
47 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr); in strftime_0100()
49 EXPECT_STREQ("strftime_0100", buffer, test_asctime_data[i].result); in strftime_0100()
74 char buffer[gBufferSize]; in strftime_0200() local
75 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c %Z%z", timeptr); in strftime_0200()
77 EXPECT_STREQ("strftime_0200", buffer, test_strftime_data[i].result); in strftime_0200()
101 char buffer[gBufferSize]; in strftime_0300() local
102 size_t count = strftime(buffer, sizeo in strftime_0300()
127 char buffer[gBufferSize]; strftime_0400() local
153 char buffer[gBufferSize]; strftime_0500() local
179 char buffer[gBufferSize]; strftime_0600() local
205 char buffer[gBufferSize]; strftime_0700() local
231 char buffer[gBufferSize]; strftime_0800() local
257 char buffer[gBufferSize]; strftime_0900() local
289 char buffer[gBufferSize]; strftime_1000() local
303 char buffer[gBufferSize]; strftime_1100() local
335 char buffer[gBufferSize]; strftime_1200() local
367 char buffer[gBufferSize]; strftime_1300() local
399 char buffer[gBufferSize]; strftime_1400() local
426 char buffer[gBufferSize]; strftime_1500() local
454 char buffer[gBufferSize]; strftime_1600() local
469 char buffer[gBufferSize]; strftime_1700() local
483 char buffer[gBufferSize]; strftime_1800() local
498 char buffer[gBufferSize]; strftime_1900() local
513 char buffer[gBufferSize]; strftime_2000() local
528 char buffer[gBufferSize]; strftime_2100() local
543 char buffer[gBufferSize]; strftime_2200() local
557 char buffer[gBufferSize]; strftime_2300() local
571 char buffer[gBufferSize]; strftime_2400() local
[all...]
H A Dstrptime_ext.c43 char buffer[gBufferSize]; in strptime_0100() local
49 size_t cnt = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr); in strptime_0100()
53 strptime(buffer, "%c", &tmTime); in strptime_0100()
81 char buffer[gBufferSize]; in strptime_0200() local
87 size_t len = strftime(buffer, sizeof(buffer) - 1, "%c %Z%z", timeptr); in strptime_0200()
90 strptime(buffer, "%c %Z%z", &tmTime); in strptime_0200()
110 char *buffer = "2022-04-10"; in strptime_0300() local
112 strptime(buffer, " in strptime_0300()
128 char *buffer = "23"; strptime_0400() local
145 const char *buffer = "16"; strptime_0500() local
162 const char *buffer = " 4"; strptime_0600() local
179 const char *buffer = "1659177614"; strptime_0700() local
205 const char *buffer = "1"; strptime_0800() local
222 const char *buffer = "30-Oct-2021"; strptime_0900() local
240 const char *buffer = "2021-01-23"; strptime_1000() local
257 const char *buffer = "23"; strptime_1100() local
274 const char *buffer = "am"; strptime_1200() local
303 const char *buffer = "pm"; strptime_1300() local
332 const char *buffer = "30-Oct-2021"; strptime_1400() local
349 const char *buffer = "1"; strptime_1500() local
366 const char *buffer = "Oct-30-2021"; strptime_1600() local
384 const char *buffer = "16-Spring"; strptime_1700() local
401 const char *buffer = "+03"; strptime_1800() local
418 const char *buffer = "-03"; strptime_1900() local
435 const char *buffer = "Oct-30-2021"; strptime_2000() local
449 const char *buffer = "2022-4-10"; strptime_2100() local
466 const char *buffer = ""; strptime_2200() local
480 const char *buffer = "2022"; strptime_2300() local
497 const char *buffer = ""; strptime_2400() local
511 const char *buffer = ""; strptime_2500() local
525 const char *buffer = " 1"; strptime_2600() local
542 const char *buffer = "08:38:20"; strptime_2700() local
559 const char *buffer = ""; strptime_2800() local
573 const char *buffer = ""; strptime_2900() local
587 const char *buffer = "+1"; strptime_3000() local
601 const char *buffer = ""; strptime_3100() local
615 const char *buffer = ""; strptime_3200() local
629 const char *buffer = ""; strptime_3300() local
643 const char *buffer = "04/10/22"; strptime_3400() local
660 const char *buffer = ""; strptime_3500() local
674 const char *buffer = "08:10:20"; strptime_3600() local
691 const char *buffer = ""; strptime_3700() local
705 const char *buffer = ""; strptime_3800() local
719 const char *buffer = ""; strptime_3900() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dfread.c178 char *buffer = (char *)malloc((BUFFER_SIZE_1026 + 1) * sizeof(char)); in fread_0600() local
179 memset(buffer, ZERO, BUFFER_SIZE_1026 * sizeof(char)); in fread_0600()
196 size_t bytesRead = fread(buffer, 1, READ_LENGTH, fp); in fread_0600()
197 buffer[bytesRead] = '\0'; in fread_0600()
198 EXPECT_STREQ("fread_0600 point 1", buffer, result1); in fread_0600()
202 memset(buffer, ZERO, BUFFER_SIZE_1026 * sizeof(char)); in fread_0600()
203 bytesRead = fread(buffer, READ_LENGTH, 1, fp); in fread_0600()
204 buffer[READ_LENGTH] = '\0'; in fread_0600()
205 EXPECT_STREQ("fread_0600 point 2", buffer, result1); in fread_0600()
209 memset(buffer, ZER in fread_0600()
252 char *buffer = (char *)malloc((BUFFER_SIZE_1026 + 1) * sizeof(char)); fread_0700() local
326 char *buffer = (char *)malloc((BUFFER_SIZE_1026 + 1) * sizeof(char)); fread_0800() local
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module-builder.cc26 size_t EmitSection(SectionCode code, ZoneBuffer* buffer) { in EmitSection() argument
28 buffer->write_u8(code); in EmitSection()
31 return buffer->reserve_u32v(); in EmitSection()
35 void FixupSection(ZoneBuffer* buffer, size_t start) { in FixupSection() argument
36 buffer->patch_u32v(start, static_cast<uint32_t>(buffer->offset() - start - in FixupSection()
131 void WriteValueType(ZoneBuffer* buffer, const ValueType& type) { in WriteValueType() argument
132 buffer->write_u8(type.value_type_code()); in WriteValueType()
134 buffer->write_i32v(type.heap_type().code()); in WriteValueType()
137 buffer in WriteValueType()
451 WriteInitializerExpressionWithEnd(ZoneBuffer* buffer, const WasmInitExpr& init, ValueType type) WriteInitializerExpressionWithEnd() argument
583 WriteInitializerExpression(ZoneBuffer* buffer, const WasmInitExpr& init, ValueType type) WriteInitializerExpression() argument
[all...]
/third_party/node/test/parallel/
H A Dtest-buffer-writeint.js16 const buffer = Buffer.alloc(2);
18 buffer.writeInt8(0x23, 0);
19 buffer.writeInt8(-5, 1);
20 assert.ok(buffer.equals(new Uint8Array([ 0x23, 0xfb ])));
23 buffer.writeInt8(0x7f, 0);
24 buffer.writeInt8(-0x80, 1);
25 assert.ok(buffer.equals(new Uint8Array([ 0x7f, 0x80 ])));
28 buffer.writeInt8(0x7f + 1, 0);
31 buffer.writeInt8(-0x80 - 1, 0);
35 buffer
[all...]
/third_party/mesa3d/src/gallium/frontends/hgl/
H A Dhgl.c51 struct hgl_buffer* buffer; in hgl_st_framebuffer() local
53 buffer = (struct hgl_buffer*)stfbi->st_manager_private; in hgl_st_framebuffer()
54 assert(buffer); in hgl_st_framebuffer()
55 return buffer; in hgl_st_framebuffer()
65 struct hgl_buffer* buffer = hgl_st_framebuffer(stfbi); in hgl_st_framebuffer_flush_front() local
66 struct pipe_resource* ptex = buffer->textures[statt]; in hgl_st_framebuffer_flush_front()
75 buffer->screen->flush_frontbuffer(buffer->screen, NULL, ptex, 0, 0, in hgl_st_framebuffer_flush_front()
76 buffer->winsysContext, NULL); in hgl_st_framebuffer_flush_front()
86 struct hgl_buffer* buffer; in hgl_st_framebuffer_validate_textures() local
162 struct hgl_buffer* buffer; hgl_st_framebuffer_validate() local
223 struct hgl_buffer *buffer; hgl_create_st_framebuffer() local
263 hgl_destroy_st_framebuffer(struct hgl_buffer *buffer) hgl_destroy_st_framebuffer() argument
[all...]
/third_party/node/deps/icu-small/source/tools/genrb/
H A Drle.c42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument
48 if(buffer < buffLimit){ in appendEncodedByte()
49 *buffer++ = c; in appendEncodedByte()
54 return buffer; in appendEncodedByte()
59 return buffer; in appendEncodedByte()
67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { in encodeRunByte() argument
75 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
77 buffer = appendEncodedByte(buffer,bufLimi in encodeRunByte()
109 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* status) encodeRunShort() argument
151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) usArrayToRLEString() argument
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) byteArrayToRLEString() argument
[all...]
/third_party/icu/icu4c/source/tools/genrb/
H A Drle.c42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument
48 if(buffer < buffLimit){ in appendEncodedByte()
49 *buffer++ = c; in appendEncodedByte()
54 return buffer; in appendEncodedByte()
59 return buffer; in appendEncodedByte()
67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { in encodeRunByte() argument
75 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
77 buffer = appendEncodedByte(buffer,bufLimi in encodeRunByte()
109 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* status) encodeRunShort() argument
151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) usArrayToRLEString() argument
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) byteArrayToRLEString() argument
[all...]

Completed in 16 milliseconds

12345678910>>...241