Home
last modified time | relevance | path

Searched refs:position (Results 1 - 25 of 1326) sorted by relevance

12345678910>>...54

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DArrayDecoders.java75 * Decodes a varint. Returns the position after the varint. The decoded varint is stored in
78 static int decodeVarint32(byte[] data, int position, Registers registers) { in decodeVarint32() argument
79 int value = data[position++]; in decodeVarint32()
82 return position; in decodeVarint32()
84 return decodeVarint32(value, data, position, registers); in decodeVarint32()
88 static int decodeVarint32(int firstByte, byte[] data, int position, Registers registers) { in decodeVarint32() argument
90 final byte b2 = data[position++]; in decodeVarint32()
93 return position; in decodeVarint32()
97 final byte b3 = data[position++]; in decodeVarint32()
100 return position; in decodeVarint32()
128 decodeVarint64(byte[] data, int position, Registers registers) decodeVarint64() argument
139 decodeVarint64(long firstByte, byte[] data, int position, Registers registers) decodeVarint64() argument
154 decodeFixed32(byte[] data, int position) decodeFixed32() argument
162 decodeFixed64(byte[] data, int position) decodeFixed64() argument
174 decodeDouble(byte[] data, int position) decodeDouble() argument
179 decodeFloat(byte[] data, int position) decodeFloat() argument
184 decodeString(byte[] data, int position, Registers registers) decodeString() argument
200 decodeStringRequireUtf8(byte[] data, int position, Registers registers) decodeStringRequireUtf8() argument
216 decodeBytes(byte[] data, int position, Registers registers) decodeBytes() argument
235 decodeMessageField( Schema schema, byte[] data, int position, int limit, Registers registers) decodeMessageField() argument
254 decodeGroupField( Schema schema, byte[] data, int position, int limit, int endGroup, Registers registers) decodeGroupField() argument
270 decodeVarint32List( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeVarint32List() argument
287 decodeVarint64List( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeVarint64List() argument
304 decodeFixed32List( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeFixed32List() argument
321 decodeFixed64List( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeFixed64List() argument
338 decodeFloatList( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeFloatList() argument
355 decodeDoubleList( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeDoubleList() argument
372 decodeBoolList( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeBoolList() argument
389 decodeSInt32List( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeSInt32List() argument
406 decodeSInt64List( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeSInt64List() argument
423 decodePackedVarint32List( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedVarint32List() argument
439 decodePackedVarint64List( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedVarint64List() argument
455 decodePackedFixed32List( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedFixed32List() argument
471 decodePackedFixed64List( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedFixed64List() argument
487 decodePackedFloatList( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedFloatList() argument
503 decodePackedDoubleList( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedDoubleList() argument
519 decodePackedBoolList( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedBoolList() argument
535 decodePackedSInt32List( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedSInt32List() argument
552 decodePackedSInt64List( byte[] data, int position, ProtobufList<?> list, Registers registers) decodePackedSInt64List() argument
569 decodeStringList( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeStringList() argument
608 decodeStringListRequireUtf8( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeStringListRequireUtf8() argument
651 decodeBytesList( int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeBytesList() argument
694 decodeMessageList( Schema<?> schema, int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeMessageList() argument
723 decodeGroupList( Schema schema, int tag, byte[] data, int position, int limit, ProtobufList<?> list, Registers registers) decodeGroupList() argument
747 decodeExtensionOrUnknownField( int tag, byte[] data, int position, int limit, Object message, MessageLite defaultInstance, UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite> unknownFieldSchema, Registers registers) decodeExtensionOrUnknownField() argument
768 decodeExtension( int tag, byte[] data, int position, int limit, GeneratedMessageLite.ExtendableMessage<?, ?> message, GeneratedMessageLite.GeneratedExtension<?, ?> extension, UnknownFieldSchema<UnknownFieldSetLite, UnknownFieldSetLite> unknownFieldSchema, Registers registers) decodeExtension() argument
983 decodeUnknownField( int tag, byte[] data, int position, int limit, UnknownFieldSetLite unknownFields, Registers registers) decodeUnknownField() argument
1041 skipField(int tag, byte[] data, int position, int limit, Registers registers) skipField() argument
[all...]
H A DAllocatedBuffer.java82 * <p>If this buffer is backed by an array then {@link #position()} corresponds to the array index
83 * {@link #position()} {@code +} {@link #arrayOffset()}.
95 * Returns this buffer's position.
97 * @return The position of this buffer
99 public abstract int position(); in position() method in AllocatedBuffer
102 * Sets this buffer's position.
104 * @param position The new position value; must be non-negative and no larger than the current
107 * @throws IllegalArgumentException If the preconditions on {@code position} do not hold
109 public abstract AllocatedBuffer position(in argument
[all...]
H A DCodedOutputStream.java318 * of the ByteBuffer regardless of the current position and limit (i.e., the number of bytes to be
320 * state of the passed-in ByteBuffer. Its position, limit, mark, etc. will remain unchanged. If
354 * current position and limit (i.e., the number of bytes to be written is value.capacity(), not
356 * ByteBuffer. Its position, limit, mark, etc. will remain unchanged. If you only want to write
1154 private int position; field in CodedOutputStream.ArrayEncoder
1168 position = offset; in ArrayEncoder()
1318 buffer[position++] = value; in write()
1321 String.format("Pos: %d, limit: %d, len: %d", position, limit, 1), e); in write()
1341 UnsafeUtil.putByte(buffer, position++, (byte) value); in writeUInt32NoTag()
1344 UnsafeUtil.putByte(buffer, position in writeUInt32NoTag()
1883 private long position; global() field in CodedOutputStream.UnsafeDirectNioEncoder
2237 int position; global() field in CodedOutputStream.AbstractBufferedEncoder
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_cliptest_tmp.h75 float *position = out->data[pos]; in do_cliptest() local
94 float *clipvertex = position; in do_cliptest()
102 out->clip_pos[i] = position[i]; in do_cliptest()
109 if (!(-0.50 * position[0] + position[3] >= 0)) mask |= (1<<0); in do_cliptest()
110 if (!( 0.50 * position[0] + position[3] >= 0)) mask |= (1<<1); in do_cliptest()
111 if (!(-0.50 * position[1] + position[3] >= 0)) mask |= (1<<2); in do_cliptest()
112 if (!( 0.50 * position[ in do_cliptest()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_tri.c88 // add 1 for XYZW position in lp_setup_alloc_triangle()
266 struct fixed_position *position, in do_triangle_ccw()
307 bbox.x0 = MIN3(position->x[0], position->x[1], position->x[2]) >> FIXED_ORDER; in do_triangle_ccw()
308 bbox.x1 = (MAX3(position->x[0], position->x[1], position->x[2]) - 1) >> FIXED_ORDER; in do_triangle_ccw()
311 bbox.y0 = (MIN3(position->y[0], position in do_triangle_ccw()
265 do_triangle_ccw(struct lp_setup_context *setup, struct fixed_position *position, const float (*v0)[4], const float (*v1)[4], const float (*v2)[4], boolean frontfacing) do_triangle_ccw() argument
991 retry_triangle_ccw(struct lp_setup_context *setup, struct fixed_position *position, const float (*v0)[4], const float (*v1)[4], const float (*v2)[4], boolean front) retry_triangle_ccw() argument
1015 calc_fixed_position(struct lp_setup_context *setup, struct fixed_position* position, const float (*v0)[4], const float (*v1)[4], const float (*v2)[4]) calc_fixed_position() argument
1087 rotate_fixed_position_01(struct fixed_position* position) rotate_fixed_position_01() argument
1109 rotate_fixed_position_12(struct fixed_position* position) rotate_fixed_position_12() argument
1137 alignas(16) struct fixed_position position; triangle_cw() local
1164 alignas(16) struct fixed_position position; triangle_ccw() local
1187 alignas(16) struct fixed_position position; triangle_both() local
[all...]
/third_party/node/deps/brotli/c/enc/
H A Dbackward_references_inc.h11 size_t num_bytes, size_t position, in CreateBackwardReferences()
23 const size_t pos_end = position + num_bytes; in CreateBackwardReferences()
25 position + num_bytes - FN(StoreLookahead)() + 1 : position; in CreateBackwardReferences()
30 size_t apply_random_heuristics = position + random_heuristics_window_size; in CreateBackwardReferences()
40 while (position + FN(HashTypeLength)() < pos_end) { in CreateBackwardReferences()
41 size_t max_length = pos_end - position; in CreateBackwardReferences()
42 size_t max_distance = BROTLI_MIN(size_t, position, max_backward_limit); in CreateBackwardReferences()
44 position + position_offset, max_backward_limit); in CreateBackwardReferences()
51 ringbuffer, ringbuffer_mask, dist_cache, position, max_lengt in CreateBackwardReferences()
10 CreateBackwardReferences( size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, ContextLut literal_context_lut, const BrotliEncoderParams* params, Hasher* hasher, int* dist_cache, size_t* last_insert_len, Command* commands, size_t* num_commands, size_t* num_literals) CreateBackwardReferences() argument
70 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, CreateBackwardReferences() local
[all...]
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dbackward_references_inc.h11 size_t num_bytes, size_t position, in CreateBackwardReferences()
23 const size_t pos_end = position + num_bytes; in CreateBackwardReferences()
25 position + num_bytes - FN(StoreLookahead)() + 1 : position; in CreateBackwardReferences()
30 size_t apply_random_heuristics = position + random_heuristics_window_size; in CreateBackwardReferences()
40 while (position + FN(HashTypeLength)() < pos_end) { in CreateBackwardReferences()
41 size_t max_length = pos_end - position; in CreateBackwardReferences()
42 size_t max_distance = BROTLI_MIN(size_t, position, max_backward_limit); in CreateBackwardReferences()
44 position + position_offset, max_backward_limit); in CreateBackwardReferences()
51 ringbuffer, ringbuffer_mask, dist_cache, position, max_lengt in CreateBackwardReferences()
10 CreateBackwardReferences( size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, ContextLut literal_context_lut, const BrotliEncoderParams* params, Hasher* hasher, int* dist_cache, size_t* last_insert_len, Command* commands, size_t* num_commands, size_t* num_literals) CreateBackwardReferences() argument
70 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, CreateBackwardReferences() local
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbi_cache.cpp67 // Random indexing. Linear search for the boundary following the given position. in following()
175 // the original starting and ending position. And initialize the in populateDictionary()
176 // cache iteration position to the first entry. in populateDictionary()
240 // startPos is in the cache. Do a next() from that position. in following()
261 // if the requested position is between two boundaries. in preceding()
262 // current() pushes the BreakCache position out to the BreakIterator itself. in preceding()
338 UBool RuleBasedBreakIterator::BreakCache::populateNear(int32_t position, UErrorCode &status) { in populateNear() argument
342 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
344 // Add boundaries to the cache near the specified position in populateNear()
532 int32_t position = 0; populatePreceding() local
641 addFollowing(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) addFollowing() argument
663 addPreceding(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) addPreceding() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Drbbi_cache.cpp67 // Random indexing. Linear search for the boundary following the given position. in following()
176 // the original starting and ending position. And initialize the in populateDictionary()
177 // cache iteration position to the first entry. in populateDictionary()
241 // startPos is in the cache. Do a next() from that position. in following()
262 // if the requested position is between two boundaries. in preceding()
263 // current() pushes the BreakCache position out to the BreakIterator itself. in preceding()
339 UBool RuleBasedBreakIterator::BreakCache::populateNear(int32_t position, UErrorCode &status) { in populateNear() argument
343 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
345 // Add boundaries to the cache near the specified position in populateNear()
533 int32_t position = 0; populatePreceding() local
642 addFollowing(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) addFollowing() argument
664 addPreceding(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) addPreceding() argument
[all...]
/third_party/skia/experimental/sktext/editor/
H A DEditor.cpp47 // In order to get that position we look for a position outside of the text in Editor()
61 auto position = fEditableText->adjustedPosition(fDefaultPositionType, fCursor->getCenterPosition()); in update() local
62 //fEditableText->recalculateBoundaries(position); in update()
63 fCursor->place(position.fBoundaries); in update()
73 auto position = fEditableText->adjustedPosition(PositionType::kGraphemeCluster, cursorPosition); in moveCursor() local
76 position = fEditableText->previousElement(position); in moveCursor()
78 position = fEditableText->nextElement(position); in moveCursor()
154 auto position = fEditableText->adjustedPosition(fDefaultPositionType, cursorPosition); deleteElement() local
180 auto position = fEditableText->adjustedPosition(fDefaultPositionType, cursorPosition); insertCodepoint() local
243 auto position = fEditableText->adjustedPosition(fDefaultPositionType, SkPoint::Make(x, y)); onMouse() local
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DWritingPrimitives.cs67 if (buffer.Length - state.position >= length) in WriteFloat()
70 var floatSpan = buffer.Slice(state.position, length); in WriteFloat()
77 state.position += length; in WriteFloat()
170 if (buffer.Length - state.position >= length) in WriteString()
176 buffer[state.position + i] = (byte)value[i]; in WriteString()
178 state.position += length; in WriteString()
192 fixed (byte* destinationBytes = &MemoryMarshal.GetReference(buffer.Slice(state.position))) in WriteString()
197 state.position += bytesUsed; in WriteString()
292 if (value < 128 && state.position < buffer.Length) in WriteRawVarint32()
294 buffer[state.position in WriteRawVarint32()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbi_cache.cpp67 // Random indexing. Linear search for the boundary following the given position. in following()
175 // the original starting and ending position. And initialize the in populateDictionary()
176 // cache iteration position to the first entry. in populateDictionary()
240 // startPos is in the cache. Do a next() from that position. in following()
261 // if the requested position is between two boundaries. in preceding()
262 // current() pushes the BreakCache position out to the BreakIterator itself. in preceding()
338 UBool RuleBasedBreakIterator::BreakCache::populateNear(int32_t position, UErrorCode &status) { in populateNear() argument
342 U_ASSERT(position < fBoundaries[fStartBufIdx] || position > fBoundaries[fEndBufIdx]); in populateNear()
344 // Find a boundary somewhere in the vicinity of the requested position in populateNear()
486 int32_t position = 0; populatePreceding() local
595 addFollowing(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) addFollowing() argument
617 addPreceding(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update) addPreceding() argument
[all...]
/third_party/node/test/parallel/
H A Dtest-priority-queue.js66 }, (node, pos) => (node.position = pos));
68 queue.insert({ value: i, position: null });
72 queue.removeAt(queue.peek().position);
81 }, (node, pos) => (node.position = pos));
83 queue.insert({ value: 1, position: null });
84 queue.insert({ value: 2, position: null });
85 queue.insert({ value: 3, position: null });
86 queue.insert({ value: 4, position: null });
87 queue.insert({ value: 5, position: null });
89 queue.insert({ value: 2, position
[all...]
/third_party/node/deps/undici/src/lib/fetch/
H A DdataURL.js31 // 4. Let position point at the start of input.
32 const position = { position: 0 }
36 // to U+002C (,), given position.
40 position
52 // 7. If position is past the end of input, then
54 if (position.position >= input.length) {
58 // 8. Advance position by 1.
59 position
[all...]
/third_party/pulseaudio/sonic/
H A DSonic.java77 int position, in scaleSamples()
82 int start = position*numChannels; in scaleSamples()
324 int position) in removeInputSamples()
326 int remainingSamples = numInputSamples - position; in removeInputSamples()
328 move(inputBuffer, 0, inputBuffer, position, remainingSamples); in removeInputSamples()
335 int position, in copyToOutput()
339 move(outputBuffer, numOutputSamples, samples, position, numSamples); in copyToOutput()
345 int position) in copyInputToOutput()
352 copyToOutput(inputBuffer, position, numSamples); in copyInputToOutput()
492 int position, in downSampleInput()
75 scaleSamples( short samples[], int position, int numSamples, float volume) scaleSamples() argument
323 removeInputSamples( int position) removeInputSamples() argument
333 copyToOutput( short samples[], int position, int numSamples) copyToOutput() argument
344 copyInputToOutput( int position) copyInputToOutput() argument
490 downSampleInput( short samples[], int position, int skip) downSampleInput() argument
513 findPitchPeriodInRange( short samples[], int position, int minPeriod, int maxPeriod, Integer retMinDiff, Integer retMaxDiff) findPitchPeriodInRange() argument
581 findPitchPeriod( short samples[], int position, boolean preferNewPeriod) findPitchPeriod() argument
805 skipPitchPeriod( short samples[], int position, float speed, int period) skipPitchPeriod() argument
827 insertPitchPeriod( short samples[], int position, float speed, int period) insertPitchPeriod() argument
[all...]
/third_party/spirv-tools/source/
H A Dtext_handler.cpp37 // Advances |text| to the start of the next line and writes the new position to
38 // |position|.
39 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine() argument
41 if (position->index >= text->length) return SPV_END_OF_STREAM; in advanceLine()
42 switch (text->str[position->index]) { in advanceLine()
46 position->column = 0; in advanceLine()
47 position->line++; in advanceLine()
48 position->index++; in advanceLine()
51 position->column++; in advanceLine()
52 position in advanceLine()
63 advance(spv_text text, spv_position position) advance() argument
96 getWord(spv_text text, spv_position position, std::string* word) getWord() argument
144 startsWithOp(spv_text text, spv_position position) startsWithOp() argument
[all...]
/third_party/node/lib/internal/
H A Dmime.js41 let position = SafeStringPrototypeSearch(str, END_BEGINNING_WHITESPACE);
43 const typeEnd = StringPrototypeIndexOf(str, SOLIDUS, position);
45 StringPrototypeSlice(str, position) :
46 StringPrototypeSlice(str, position, typeEnd);
53 position = typeEnd + 1;
56 const subtypeEnd = StringPrototypeIndexOf(str, SEMICOLON, position);
58 StringPrototypeSlice(str, position) :
59 StringPrototypeSlice(str, position, subtypeEnd);
60 position += rawSubtype.length;
63 position
[all...]
/third_party/weex-loader/deps/weex-styler/lib/
H A Dshorthand-parser.js1 function generateDeclaration (property, value, position) {
6 position
13 var position = declaration.position
14 match[1] && result.push(generateDeclaration('transition-property', match[1], position))
15 match[2] && result.push(generateDeclaration('transition-duration', match[2], position))
16 match[3] && result.push(generateDeclaration('transition-timing-function', match[3], position))
17 match[4] && result.push(generateDeclaration('transition-delay', match[4], position))
22 var position = declaration.position
[all...]
/third_party/node/deps/undici/src/lib/cookies/
H A Dparse.js33 const position = { position: 0 }
35 nameValuePair = collectASequenceOfCodePointsFast(';', header, position)
36 unparsedAttributes = header.slice(position.position)
56 const position = { position: 0 }
60 position
62 value = nameValuePair.slice(position.position
[all...]
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestCharset.java110 us.limit(us.position()); in TestUTF16Converter()
111 us.position(0); in TestUTF16Converter()
117 bs1.limit(bs1.position()); in TestUTF16Converter()
118 bs1.position(0); in TestUTF16Converter()
123 bs1.position(0); in TestUTF16Converter()
127 bs2.limit(bs2.position()); in TestUTF16Converter()
128 bs2.position(0); in TestUTF16Converter()
133 bs2.position(0); in TestUTF16Converter()
181 bs1.limit(bs1.position()); in TestUTF32Converter()
182 bs1.position( in TestUTF32Converter()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/
H A Dtext_advance_test.cpp28 ASSERT_EQ(0u, data.position().column); in TEST()
29 ASSERT_EQ(2u, data.position().line); in TEST()
30 ASSERT_EQ(2u, data.position().index); in TEST()
37 ASSERT_EQ(4u, data.position().column); in TEST()
38 ASSERT_EQ(0u, data.position().line); in TEST()
39 ASSERT_EQ(4u, data.position().index); in TEST()
46 ASSERT_EQ(3u, data.position().column); in TEST()
47 ASSERT_EQ(0u, data.position().line); in TEST()
48 ASSERT_EQ(3u, data.position().index); in TEST()
55 ASSERT_EQ(3u, data.position() in TEST()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Dtext_advance_test.cpp28 ASSERT_EQ(0u, data.position().column); in TEST()
29 ASSERT_EQ(2u, data.position().line); in TEST()
30 ASSERT_EQ(2u, data.position().index); in TEST()
37 ASSERT_EQ(4u, data.position().column); in TEST()
38 ASSERT_EQ(0u, data.position().line); in TEST()
39 ASSERT_EQ(4u, data.position().index); in TEST()
46 ASSERT_EQ(3u, data.position().column); in TEST()
47 ASSERT_EQ(0u, data.position().line); in TEST()
48 ASSERT_EQ(3u, data.position().index); in TEST()
55 ASSERT_EQ(3u, data.position() in TEST()
[all...]
/third_party/spirv-tools/test/
H A Dtext_advance_test.cpp28 ASSERT_EQ(0u, data.position().column); in TEST()
29 ASSERT_EQ(2u, data.position().line); in TEST()
30 ASSERT_EQ(2u, data.position().index); in TEST()
37 ASSERT_EQ(4u, data.position().column); in TEST()
38 ASSERT_EQ(0u, data.position().line); in TEST()
39 ASSERT_EQ(4u, data.position().index); in TEST()
46 ASSERT_EQ(3u, data.position().column); in TEST()
47 ASSERT_EQ(0u, data.position().line); in TEST()
48 ASSERT_EQ(3u, data.position().index); in TEST()
55 ASSERT_EQ(3u, data.position() in TEST()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dtext_handler.cpp36 // Advances |text| to the start of the next line and writes the new position to
37 // |position|.
38 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine() argument
40 if (position->index >= text->length) return SPV_END_OF_STREAM; in advanceLine()
41 switch (text->str[position->index]) { in advanceLine()
45 position->column = 0; in advanceLine()
46 position->line++; in advanceLine()
47 position->index++; in advanceLine()
50 position->column++; in advanceLine()
51 position in advanceLine()
62 advance(spv_text text, spv_position position) advance() argument
94 getWord(spv_text text, spv_position position, std::string* word) getWord() argument
142 startsWithOp(spv_text text, spv_position position) startsWithOp() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dtext_handler.cpp36 // Advances |text| to the start of the next line and writes the new position to
37 // |position|.
38 spv_result_t advanceLine(spv_text text, spv_position position) { in advanceLine() argument
40 if (position->index >= text->length) return SPV_END_OF_STREAM; in advanceLine()
41 switch (text->str[position->index]) { in advanceLine()
45 position->column = 0; in advanceLine()
46 position->line++; in advanceLine()
47 position->index++; in advanceLine()
50 position->column++; in advanceLine()
51 position in advanceLine()
62 advance(spv_text text, spv_position position) advance() argument
94 getWord(spv_text text, spv_position position, std::string* word) getWord() argument
142 startsWithOp(spv_text text, spv_position position) startsWithOp() argument
[all...]

Completed in 15 milliseconds

12345678910>>...54