Home
last modified time | relevance | path

Searched refs:asArray (Results 1 – 25 of 67) sorted by relevance

123

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DUnwrapSingleArrayScalarsTest.java193 final int intValue = UNWRAPPING_READER.readValue(asArray(intTest), Integer.TYPE); in testSingleElementScalarArrays()
195 …final Integer integerWrapperValue = UNWRAPPING_READER.readValue(asArray(Integer.valueOf(intTest)),… in testSingleElementScalarArrays()
198 final double doubleValue = UNWRAPPING_READER.readValue(asArray(doubleTest), Double.class); in testSingleElementScalarArrays()
200 …final Double doubleWrapperValue = UNWRAPPING_READER.readValue(asArray(Double.valueOf(doubleTest)),… in testSingleElementScalarArrays()
203 final long longValue = UNWRAPPING_READER.readValue(asArray(longTest), Long.TYPE); in testSingleElementScalarArrays()
205 …final Long longWrapperValue = UNWRAPPING_READER.readValue(asArray(Long.valueOf(longTest)), Long.cl… in testSingleElementScalarArrays()
208 final short shortValue = UNWRAPPING_READER.readValue(asArray(shortTest), Short.TYPE); in testSingleElementScalarArrays()
210 …final Short shortWrapperValue = UNWRAPPING_READER.readValue(asArray(Short.valueOf(shortTest)), Sho… in testSingleElementScalarArrays()
213 final float floatValue = UNWRAPPING_READER.readValue(asArray(floatTest), Float.TYPE); in testSingleElementScalarArrays()
215 …final Float floatWrapperValue = UNWRAPPING_READER.readValue(asArray(Float.valueOf(floatTest)), Flo… in testSingleElementScalarArrays()
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DArrayTypeName.java60 if (TypeName.asArray(componentType) != null) { in emitLeafType()
61 return TypeName.asArray(componentType).emitLeafType(out); in emitLeafType()
72 if (TypeName.asArray(componentType) == null) { in emitBrackets()
77 return TypeName.asArray(componentType) .emitBrackets(out, varargs); in emitBrackets()
DParameterSpec.java57 TypeName.asArray(type).emit(codeWriter, true); in emit()
DTypeName.java379 static ArrayTypeName asArray(TypeName type) {
DMethodSpec.java80 && TypeName.asArray((parameters.get(parameters.size() - 1).type)) != null; in lastParameterIsArray()
/external/libcppbor/tests/
Dcppbor_test.cpp727 EXPECT_EQ(nullptr, item->asArray()); in TEST()
746 EXPECT_EQ(nullptr, item->asArray()); in TEST()
765 EXPECT_EQ(nullptr, item->asArray()); in TEST()
784 EXPECT_EQ(nullptr, item->asArray()); in TEST()
802 EXPECT_EQ(nullptr, item->asArray()); in TEST()
824 EXPECT_EQ(nullptr, item->asArray()); in TEST()
842 EXPECT_NE(nullptr, item->asArray()); in TEST()
846 EXPECT_EQ(0U, item->asArray()->size()); in TEST()
859 EXPECT_EQ(nullptr, item->asArray()); in TEST()
887 EXPECT_EQ(nullptr, item->asArray()); in TEST()
[all …]
/external/libcppbor/src/
Dcppbor.cpp57 const Array* array = compoundItem->asArray(); in cborAreAllElementsNonCompound()
181 const Array* array = item->asArray(); in prettyPrintInternal()
350 return *asArray() == *(other.asArray()); in operator ==()
517 std::for_each(item->asArray()->begin(), item->asArray()->end(), in recursivelyCanonicalize()
/external/parameter-framework/upstream/parameter/
DElementHandle.cpp345 bool ElementHandle::checkGetValidity(bool asArray, string &error) const in checkGetValidity() argument
352 if (asArray != isArray()) { in checkGetValidity()
355 error = "Can not get \"" + getPath() + "\" as " + toStr(asArray) + " because it is " + in checkGetValidity()
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DShape.java114 long[] asArray() { in asArray() method in Shape
DEagerOperationBuilder.java161 setAttrShape(nativeRef.opHandle, name, value.asArray(), value.numDimensions()); in setAttr()
182 for (long dim : shape.asArray()) { in setAttr()
DGraphOperationBuilder.java244 setAttrShape(unsafeNativeHandle, name, value.asArray(), value.numDimensions()); in setAttr()
268 for (long dim : shape.asArray()) { in setAttr()
/external/libcppbor/include/cppbor/
Dcppbor.h133 virtual Array* asArray() { return nullptr; } in asArray() function
134 const Array* asArray() const { return const_cast<Item*>(this)->asArray(); } in asArray() function
628 using Item::asArray;
629 Array* asArray() override { return this; } in asArray() function
808 using Item::asArray;
809 Array* asArray() override { return mTaggedItem->asArray(); } in asArray() function
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DCxxModuleHandler.cpp197 if (!templateArgsAreSupported(foreign_args.asArray())) in tryInstantiateStdTemplate()
228 for (const TemplateArgument &arg : foreign_args.asArray()) { in tryInstantiateStdTemplate()
/external/llvm-project/clang/include/clang/AST/
DDeclTemplate.h131 ArrayRef<NamedDecl*> asArray() { in asArray() function
134 ArrayRef<const NamedDecl*> asArray() const { in asArray() function
169 for (const NamedDecl *P : asArray()) in hasParameterPack()
289 ArrayRef<TemplateArgument> asArray() const { in asArray() function
603 Profile(ID, TemplateArguments->asArray(), getFunction()->getASTContext()); in Profile()
774 return D->getTemplateArgs().asArray(); in getTemplateArgs()
968 return I->TemplateArguments->asArray();
2051 Profile(ID, TemplateArgs->asArray(), getASTContext());
2226 Profile(ID, getTemplateArgs().asArray(), getTemplateParameters(),
2901 Profile(ID, TemplateArgs->asArray(), getASTContext());
[all …]
/external/parameter-framework/upstream/parameter/include/
DElementHandle.h259 bool checkGetValidity(bool asArray, std::string &error) const;
/external/clang/include/clang/AST/
DDeclTemplate.h94 ArrayRef<NamedDecl*> asArray() { in asArray() function
97 ArrayRef<const NamedDecl*> asArray() const { in asArray() function
225 ArrayRef<TemplateArgument> asArray() const { in asArray() function
484 Profile(ID, TemplateArguments->asArray(), in Profile()
651 return D->getTemplateArgs().asArray(); in getTemplateArgs()
833 return I->TemplateArguments->asArray();
1761 Profile(ID, TemplateArgs->asArray(), getASTContext());
2596 Profile(ID, TemplateArgs->asArray(), getASTContext());
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdArraySerializers.java289 … final boolean asArray = provider.isEnabled(SerializationFeature.WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS); in serializeWithType()
291 if (asArray) { in serializeWithType()
/external/llvm-project/clang/lib/AST/
DODRHash.cpp193 for (auto *ND : TPL->asArray()) { in AddTemplateParameterList()
544 for (const TemplateArgument &TA : SpecializationArgs->asArray()) { in AddFunctionDecl()
649 for (const TemplateArgument &TA : List.asArray()) in AddDecl()
DDeclTemplate.cpp103 for (const NamedDecl *P : asArray()) { in getMinRequiredArguments()
923 OS, TemplateArgs.asArray(), Policy, in getNameForDiagnostic()
1274 OS, TemplateArgs.asArray(), Policy, in getNameForDiagnostic()
/external/guava/guava-tests/test/com/google/common/math/
DStatsTest.java135 double mean = Stats.of(values.asArray()).mean(); in testMean()
591 double mean = Stats.meanOf(values.asArray()); in testMeanOf()
681 double[] array = values.asArray(); in testEquivalentStreams()
/external/auto/common/src/main/java/com/google/auto/common/
DSuperficialValidation.java228 TypeMirror componentType = MoreTypes.asArray(expectedType).getComponentType();
/external/clang/lib/AST/
DDeclTemplate.cpp68 for (const NamedDecl *P : asArray()) { in getMinRequiredArguments()
759 OS, TemplateArgs.asArray(), Policy); in getNameForDiagnostic()
1091 OS, TemplateArgs.asArray(), Policy); in getNameForDiagnostic()
/external/guava/android/guava-tests/test/com/google/common/math/
DStatsTest.java125 double mean = Stats.of(values.asArray()).mean(); in testMean()
526 double mean = Stats.meanOf(values.asArray()); in testMeanOf()
/external/llvm-project/clang-tools-extra/clangd/
DAST.cpp270 printTemplateArgumentList(OS, Cls->getTemplateArgs().asArray(), Policy); in printTemplateSpecializationArgs()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DBuilderSpec.java423 TypeMirror componentType = MoreTypes.asArray(parameterType).getComponentType(); in parameterTypeString()

123