Home
last modified time | relevance | path

Searched refs:fieldName (Results 1 – 19 of 19) sorted by relevance

/system/tools/hidl/
DStringType.cpp152 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer()
153 emitJavaFieldDefaultInitialValue(out, "String " + fieldName); in emitJavaFieldInitializer()
166 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
170 out << fieldName in emitJavaFieldReaderWriter()
186 out << "(" << getJavaTypeCast(fieldName) << ").getBytes().length + 1,\n" in emitJavaFieldReaderWriter()
203 << fieldName in emitJavaFieldReaderWriter()
DHandleType.cpp128 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer()
129 const std::string fieldDeclaration = getJavaType(false) + " " + fieldName; in emitJavaFieldInitializer()
146 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
150 out << fieldName in emitJavaFieldReaderWriter()
169 << fieldName in emitJavaFieldReaderWriter()
DMemoryType.cpp63 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer()
64 const std::string fieldDeclaration = getJavaType(false) + " " + fieldName; in emitJavaFieldInitializer()
78 const std::string& fieldName, in emitJavaFieldReaderWriter() argument
84 out << fieldName in emitJavaFieldReaderWriter()
107 << fieldName in emitJavaFieldReaderWriter()
DScalarType.cpp149 void ScalarType::emitJavaFieldInitializer(Formatter& out, const std::string& fieldName) const { in emitJavaFieldInitializer()
151 const std::string fieldDeclaration = typeName + " " + fieldName; in emitJavaFieldInitializer()
285 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
289 out << fieldName in emitJavaFieldReaderWriter()
307 << fieldName in emitJavaFieldReaderWriter()
DVectorType.cpp435 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer()
437 const std::string fieldDeclaration = typeName + " " + fieldName; in emitJavaFieldInitializer()
455 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
460 ? "(" + getJavaTypeCast(fieldName) + ")" in emitJavaFieldReaderWriter()
461 : fieldName; in emitJavaFieldReaderWriter()
480 const std::string &fieldName, in EmitJavaFieldReaderWriterForElementType() argument
514 out << fieldName << ".clear();\n"; in EmitJavaFieldReaderWriterForElementType()
539 out << fieldName in EmitJavaFieldReaderWriterForElementType()
556 << fieldName in EmitJavaFieldReaderWriterForElementType()
592 fieldName + ".get(" + iteratorName + ")", in EmitJavaFieldReaderWriterForElementType()
DVectorType.h79 Formatter &out, const std::string &fieldName) const override;
89 const std::string &fieldName,
99 const std::string &fieldName,
DStringType.h66 Formatter &out, const std::string &fieldName) const override;
76 const std::string &fieldName,
DHandleType.h64 Formatter &out, const std::string &fieldName) const override;
74 const std::string &fieldName,
DMemoryType.h67 Formatter &out, const std::string &fieldName) const override;
77 const std::string& fieldName,
DArrayType.cpp344 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer()
346 const std::string fieldDeclaration = typeName + " " + fieldName; in emitJavaFieldInitializer()
364 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
403 ? "(" + getJavaTypeCast(fieldName) + ")" + indexString in emitJavaFieldReaderWriter()
404 : getJavaTypeCast(fieldName); in emitJavaFieldReaderWriter()
DArrayType.h97 Formatter &out, const std::string &fieldName) const override;
107 const std::string &fieldName,
DEnumType.cpp230 void EnumType::emitJavaFieldInitializer(Formatter& out, const std::string& fieldName) const { in emitJavaFieldInitializer()
231 mStorageType->resolveToScalarType()->emitJavaFieldInitializer(out, fieldName); in emitJavaFieldInitializer()
235 const std::string& fieldName) const { in emitJavaFieldDefaultInitialValue()
236 mStorageType->resolveToScalarType()->emitJavaFieldDefaultInitialValue(out, fieldName); in emitJavaFieldDefaultInitialValue()
264 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
268 out, depth, parcelName, blobName, fieldName, offset, isReader); in emitJavaFieldReaderWriter()
963 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
967 out, depth, parcelName, blobName, fieldName, offset, isReader); in emitJavaFieldReaderWriter()
DCompoundType.h91 Formatter &out, const std::string &fieldName) const override;
101 const std::string &fieldName,
DCompoundType.cpp434 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer()
435 const std::string fieldDeclaration = fullJavaName() + " " + fieldName; in emitJavaFieldInitializer()
452 const std::string &fieldName, in emitJavaFieldReaderWriter() argument
457 << getJavaTypeCast(fieldName) in emitJavaFieldReaderWriter()
469 out << fieldName in emitJavaFieldReaderWriter()
995 static void emitSafeUnionGetterDefinition(Formatter& out, const std::string& fieldName) { in emitSafeUnionGetterDefinition() argument
998 << fieldName in emitSafeUnionGetterDefinition()
1006 << "static_cast<uint64_t>(hidl_discriminator::" << fieldName << "));"; in emitSafeUnionGetterDefinition()
1011 << fieldName in emitSafeUnionGetterDefinition()
1804 const std::string fieldName = (mStyle == STYLE_SAFE_UNION) in emitStructReaderWriter() local
[all …]
DScalarType.h99 const std::string &fieldName,
DEnumType.h97 const std::string &fieldName,
231 const std::string &fieldName,
DType.h241 const std::string &fieldName) const;
252 const std::string &fieldName,
DType.cpp488 const std::string &fieldName) const { in emitJavaFieldInitializer()
491 << fieldName in emitJavaFieldInitializer()
/system/incremental_delivery/libdataloader/
DJNIHelpers.h56 static inline jint GetStaticIntFieldValueOrDie(JNIEnv* env, jclass clazz, const char* fieldName) { in GetStaticIntFieldValueOrDie() argument
57 jfieldID res = env->GetStaticFieldID(clazz, fieldName, "I"); in GetStaticIntFieldValueOrDie()
58 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", fieldName); in GetStaticIntFieldValueOrDie()