Home
last modified time | relevance | path

Searched +defs:val +defs:attr (Results 1 – 25 of 78) sorted by relevance

1234

/aosp12/hardware/google/gchips/gralloc3/src/
H A Dgralloc_buffer_priv.h136 static inline int gralloc_buffer_attr_write(struct private_handle_t *hnd, buf_attr attr, int *val) in gralloc_buffer_attr_write()
187 static inline int gralloc_buffer_attr_read(struct private_handle_t *hnd, buf_attr attr, int *val) in gralloc_buffer_attr_read()
H A Dmali_gralloc_private_interface.cpp221 …li_gralloc_private_get_attr_param(gralloc1_device_t *device, buffer_handle_t handle, buf_attr attr, in mali_gralloc_private_get_attr_param()
222 int32_t *val, int32_t last_call) in mali_gralloc_private_get_attr_param()
256 …li_gralloc_private_set_attr_param(gralloc1_device_t *device, buffer_handle_t handle, buf_attr attr, in mali_gralloc_private_set_attr_param()
257 int32_t *val, int32_t last_call) in mali_gralloc_private_set_attr_param()
/aosp12/hardware/google/graphics/common/libacryl/
H A Dacrylic_layer.cpp94 bool AcrylicCanvas::setImageBuffer(int a, int r, int g, int b, uint32_t attr) in setImageBuffer()
123 int num_buffers, int fence, uint32_t attr) in setImageBuffer()
180 int num_buffers, uint32_t attr) in setImageBuffer()
232 bool AcrylicCanvas::setImageOTFBuffer(uint32_t attr) in setImageOTFBuffer()
373 …yer::setCompositArea(hwc_rect_t &src_area, hwc_rect_t &out_area, uint32_t transform, uint32_t attr) in setCompositArea()
391 int32_t val = src_area.left | src_area.top | src_area.right | src_area.bottom; in setCompositArea() local
518 uint32_t attr = ATTR_NONE; in importLayer() local
/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DResEntryWriter.cpp50 void Visit(const Attribute* attr) override { in Visit()
53 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->type_mask); in Visit() local
59 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->min_int)); in Visit() local
65 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->max_int)); in Visit() local
70 BinaryPrimitive val(s.type, s.value); in Visit() local
97 BinaryPrimitive val(Res_value{}); in Visit() local
/aosp12/frameworks/base/tests/RollbackTest/lib/src/com/android/tests/rollback/host/
H A DWatchdogEventLogger.java62 private boolean matchProperty(String type, String attr, String expectedVal) throws Exception { in matchProperty()
64 String val = mDevice.getProperty(key); in matchProperty() local
/aosp14/frameworks/base/tests/RollbackTest/lib/src/com/android/tests/rollback/host/
H A DWatchdogEventLogger.java62 private boolean matchProperty(String type, String attr, String expectedVal) throws Exception { in matchProperty()
64 String val = mDevice.getProperty(key); in matchProperty() local
/aosp12/bionic/libc/bionic/
H A Dpthread_mutex.cpp62 int pthread_mutexattr_init(pthread_mutexattr_t *attr) in pthread_mutexattr_init()
68 int pthread_mutexattr_destroy(pthread_mutexattr_t *attr) in pthread_mutexattr_destroy()
74 int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *type_p) in pthread_mutexattr_gettype()
86 int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) in pthread_mutexattr_settype()
98 int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared) in pthread_mutexattr_setpshared()
117 int pthread_mutexattr_getpshared(const pthread_mutexattr_t* attr, int* pshared) { in pthread_mutexattr_getpshared()
122 int pthread_mutexattr_setprotocol(pthread_mutexattr_t* attr, int protocol) { in pthread_mutexattr_setprotocol()
130 int pthread_mutexattr_getprotocol(const pthread_mutexattr_t* attr, int* protocol) { in pthread_mutexattr_getprotocol()
340 #define FIELD_TO_BITS(val,shift,bits) (((val) & ((1 << (bits))-1)) << (shift)) argument
343 #define FIELD_FROM_BITS(val,shift,bits) (((val) >> (shift)) & ((1 << (bits))-1)) argument
[all …]
H A Dpthread_internal.h95 pthread_attr_t attr; variable
211 static inline void __set_tcb_dtv(bionic_tcb* tcb, TlsDtv* val) { in __set_tcb_dtv()
/aosp12/bionic/tests/
H A Dandroid_unsafe_frame_pointer_chase_test.cpp26 __attribute__((weak, noinline)) size_t nop(size_t val) { in nop()
140 pthread_attr_t attr; in TEST() local
/aosp12/system/core/init/
H A Dservice_utils.cpp164 std::string val = std::to_string(fd); in Publish() local
235 Result<void> SetProcessAttributes(const ProcessAttributes& attr) { in SetProcessAttributes()
/aosp12/hardware/qcom/sm7250/display/sdm/libs/core/
H A Ddisplay_pluggable.cpp191 char val[kPropertyMax] = {}; in GetOverrideConfig() local
365 AttrVal attr = current_color_attr_->second; in SetColorMode() local
422 DisplayError DisplayPluggable::GetColorModeAttr(const std::string &color_mode, AttrVal *attr) { in GetColorModeAttr()
/aosp12/frameworks/base/tools/aapt2/
H A DResourceParser_test.cpp330 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
447 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
466 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
481 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
680 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/bar"); in TEST_F() local
878 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
992 BinaryPrimitive* val = test::GetValue<BinaryPrimitive>(&table_, "integer/foo"); in TEST_F() local
1003 BinaryPrimitive* val = test::GetValue<BinaryPrimitive>(&table_, "integer/foo"); in TEST_F() local
1020 Style* val = test::GetValue<Style>(&table_, "configVarying/bag"); in TEST_F() local
/aosp14/frameworks/base/tools/aapt2/
H A DResourceParser_test.cpp330 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
447 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
466 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
481 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
680 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/bar"); in TEST_F() local
878 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo"); in TEST_F() local
994 BinaryPrimitive* val = test::GetValue<BinaryPrimitive>(&table_, "integer/foo"); in TEST_F() local
1005 BinaryPrimitive* val = test::GetValue<BinaryPrimitive>(&table_, "integer/foo"); in TEST_F() local
1022 Style* val = test::GetValue<Style>(&table_, "configVarying/bag"); in TEST_F() local
/aosp12/frameworks/av/media/libstagefright/
H A DOggWriter.cpp40 static inline void writeint(char *buf, int base, int32_t val) { in writeint()
211 pthread_attr_t attr; in start() local
/aosp14/system/core/init/
H A Dservice_utils.cpp165 std::string val = std::to_string(fd); in Publish() local
235 Result<void> SetProcessAttributes(const ProcessAttributes& attr, InterprocessFifo setsid_finished) { in SetProcessAttributes()
/aosp12/hardware/qcom/sm8150/display/sdm/libs/core/
H A Ddisplay_pluggable.cpp218 char val[kPropertyMax] = {}; in GetOverrideConfig() local
405 AttrVal attr = current_color_attr_->second; in SetColorMode() local
456 DisplayError DisplayPluggable::GetColorModeAttr(const std::string &color_mode, AttrVal *attr) { in GetColorModeAttr()
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Difaceeventhandler.cpp253 struct nlattr *attr; in handleResponse() local
278 u32 val; in handleResponse() local
/aosp12/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp841 AString attr(line, offset, end - offset); in parseStreamInf() local
854 AString val(attr, equalPos + 1, attr.size() - equalPos - 1); in parseStreamInf() local
954 AString attr(line, offset, end - offset); in parseCipherInfo() local
967 AString val(attr, equalPos + 1, attr.size() - equalPos - 1); in parseCipherInfo() local
1095 AString attr(line, offset, end - offset); in parseMedia() local
1108 AString val(attr, equalPos + 1, attr.size() - equalPos - 1); in parseMedia() local
/aosp12/frameworks/base/tools/aapt2/format/binary/
H A DTableFlattener.cpp90 void Visit(const Attribute* attr) override { in Visit()
93 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->type_mask); in Visit() local
99 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->min_int)); in Visit() local
105 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->max_int)); in Visit() local
110 BinaryPrimitive val(s.type, s.value); in Visit() local
137 BinaryPrimitive val(Res_value{}); in Visit() local
/aosp12/packages/modules/adb/tls/tests/
H A Dtls_connection_test.cpp196 std::vector<uint8_t> val; member
233 for (auto& attr : issuer) { in GetCAIssuerList() local
552 for (auto& attr : issuer) { in TEST_F() local
/aosp12/frameworks/base/tools/aapt2/format/proto/
H A DProtoDeserialize.cpp750 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(pb_attr.format_flags()); in DeserializeValueFromPb() local
887 android::Res_value val = {}; in DeserializeItemFromPb() local
1032 xml::Attribute attr; in DeserializeXmlFromPb() local
H A DProtoSerialize.cpp567 android::Res_value val = {}; in Visit() local
618 void Visit(const Attribute* attr) override { in Visit()
756 for (const xml::Attribute& attr : el.attributes) { in SerializeXmlToPb() local
/aosp14/frameworks/base/tools/aapt2/format/proto/
H A DProtoDeserialize.cpp756 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(pb_attr.format_flags()); in DeserializeValueFromPb() local
894 android::Res_value val = {}; in DeserializeItemFromPb() local
1042 xml::Attribute attr; in DeserializeXmlFromPb() local
H A DProtoSerialize.cpp578 android::Res_value val = {}; in Visit() local
629 void Visit(const Attribute* attr) override { in Visit()
767 for (const xml::Attribute& attr : el.attributes) { in SerializeXmlToPb() local
/aosp12/frameworks/native/libs/binder/tests/
H A Dschd-dbg.cpp172 bool val = true; in signal() local
177 bool val = false; in wait() local
307 pthread_attr_t attr; in thread_transaction() local

1234