/system/chre/util/include/chre/util/ |
optional.h | 28 template<typename ObjectType> 33 static_assert(!std::is_reference<ObjectType>::value, 46 Optional(const ObjectType& object); 53 Optional(ObjectType&& object); 71 ObjectType& value(); 72 const ObjectType& value() const; 81 Optional<ObjectType>& operator=(ObjectType&& other); 91 Optional<ObjectType>& operator=(Optional<ObjectType>&& other) [all...] |
optional_impl.h | 27 template<typename ObjectType> 28 Optional<ObjectType>::Optional(const ObjectType& object) { 29 new (objectAddr()) ObjectType(object); 33 template<typename ObjectType> 34 Optional<ObjectType>::Optional(ObjectType&& object) { 35 new (objectAddr()) ObjectType(std::move(object)); 39 template<typename ObjectType> 40 bool Optional<ObjectType>::has_value() const [all...] |
singleton_impl.h | 27 template<typename ObjectType> 28 typename std::aligned_storage<sizeof(ObjectType), alignof(ObjectType)>::type 29 Singleton<ObjectType>::sObject; 31 template<typename ObjectType> 32 bool Singleton<ObjectType>::sIsInitialized = false; 34 template<typename ObjectType> 36 void Singleton<ObjectType>::init(Args&&... args) { 39 new (get()) ObjectType(std::forward<Args>(args)...); 43 template<typename ObjectType> [all...] |
unique_ptr_impl.h | 31 template<typename ObjectType> 32 UniquePtr<ObjectType>::UniquePtr() : mObject(nullptr) {} 34 template<typename ObjectType> 35 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {} 37 template<typename ObjectType> 38 UniquePtr<ObjectType>::UniquePtr(UniquePtr<ObjectType>&& other) { 43 template<typename ObjectType> 45 UniquePtr<ObjectType>::UniquePtr(UniquePtr<OtherObjectType>&& other) [all...] |
unique_ptr.h | 31 template<typename ObjectType> 47 UniquePtr(ObjectType *object); 54 UniquePtr(UniquePtr<ObjectType>&& other); 82 ObjectType *get() const; 92 ObjectType *release(); 102 void reset(ObjectType *object); 107 ObjectType *operator->() const; 112 ObjectType& operator*() const; 118 ObjectType& operator[](size_t index) const; 127 UniquePtr<ObjectType>& operator=(UniquePtr<ObjectType>&& other) [all...] |
singleton.h | 36 template<typename ObjectType> 70 static ObjectType *get(); 80 static ObjectType *safeGet(); 85 sizeof(ObjectType), alignof(ObjectType)>::type sObject;
|
/external/swiftshader/src/OpenGL/common/ |
Object.hpp | 69 template<class ObjectType> 75 BindingPointer(const BindingPointer<ObjectType> &other) : object(nullptr) 85 ObjectType *operator=(ObjectType *newObject) 95 ObjectType *operator=(const BindingPointer<ObjectType> &other) 100 operator ObjectType*() const { return object; } 101 ObjectType *operator->() const { return object; } 106 ObjectType *object;
|
NameSpace.hpp | 29 template<class ObjectType, GLuint baseName = 1> 57 GLuint allocate(ObjectType *object = nullptr) 77 void insert(GLuint name, ObjectType *object) 87 ObjectType *remove(GLuint name) 93 ObjectType *object = element->second; 107 ObjectType *find(GLuint name) const 120 typedef std::map<GLuint, ObjectType*> Map;
|
/external/pdfium/core/fpdfapi/parser/ |
cpdf_parser_unittest.cpp | 97 const CPDF_TestParser::ObjectType types[] = { 98 CPDF_TestParser::ObjectType::kFree, 99 CPDF_TestParser::ObjectType::kNotCompressed, 100 CPDF_TestParser::ObjectType::kNotCompressed, 101 CPDF_TestParser::ObjectType::kFree, 102 CPDF_TestParser::ObjectType::kNotCompressed, 103 CPDF_TestParser::ObjectType::kNotCompressed}; 129 const CPDF_TestParser::ObjectType types[] = { 130 CPDF_TestParser::ObjectType::kFree, 131 CPDF_TestParser::ObjectType::kFree [all...] |
cpdf_parser.cpp | 149 CPDF_Parser::ObjectType CPDF_Parser::GetObjectType(uint32_t objnum) const { 152 return it != m_ObjectInfo.end() ? it->second.type : ObjectType::kFree; 163 case ObjectType::kFree: 164 case ObjectType::kNull: 166 case ObjectType::kNotCompressed: 167 case ObjectType::kCompressed: 175 return GetObjectType(objnum) == ObjectType::kFree; 368 if (GetObjectType(objnum) == ObjectType::kNotCompressed) 371 if (GetObjectType(objnum) == ObjectType::kCompressed) { 576 info.type = ObjectType::kFree [all...] |
cpdf_parser.h | 110 enum class ObjectType : uint8_t { 118 ObjectInfo() : pos(0), type(ObjectType::kFree), gennum(0) {} 119 // if type is ObjectType::kCompressed the archive_obj_num should be used. 120 // if type is ObjectType::kNotCompressed the pos should be used. 126 ObjectType type; 202 ObjectType GetObjectType(uint32_t objnum) const; 203 ObjectType GetObjectTypeFromCrossRefStreamType(
|
/art/compiler/optimizing/ |
reference_type_propagation_test.cc | 59 ReferenceTypeInfo ObjectType(bool is_exact = true) REQUIRES_SHARED(Locks::mutator_lock_) { 84 EXPECT_TRUE(graph_->GetInexactObjectRti().IsEqual(ObjectType(false))); 99 ReferenceTypeInfo t2(MergeTypes(InvalidType(), ObjectType())); 102 EXPECT_TRUE(t2.IsEqual(ObjectType())); 109 ReferenceTypeInfo t4(MergeTypes(ObjectType(), InvalidType())); 112 EXPECT_TRUE(t4.IsEqual(ObjectType())); 125 ReferenceTypeInfo t1(MergeTypes(ObjectType(), ObjectType())); 128 EXPECT_TRUE(t1.IsEqual(ObjectType())); 135 ReferenceTypeInfo t3(MergeTypes(ObjectType(), StringType())) [all...] |
/system/update_engine/common/ |
action_pipe.h | 54 template<typename ObjectType> 61 const ObjectType& contents() const { return contents_; } 65 void set_contents(const ObjectType& contents) { contents_ = contents; } 72 std::shared_ptr<ActionPipe<ObjectType>> pipe(new ActionPipe<ObjectType>); 81 ObjectType contents_;
|
/frameworks/native/vulkan/libvulkan/ |
debug_report.h | 30 VKAPI_ATTR void DebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage); 103 template <typename ObjectType> 104 void Info(ObjectType object, const char* format, ...) const 113 template <typename ObjectType> 114 void Warn(ObjectType object, const char* format, ...) const 123 template <typename ObjectType> 124 void Err(ObjectType object, const char* format, ...) const 134 template <typename ObjectType> 135 static VkDebugReportObjectTypeEXT GetObjectType(ObjectType) { 136 if (std::is_same<ObjectType, VkInstance>::value [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
ObjectType.java | 32 public class ObjectType extends VerificationType 39 * Creates an uninitialized ObjectType. 41 public ObjectType() 47 * Creates an ObjectType that points to the given class constant. 49 public ObjectType(int u2classIndex) 90 ObjectType other = (ObjectType)object;
|
VerificationTypeFactory.java | 106 * Creates a new ObjectType of the given type. 108 public static ObjectType createObjectType(int classIndex) 110 return new ObjectType(classIndex);
|
/external/libcxx/test/libcxx/utilities/function.objects/func.require/ |
bullet_4_5_6.pass.cpp | 53 template <class ObjectType> 60 typedef TestMemberObject<ObjectType> TestType; 76 typedef ObjectType (TestType::*MemPtr); 77 typedef ObjectType E; 91 typedef ObjectType const (TestType::*CMemPtr); 92 typedef ObjectType const E; 106 typedef ObjectType volatile (TestType::*VMemPtr); 107 typedef ObjectType volatile E; 121 typedef ObjectType const volatile (TestType::*CVMemPtr); 122 typedef ObjectType const volatile E [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/function.objects/func.require/ |
bullet_4_5_6.pass.cpp | 53 template <class ObjectType> 60 typedef TestMemberObject<ObjectType> TestType; 76 typedef ObjectType (TestType::*MemPtr); 77 typedef ObjectType E; 91 typedef ObjectType const (TestType::*CMemPtr); 92 typedef ObjectType const E; 106 typedef ObjectType volatile (TestType::*VMemPtr); 107 typedef ObjectType volatile E; 121 typedef ObjectType const volatile (TestType::*CVMemPtr); 122 typedef ObjectType const volatile E [all...] |
/external/javassist/src/main/javassist/bytecode/ |
SignatureAttribute.java | 230 ObjectType[] exceptions; 232 MethodSignature(TypeParameter[] tp, Type[] p, Type ret, ObjectType[] ex) { 264 public ObjectType[] getExceptionTypes() { return exceptions; } 291 ObjectType superClass; 292 ObjectType[] superInterfaces; 294 TypeParameter(String sig, int nb, int ne, ObjectType sc, ObjectType[] si) { 312 public ObjectType getClassBound() { return superClass; } 319 public ObjectType[] getInterfaceBound() { return superInterfaces; } 361 ObjectType arg [all...] |
/external/deqp/framework/opengl/ |
gluObjectWrapper.hpp | 41 enum ObjectType 62 const ObjectTraits& objectTraits (ObjectType type); 87 template<ObjectType Type> class TypedObjectWrapper : public ObjectWrapper 123 template<ObjectType Type> class TypedObjectVector : public ObjectVector
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
aclapi.h | 58 WINADVAPI DWORD WINAPI GetNamedSecurityInfoA (LPCSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID *ppsidOwner, PSID *ppsidGroup, PACL *ppDacl, PACL *ppSacl, PSECURITY_DESCRIPTOR *ppSecurityDescriptor); 59 WINADVAPI DWORD WINAPI GetNamedSecurityInfoW (LPCWSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID *ppsidOwner, PSID *ppsidGroup, PACL *ppDacl, PACL *ppSacl, PSECURITY_DESCRIPTOR *ppSecurityDescriptor); 60 WINADVAPI DWORD WINAPI GetSecurityInfo (HANDLE handle, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID *ppsidOwner, PSID *ppsidGroup, PACL *ppDacl, PACL *ppSacl, PSECURITY_DESCRIPTOR *ppSecurityDescriptor); 61 WINADVAPI DWORD WINAPI SetNamedSecurityInfoA (LPSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID psidOwner, PSID psidGroup, PACL pDacl, PACL pSacl); 62 WINADVAPI DWORD WINAPI SetNamedSecurityInfoW (LPWSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID psidOwner, PSID psidGroup, PACL pDacl, PACL pSacl); 63 WINADVAPI DWORD WINAPI SetSecurityInfo (HANDLE handle, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID psidOwner, PSID psidGroup, PACL pDacl, PACL pSacl); 64 WINADVAPI DWORD WINAPI GetInheritanceSourceA (LPSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, WINBOOL Container, GUID **pObjectClassGuids, DWORD GuidCount, PACL pAcl, PFN_OBJECT_MGR_FUNCTS pfnArray, PGENERIC_MAPPING pGenericMapping, PINHERITED_FROMA pInheritArray); 65 WINADVAPI DWORD WINAPI GetInheritanceSourceW (LPWSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, WINBOOL Container, GUID **pObjectClassGuids, DWORD GuidCount, PACL pAcl, PFN_OBJECT_MGR_FUNCTS pfnArray, PGENERIC_MAPPING pGenericMapping, PINHERITED_FROMW pInheritArray); 67 WINADVAPI DWORD WINAPI TreeResetNamedSecurityInfoA (LPSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID pOwner, PSID pGroup, PACL pDacl, PACL pSacl, WINBOOL KeepExplicit, FN_PROGRESS fnProgress, PROG_INVOKE_SETTING ProgressInvokeSetting, PVOID Args); 68 WINADVAPI DWORD WINAPI TreeResetNamedSecurityInfoW (LPWSTR pObjectName, SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo, PSID pOwner, PSID pGroup, PACL pDacl, PACL pSacl, WINBOOL Keep (…) [all...] |
/external/deqp/modules/egl/ |
teglMemoryStressTests.cpp | 60 enum ObjectType 72 MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use); 94 ObjectType m_types; 105 MemoryAllocator::MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use) 142 vector<ObjectType> types; 159 ObjectType type = m_rnd.choose<ObjectType>(types.begin(), types.end()); 319 ObjectType types; 590 spec.types = (ObjectType)(OBJECTTYPE_PBUFFER|OBJECTTYPE_CONTEXT); 604 spec.types = (ObjectType)(OBJECTTYPE_PBUFFER|OBJECTTYPE_CONTEXT) [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_type_hash_itanium.cc | 252 const abi::__class_type_info *ObjectType = findBaseAtOffset( 256 ObjectType ? ObjectType->__type_name : "<unknown>");
|
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
VerificationTypeVisitor.java | 41 public void visitObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType objectType); 51 public void visitStackObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType); 61 public void visitVariablesObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType);
|
/external/llvm/include/llvm/CodeGen/ |
MIRYamlMapping.h | 186 enum ObjectType { DefaultType, SpillSlot, VariableSized }; 190 ObjectType Type = DefaultType; 201 template <> struct ScalarEnumerationTraits<MachineStackObject::ObjectType> { 202 static void enumeration(yaml::IO &IO, MachineStackObject::ObjectType &Type) { 238 enum ObjectType { DefaultType, SpillSlot }; 240 ObjectType Type = DefaultType; 250 struct ScalarEnumerationTraits<FixedMachineStackObject::ObjectType> { 252 FixedMachineStackObject::ObjectType &Type) {
|