Home
last modified time | relevance | path

Searched refs:ArrayIndex (Results 1 – 21 of 21) sorted by relevance

/third_party/jsoncpp/include/json/
Dvalue.h208 using ArrayIndex = Json::ArrayIndex; variable
263 CZString(ArrayIndex index);
273 ArrayIndex index() const;
289 ArrayIndex index_;
418 ArrayIndex size() const;
437 void resize(ArrayIndex newSize);
445 Value& operator[](ArrayIndex index);
453 const Value& operator[](ArrayIndex index) const;
459 Value get(ArrayIndex index, const Value& defaultValue) const;
461 bool isValidIndex(ArrayIndex index) const;
[all …]
Dforwards.h32 using ArrayIndex = unsigned int; variable
/third_party/skia/third_party/externals/tint/src/transform/
Dzero_init_workgroup_memory.cc53 struct ArrayIndex { struct
62 bool operator==(const ArrayIndex& i) const { in operator ==() argument
70 size_t operator()(const ArrayIndex& i) const { in operator ()()
77 using ArrayIndices = utils::UniqueVector<ArrayIndex, ArrayIndex::Hasher>;
106 std::unordered_map<ArrayIndex, Symbol, ArrayIndex::Hasher> array_index_names;
318 array_indices.add(ArrayIndex{modulo, division}); in BuildZeroingStatements()
320 utils::GetOrCreate(array_index_names, ArrayIndex{modulo, division}, in BuildZeroingStatements()
345 std::map<Symbol, ArrayIndex> indices_by_name; in DeclareArrayIndices()
/third_party/jsoncpp/src/lib_json/
Djson_writer.cpp410 ArrayIndex size = value.size(); in writeValue()
411 for (ArrayIndex index = 0; index < size; ++index) { in writeValue()
520 ArrayIndex index = 0; in writeArrayValue()
554 ArrayIndex const size = value.size(); in isMultilineArray()
557 for (ArrayIndex index = 0; index < size && !isMultiLine; ++index) { in isMultilineArray()
566 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray()
567 for (ArrayIndex index = 0; index < size; ++index) { in isMultilineArray()
572 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray()
775 ArrayIndex const size = value.size(); in isMultilineArray()
778 for (ArrayIndex index = 0; index < size && !isMultiLine; ++index) { in isMultilineArray()
[all …]
Djson_value.cpp236 Value::CZString::CZString(ArrayIndex index) : cstr_(nullptr), index_(index) {} in CZString()
326 ArrayIndex Value::CZString::index() const { return index_; } in index()
859 ArrayIndex Value::size() const { in size()
876 return ArrayIndex(value_.map_->size()); in size()
906 void Value::resize(ArrayIndex newSize) { in resize()
911 ArrayIndex oldSize = size(); in resize()
915 for (ArrayIndex i = oldSize; i < newSize; ++i) in resize()
918 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
925 Value& Value::operator[](ArrayIndex index) { in operator []()
945 return (*this)[ArrayIndex(index)]; in operator []()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h261 typedef unsigned int ArrayIndex; typedef
518 typedef Json::ArrayIndex ArrayIndex; typedef
554 CZString(ArrayIndex index);
561 ArrayIndex index() const;
577 ArrayIndex index_;
698 ArrayIndex size() const;
717 void resize(ArrayIndex size);
725 Value& operator[](ArrayIndex index);
738 const Value& operator[](ArrayIndex index) const;
748 Value get(ArrayIndex index, const Value& defaultValue) const;
[all …]
Djson-forwards.h234 typedef unsigned int ArrayIndex; typedef
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h261 typedef unsigned int ArrayIndex; typedef
518 typedef Json::ArrayIndex ArrayIndex; typedef
554 CZString(ArrayIndex index);
561 ArrayIndex index() const;
577 ArrayIndex index_;
698 ArrayIndex size() const;
717 void resize(ArrayIndex size);
725 Value& operator[](ArrayIndex index);
738 const Value& operator[](ArrayIndex index) const;
748 Value get(ArrayIndex index, const Value& defaultValue) const;
[all …]
Djson-forwards.h234 typedef unsigned int ArrayIndex; typedef
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h261 typedef unsigned int ArrayIndex; typedef
518 typedef Json::ArrayIndex ArrayIndex; typedef
554 CZString(ArrayIndex index);
561 ArrayIndex index() const;
577 ArrayIndex index_;
698 ArrayIndex size() const;
717 void resize(ArrayIndex size);
725 Value& operator[](ArrayIndex index);
738 const Value& operator[](ArrayIndex index) const;
748 Value get(ArrayIndex index, const Value& defaultValue) const;
[all …]
Djson-forwards.h234 typedef unsigned int ArrayIndex; typedef
/third_party/protobuf/conformance/third_party/jsoncpp/
Djson.h289 typedef unsigned int ArrayIndex; typedef
561 typedef Json::ArrayIndex ArrayIndex; typedef
597 CZString(ArrayIndex index);
607 ArrayIndex index() const;
623 ArrayIndex index_;
748 ArrayIndex size() const;
767 void resize(ArrayIndex size);
775 Value& operator[](ArrayIndex index);
788 const Value& operator[](ArrayIndex index) const;
798 Value get(ArrayIndex index, const Value& defaultValue) const;
[all …]
Djsoncpp.cpp2632 Value::CZString::CZString(ArrayIndex aindex) : cstr_(0), index_(aindex) {} in CZString()
2698 ArrayIndex Value::CZString::index() const { return index_; } in index()
3265 ArrayIndex Value::size() const { in size()
3282 return ArrayIndex(value_.map_->size()); in size()
3313 void Value::resize(ArrayIndex newSize) { in resize()
3318 ArrayIndex oldSize = size(); in resize()
3324 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
3331 Value& Value::operator[](ArrayIndex index) { in operator []()
3351 return (*this)[ArrayIndex(index)]; in operator []()
3354 const Value& Value::operator[](ArrayIndex index) const { in operator []()
[all …]
/third_party/vk-gl-cts/external/vulkancts/vkscpc/
Dvkscpc.cpp113 for (Json::ArrayIndex i = 0; i < jsonSamplerYcbcrConversions.size(); ++i) in importFilesForExternalCompiler()
126 for (Json::ArrayIndex i = 0; i < jsonSamplers.size(); ++i) in importFilesForExternalCompiler()
139 for (Json::ArrayIndex i = 0; i < jsonDescriptorSetLayouts.size(); ++i) in importFilesForExternalCompiler()
171 for (Json::ArrayIndex i = 0; i < jsonStages.size(); ++i) in importFilesForExternalCompiler()
196 for (Json::ArrayIndex i = 0; i < jsonShaderFileNames.size(); ++i) in importFilesForExternalCompiler()
244 for (Json::ArrayIndex i = 0; i < jsonEnabledExtensions.size(); ++i) in importFilesForExternalCompiler()
253 for (Json::ArrayIndex i = 0; i < jsonPipelineUUID.size(); ++i) in importFilesForExternalCompiler()
/third_party/skia/third_party/externals/angle2/src/common/
Dutilities_unittest.cpp17 TEST(ParseResourceName, ArrayIndex) in TEST() argument
95 TEST(ParseArrayIndex, ArrayIndex) in TEST() argument
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dutilities_unittest.cpp17 TEST(ParseResourceName, ArrayIndex) in TEST() argument
95 TEST(ParseArrayIndex, ArrayIndex) in TEST() argument
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2613 Value::CZString::CZString(ArrayIndex index) : cstr_(0), index_(index) {} in CZString()
2674 ArrayIndex Value::CZString::index() const { return index_; } in index()
3232 ArrayIndex Value::size() const { in size()
3249 return ArrayIndex(value_.map_->size()); in size()
3280 void Value::resize(ArrayIndex newSize) { in resize()
3285 ArrayIndex oldSize = size(); in resize()
3291 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
3298 Value& Value::operator[](ArrayIndex index) { in operator []()
3318 return (*this)[ArrayIndex(index)]; in operator []()
3321 const Value& Value::operator[](ArrayIndex index) const { in operator []()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2613 Value::CZString::CZString(ArrayIndex index) : cstr_(0), index_(index) {} in CZString()
2674 ArrayIndex Value::CZString::index() const { return index_; } in index()
3232 ArrayIndex Value::size() const { in size()
3249 return ArrayIndex(value_.map_->size()); in size()
3280 void Value::resize(ArrayIndex newSize) { in resize()
3285 ArrayIndex oldSize = size(); in resize()
3291 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
3298 Value& Value::operator[](ArrayIndex index) { in operator []()
3318 return (*this)[ArrayIndex(index)]; in operator []()
3321 const Value& Value::operator[](ArrayIndex index) const { in operator []()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2613 Value::CZString::CZString(ArrayIndex index) : cstr_(0), index_(index) {} in CZString()
2674 ArrayIndex Value::CZString::index() const { return index_; } in index()
3232 ArrayIndex Value::size() const { in size()
3249 return ArrayIndex(value_.map_->size()); in size()
3280 void Value::resize(ArrayIndex newSize) { in resize()
3285 ArrayIndex oldSize = size(); in resize()
3291 for (ArrayIndex index = newSize; index < oldSize; ++index) { in resize()
3298 Value& Value::operator[](ArrayIndex index) { in operator []()
3318 return (*this)[ArrayIndex(index)]; in operator []()
3321 const Value& Value::operator[](ArrayIndex index) const { in operator []()
[all …]
/third_party/jsoncpp/src/jsontestrunner/
Dmain.cpp102 Json::ArrayIndex size = value.size(); in printValueTree()
103 for (Json::ArrayIndex index = 0; index < size; ++index) { in printValueTree()
/third_party/jsoncpp/src/test_lib_json/
Dmain.cpp329 for (Json::ArrayIndex i = 0; i < 10; i++) in JSONTEST_FIXTURE_LOCAL()
345 for (Json::ArrayIndex i = 0; i < 10; i++) in JSONTEST_FIXTURE_LOCAL()
354 Json::ArrayIndex n = 10; in JSONTEST_FIXTURE_LOCAL()
365 for (Json::ArrayIndex i = 0; i < 5; i++) in JSONTEST_FIXTURE_LOCAL()
370 Json::ArrayIndex index = 0; in JSONTEST_FIXTURE_LOCAL()
403 for (Json::ArrayIndex i = 0; i < 3; i++) { in JSONTEST_FIXTURE_LOCAL()
417 for (Json::ArrayIndex i = 0; i < 3; i++) { in JSONTEST_FIXTURE_LOCAL()
429 for (Json::ArrayIndex i = 0; i < 4; i++) { in JSONTEST_FIXTURE_LOCAL()
442 for (Json::ArrayIndex i = 0; i < 5; i++) { in JSONTEST_FIXTURE_LOCAL()
2298 for (Json::ArrayIndex i = 0; i < 21; i++) in JSONTEST_FIXTURE_LOCAL()
[all …]