Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 22 of 22) sorted by relevance

/device/linaro/poplar/wifi/wifi_hal/
Dcpp_bindings.h76 nlattr *get_attribute(int attribute) { in get_attribute() argument
77 return mAttributes[attribute]; in get_attribute()
80 uint8_t get_u8(int attribute) { in get_u8() argument
81 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
84 uint16_t get_u16(int attribute) { in get_u16() argument
85 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
88 uint32_t get_u32(int attribute) { in get_u32() argument
89 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
92 uint64_t get_u64(int attribute) { in get_u64() argument
93 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
[all …]
Dcpp_bindings.cpp165 const char *attributeToString(int attribute) in attributeToString() argument
167 switch (attribute) { in attributeToString()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlinkmessage.cpp83 const uint8_t* attribute = mData.data() + attrOffset; in findAttribute() local
84 while (attribute < end) { in findAttribute()
85 auto header = reinterpret_cast<const nlattr*>(attribute); in findAttribute()
93 *value = attribute + NLA_HDRLEN; in findAttribute()
97 attribute += header->nla_len; in findAttribute()
/device/generic/goldfish/network/wifi_forwarder/
Dnetlink_message.h37 bool addAttribute(int attribute, const T& value) { in addAttribute() argument
38 return nla_put(mMessage, attribute, sizeof(T), &value) == 0; in addAttribute()
42 bool addAttribute(int attribute, T data, size_t numElements) { in addAttribute() argument
44 attribute, in addAttribute()
/device/google/coral-sepolicy/vendor/qcom/common/
Dattributes1 attribute vendor_persist_type;
2 attribute hal_display_color;
/device/generic/goldfish-opengl/system/include/EGL/
Deglext.h145 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute
151 …RYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
225 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
232 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLi…
307 EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute,…
309 …QUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
358 …LAPIENTRY eglStreamAttribKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
359 …LAPIENTRY eglQueryStreamKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
360 …ENTRY eglQueryStreamu64KHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *v…
364 …P PFNEGLSTREAMATTRIBKHRPROC)(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
[all …]
Degl.h263 EGLint attribute, EGLint *value);
275 EGLint attribute, EGLint *value);
289 EGLint attribute, EGLint value);
308 EGLint attribute, EGLint *value);
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Degl.cpp313 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
315 if (s_needEncode && attribute == EGL_RENDERABLE_TYPE) { in eglGetConfigAttrib()
319 return getDispatch()->eglGetConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
371 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) in eglQuerySurface() argument
373 EGLBoolean res = getDispatch()->eglQuerySurface(dpy, surface, attribute, value); in eglQuerySurface()
374 if (res && attribute == EGL_RENDERABLE_TYPE) { in eglQuerySurface()
405 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
407 return getDispatch()->eglSurfaceAttrib(dpy, surface, attribute, value); in eglSurfaceAttrib()
534 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) in eglQueryContext() argument
538 if (attribute == EGL_CONTEXT_CLIENT_VERSION) { in eglQueryContext()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Degl.entries16 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
25 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
27 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
35 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
Degl_extensions.entries8 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
/device/google/bonito-sepolicy/vendor/qcom/common/
Dattributes2 attribute vendor_persist_type;
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dattributes2 attribute vendor_persist_type;
/device/generic/goldfish-opengl/system/renderControl_enc/
DREADME30 with their attribute values.
38 attribute, next for each config there are 'numAttribs' integer values
39 holding the attribute values for that config, the values are specified
40 in the same order as the attribute vector.
45 attribs - a list of attribute names followed by the desired values, terminated by EGL_NONE
/device/generic/goldfish-opengl/system/egl/
Degl.cpp1128 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
1133 if (s_display.getConfigAttrib(config, attribute, value)) in eglGetConfigAttrib()
1139 ALOGD("%s: bad attrib 0x%x", __FUNCTION__, attribute); in eglGetConfigAttrib()
1280 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface eglSurface, EGLint attribute, EGLint *value) in eglQuerySurface() argument
1290 switch (attribute) { in eglQuerySurface()
1380 attribute, surface->getSurfaceType()); in eglQuerySurface()
1398 ALOGE("eglQuerySurface %x EGL_BAD_ATTRIBUTE", attribute); in eglQuerySurface()
1477 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
1493 switch (attribute) { in eglSurfaceAttrib()
1521 ALOGW("%s: attr=0x%x not implemented", __FUNCTION__, attribute); in eglSurfaceAttrib()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.h204 HWC2::Attribute attribute, int32_t* outValue);
298 void setAttribute(HWC2::Attribute attribute, int32_t value);
299 int32_t getAttribute(HWC2::Attribute attribute) const;
492 auto attribute = static_cast<HWC2::Attribute>(intAttribute); in getDisplayAttributeHook() local
494 config, attribute, outValue); in getDisplayAttributeHook()
DHWC2.cpp633 Attribute attribute, int32_t* outValue) { in getAttribute() argument
641 *outValue = mConfigs[configId]->getAttribute(attribute); in getAttribute()
643 to_string(attribute).c_str(), *outValue); in getAttribute()
1246 template <uint32_t attribute>
1249 bool match = (attribute == in attributesMatch()
1250 ATTRIBUTES_WITH_COLOR[ATTRIBUTE_MAP_WITH_COLOR[attribute]]); in attributesMatch()
1251 if (attribute == HWC_DISPLAY_COLOR_TRANSFORM) { in attributesMatch()
1255 return match && (attribute == in attributesMatch()
1256 ATTRIBUTES_WITHOUT_COLOR[ATTRIBUTE_MAP_WITHOUT_COLOR[attribute]]); in attributesMatch()
1739 void CfHWC2::Display::Config::setAttribute(HWC2::Attribute attribute, in setAttribute() argument
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dhwcomposer.cpp459 const uint32_t attribute) { in cvd_hwc_attribute() argument
460 switch (attribute) { in cvd_hwc_attribute()
476 ALOGE("unknown display attribute %u", attribute); in cvd_hwc_attribute()
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h218 int32_t attribute, int32_t* outValue);
279 void setAttribute(HWC2::Attribute attribute, int32_t value);
280 int32_t getAttribute(HWC2::Attribute attribute) const;
DEmuHWC2.cpp549 int32_t attribute, int32_t* outValue) { in getDisplayAttribute() argument
557 *outValue = mConfigs[configId]->getAttribute((Attribute)attribute); in getDisplayAttribute()
560 to_string((Attribute)attribute).c_str(), *outValue); in getDisplayAttribute()
1373 void EmuHWC2::Display::Config::setAttribute(Attribute attribute, in setAttribute() argument
1375 mAttributes[attribute] = value; in setAttribute()
1378 int32_t EmuHWC2::Display::Config::getAttribute(Attribute attribute) const { in getAttribute()
1379 if (mAttributes.count(attribute) == 0) { in getAttribute()
1382 return mAttributes.at(attribute); in getAttribute()
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/hifi_hikey_lsp/ldscripts/
Delf32xtensa.xbn177 /* Various memory-map dependent cache attribute settings: */
Delf32xtensa.xn177 /* Various memory-map dependent cache attribute settings: */
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.in338 # More vertex attribute setters / queries