Home
last modified time | relevance | path

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

123

/external/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
/external/webrtc/rtc_base/strings/
Djson_unittest.cc191 for (Json::Value::ArrayIndex i = 0; i < in.size(); ++i) { in TEST()
198 for (Json::Value::ArrayIndex i = 0; i < in.size(); i++) { in TEST()
207 for (Json::Value::ArrayIndex i = 0; i < in.size(); ++i) { in TEST()
214 for (Json::Value::ArrayIndex i = 0; i < in.size(); i++) { in TEST()
223 for (Json::Value::ArrayIndex i = 0; i < in.size(); ++i) { in TEST()
230 for (Json::Value::ArrayIndex i = 0; i < in.size(); i++) { in TEST()
239 for (Json::Value::ArrayIndex i = 0; i < in.size(); ++i) { in TEST()
246 for (Json::Value::ArrayIndex i = 0; i < in.size(); i++) { in TEST()
255 for (Json::Value::ArrayIndex i = 0; i < in.size(); ++i) { in TEST()
262 for (Json::Value::ArrayIndex i = 0; i < in.size(); i++) { in TEST()
[all …]
/external/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 …]
/external/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 …]
/external/shaderc/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 …]
/external/angle/third_party/spirv-headers/src/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 …]
/external/deqp-deps/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 …]
/external/gmmlib/Source/GmmLib/Resource/
DGmmResourceInfo.cpp790 …ESOURCE_MMC_INFO GMM_STDCALL GmmResGetMmcMode(GMM_RESOURCE_INFO *pGmmResource, uint32_t ArrayIndex) in GmmResGetMmcMode() argument
793 return pGmmResource->GetMmcMode(ArrayIndex); in GmmResGetMmcMode()
804 … GmmResSetMmcMode(GMM_RESOURCE_INFO *pGmmResource, GMM_RESOURCE_MMC_INFO Mode, uint32_t ArrayIndex) in GmmResSetMmcMode() argument
807 pGmmResource->SetMmcMode(Mode, ArrayIndex); in GmmResSetMmcMode()
818 …8_t GMM_STDCALL GmmResIsMediaMemoryCompressed(GMM_RESOURCE_INFO *pGmmResource, uint32_t ArrayIndex) in GmmResIsMediaMemoryCompressed() argument
820 return pGmmResource->IsMediaMemoryCompressed(ArrayIndex); in GmmResIsMediaMemoryCompressed()
831 …ESOURCE_MMC_HINT GMM_STDCALL GmmResGetMmcHint(GMM_RESOURCE_INFO *pGmmResource, uint32_t ArrayIndex) in GmmResGetMmcHint() argument
834 return pGmmResource->GetMmcHint(ArrayIndex); in GmmResGetMmcHint()
846 … GmmResSetMmcHint(GMM_RESOURCE_INFO *pGmmResource, GMM_RESOURCE_MMC_HINT Hint, uint32_t ArrayIndex) in GmmResSetMmcHint() argument
849 pGmmResource->SetMmcHint(Hint, ArrayIndex); in GmmResSetMmcHint()
[all …]
/external/gmmlib/Source/GmmLib/Texture/
DGmmGen10Texture.cpp148 uint32_t ArrayIndex = 0; in GetMipTailGeometryOffset() local
163 ArrayIndex = 0; in GetMipTailGeometryOffset()
166 ArrayIndex = 1; in GetMipTailGeometryOffset()
169 ArrayIndex = 2; in GetMipTailGeometryOffset()
172 ArrayIndex = 3; in GetMipTailGeometryOffset()
175 ArrayIndex = 4; in GetMipTailGeometryOffset()
187 *OffsetX = Gen10MipTailSlotOffset1DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
188 *OffsetY = Gen10MipTailSlotOffset1DSurface[Slot][ArrayIndex].Y; in GetMipTailGeometryOffset()
189 *OffsetZ = Gen10MipTailSlotOffset1DSurface[Slot][ArrayIndex].Z; in GetMipTailGeometryOffset()
209 *OffsetX = Gen10MipTailSlotOffset2DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
[all …]
DGmmGen11Texture.cpp538 uint32_t ArrayIndex = 0; in GetMipTailGeometryOffset() local
546 ArrayIndex = 0; in GetMipTailGeometryOffset()
549 ArrayIndex = 1; in GetMipTailGeometryOffset()
552 ArrayIndex = 2; in GetMipTailGeometryOffset()
555 ArrayIndex = 3; in GetMipTailGeometryOffset()
558 ArrayIndex = 4; in GetMipTailGeometryOffset()
569 *OffsetX = Gen11MipTailSlotOffset1DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
570 *OffsetY = Gen11MipTailSlotOffset1DSurface[Slot][ArrayIndex].Y; in GetMipTailGeometryOffset()
571 *OffsetZ = Gen11MipTailSlotOffset1DSurface[Slot][ArrayIndex].Z; in GetMipTailGeometryOffset()
591 *OffsetX = Gen11MipTailSlotOffset2DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
[all …]
DGmmGen9Texture.cpp1087 uint32_t ArrayIndex = 0; in GetMipTailGeometryOffset() local
1095 ArrayIndex = 0; in GetMipTailGeometryOffset()
1098 ArrayIndex = 1; in GetMipTailGeometryOffset()
1101 ArrayIndex = 2; in GetMipTailGeometryOffset()
1104 ArrayIndex = 3; in GetMipTailGeometryOffset()
1107 ArrayIndex = 4; in GetMipTailGeometryOffset()
1119 *OffsetX = Gen9MipTailSlotOffset1DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
1120 *OffsetY = Gen9MipTailSlotOffset1DSurface[Slot][ArrayIndex].Y; in GetMipTailGeometryOffset()
1121 *OffsetZ = Gen9MipTailSlotOffset1DSurface[Slot][ArrayIndex].Z; in GetMipTailGeometryOffset()
1137 *OffsetX = Gen9MipTailSlotOffset2DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
[all …]
DGmmGen12Texture.cpp1336 uint32_t ArrayIndex = 0; in GetMipTailGeometryOffset() local
1354 ArrayIndex = 0; in GetMipTailGeometryOffset()
1357 ArrayIndex = 1; in GetMipTailGeometryOffset()
1360 ArrayIndex = 2; in GetMipTailGeometryOffset()
1363 ArrayIndex = 3; in GetMipTailGeometryOffset()
1366 ArrayIndex = 4; in GetMipTailGeometryOffset()
1379 *OffsetX = MipTailSlotOffset1DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
1380 *OffsetY = MipTailSlotOffset1DSurface[Slot][ArrayIndex].Y; in GetMipTailGeometryOffset()
1381 *OffsetZ = MipTailSlotOffset1DSurface[Slot][ArrayIndex].Z; in GetMipTailGeometryOffset()
1388 *OffsetX = MipTailSlotOffset2DSurface[Slot][ArrayIndex].X * pTexInfo->BitsPerPixel / 8; in GetMipTailGeometryOffset()
[all …]
DGmmTextureOffset.cpp150 (pReqInfo->ArrayIndex * ((pTexInfo->Type == RESOURCE_CUBE) ? 6 : 1)); in GetTexStdLayoutOffset()
649 __GMM_ASSERT(!pReqInfo->ArrayIndex || (pReqInfo->ArrayIndex < pTexInfo->ArraySize)); in GetMipMapByteAddress()
651 MipMapByteAddress += (ArrayQPitch * pReqInfo->ArrayIndex); in GetMipMapByteAddress()
662 (!pReqInfo->ArrayIndex || (pReqInfo->ArrayIndex < pTexInfo->ArraySize)) && in GetMipMapByteAddress()
671 MipMapByteAddress += (ArrayQPitch * ((6 * pReqInfo->ArrayIndex) + CubeFace)); in GetMipMapByteAddress()
679 if(pReqInfo->ArrayIndex) in GetMipMapByteAddress()
681 MipMapByteAddress += (ArrayQPitch * pReqInfo->ArrayIndex); in GetMipMapByteAddress()
DGmmXe_LPGTexture.cpp1130 __GMM_ASSERT(!pReqInfo->ArrayIndex || (pReqInfo->ArrayIndex < pTexInfo->ArraySize)); in GetMipMapByteAddress()
1132 MipMapByteAddress += (ArrayQPitch * pReqInfo->ArrayIndex); in GetMipMapByteAddress()
1143 (!pReqInfo->ArrayIndex || (pReqInfo->ArrayIndex < pTexInfo->ArraySize)) && in GetMipMapByteAddress()
1152 MipMapByteAddress += (ArrayQPitch * ((6 * pReqInfo->ArrayIndex) + CubeFace)); in GetMipMapByteAddress()
1160 if(pReqInfo->ArrayIndex) in GetMipMapByteAddress()
1162 MipMapByteAddress += (ArrayQPitch * pReqInfo->ArrayIndex); in GetMipMapByteAddress()
/external/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 …]
/external/cronet/tot/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 …]
/external/cronet/stable/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 …]
/external/gmmlib/Source/GmmLib/inc/External/Common/
DGmmResourceInfoCommon.h701 …NLINE_VIRTUAL GMM_INLINE_EXPORTED GMM_RESOURCE_MMC_INFO GMM_STDCALL GetMmcMode(uint32_t ArrayIndex) in GetMmcMode() argument
703 __GMM_ASSERT(ArrayIndex < GMM_MAX_MMC_INDEX); in GetMmcMode()
706 (ArrayIndex < GMM_MAX_MMC_INDEX) ? in GetMmcMode()
707 (GMM_RESOURCE_MMC_INFO)Surf.MmcMode[ArrayIndex] : in GetMmcMode()
716 …AL GMM_INLINE_EXPORTED void GMM_STDCALL SetMmcMode(GMM_RESOURCE_MMC_INFO Mode, uint32_t ArrayIndex) in SetMmcMode() argument
720 __GMM_ASSERT(ArrayIndex < GMM_MAX_MMC_INDEX); in SetMmcMode()
722 if (ArrayIndex < GMM_MAX_MMC_INDEX) in SetMmcMode()
724 Surf.MmcMode[ArrayIndex] = static_cast<uint8_t>(Mode); in SetMmcMode()
733 …INLINE_VIRTUAL GMM_INLINE_EXPORTED uint8_t GMM_STDCALL IsMediaMemoryCompressed(uint32_t ArrayIndex) in IsMediaMemoryCompressed() argument
735 __GMM_ASSERT(ArrayIndex < GMM_MAX_MMC_INDEX); in IsMediaMemoryCompressed()
[all …]
DGmmResourceInfoExt.h637 …SOURCE_MMC_INFO GMM_STDCALL GmmResGetMmcMode(GMM_RESOURCE_INFO *pGmmResource, uint32_t ArrayIndex);
675 … GMM_STDCALL GmmResIsMediaMemoryCompressed(GMM_RESOURCE_INFO *pGmmResource, uint32_t ArrayIndex);
678 …GmmResSetMmcMode(GMM_RESOURCE_INFO *pGmmResource, GMM_RESOURCE_MMC_INFO Mode, uint32_t ArrayIndex);
679 …GmmResSetMmcHint(GMM_RESOURCE_INFO *pGmmResource, GMM_RESOURCE_MMC_HINT Hint, uint32_t ArrayIndex);
680 …OURCE_MMC_HINT GMM_STDCALL GmmResGetMmcHint(GMM_RESOURCE_INFO *pGmmResource, uint32_t ArrayIndex);
691 …ALL GmmResGetPlanarAuxOffset(GMM_RESOURCE_INFO *pGmmResource, uint32_t ArrayIndex, GMM_UNIFIED_AUX…
/external/deqp/external/vulkancts/vkscpc/
Dvkscpc.cpp115 for (Json::ArrayIndex i = 0; i < jsonSamplerYcbcrConversions.size(); ++i) in importFilesForExternalCompiler()
130 for (Json::ArrayIndex i = 0; i < jsonSamplers.size(); ++i) in importFilesForExternalCompiler()
144 for (Json::ArrayIndex i = 0; i < jsonDescriptorSetLayouts.size(); ++i) in importFilesForExternalCompiler()
182 for (Json::ArrayIndex i = 0; i < jsonStages.size(); ++i) in importFilesForExternalCompiler()
213 for (Json::ArrayIndex i = 0; i < jsonShaderFileNames.size(); ++i) in importFilesForExternalCompiler()
268 for (Json::ArrayIndex i = 0; i < jsonEnabledExtensions.size(); ++i) in importFilesForExternalCompiler()
277 for (Json::ArrayIndex i = 0; i < jsonPipelineUUID.size(); ++i) in importFilesForExternalCompiler()
/external/angle/src/common/
Dutilities_unittest.cpp17 TEST(ParseResourceName, ArrayIndex) in TEST() argument
107 TEST(ParseArrayIndex, ArrayIndex) in TEST() argument
/external/openscreen/cast/common/channel/
Dconnection_namespace_handler.cc36 using ArrayIndex = Json::Value::ArrayIndex; in FindMaxProtocolVersion() typedef
37 static_assert(std::is_integral<ArrayIndex>::value, in FindMaxProtocolVersion()
/external/gmmlib/Source/GmmLib/ULT/
DGmmGen9ResourceULT.cpp1463 ReqInfo.ArrayIndex = i; in TEST_F()
1477 ReqInfo.ArrayIndex = i; in TEST_F()
1494 ReqInfo.ArrayIndex = i; in TEST_F()
1510 ReqInfo.ArrayIndex = i; in TEST_F()
1527 ReqInfo.ArrayIndex = i; in TEST_F()
1630 ReqInfo.ArrayIndex = i; in TEST_F()
1644 ReqInfo.ArrayIndex = i; in TEST_F()
1661 ReqInfo.ArrayIndex = i; in TEST_F()
1677 ReqInfo.ArrayIndex = i; in TEST_F()
1694 ReqInfo.ArrayIndex = i; in TEST_F()
[all …]

123