Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 1274) sorted by relevance

12345678910>>...51

/OK3568_Linux_fs/u-boot/env/
H A Dattr.c30 int (*callback)(const char *name, const char *attributes, void *priv), in env_attr_walk() argument
34 char *name, *attributes; in env_attr_walk() local
83 attributes = strchr(entry_cpy, ENV_ATTR_SEP); in env_attr_walk()
85 if (attributes != NULL) { in env_attr_walk()
87 *attributes++ = '\0'; in env_attr_walk()
89 attributes = strim(attributes); in env_attr_walk()
98 retval = callback(name, attributes, priv); in env_attr_walk()
117 char *attributes; member
120 static int regex_callback(const char *name, const char *attributes, void *priv) in regex_callback() argument
135 if (!attributes) { in regex_callback()
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0022-HACK-pixman-renderer-Support-mali-egl-client-and-egl.patch118 + struct dmabuf_attributes *attributes = &dmabuf->attributes;
128 + total_size = lseek(attributes->fd[0], 0, SEEK_END);
130 + for (i = 0; i < attributes->n_planes; i++) {
131 + if (attributes->modifier[i] != DRM_FORMAT_MOD_INVALID)
136 + if (attributes->flags & ~ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT)
139 + if (attributes->n_planes < 0)
142 + if (attributes->n_planes == 1)
145 + vstride0 = (attributes->offset[1] - attributes->offset[0]) /
146 + attributes->stride[0];
148 + for (i = 1; i < attributes->n_planes; i++) {
[all …]
H A D0018-pixman-renderer-Support-linux-dmabuf.patch75 + struct dmabuf_attributes *attributes = &dmabuf->attributes;
88 + buffer->width = attributes->width;
89 + buffer->height = attributes->height;
91 + if (attributes->n_planes == 1)
92 + vstride = attributes->height;
94 + vstride = (attributes->offset[1] - attributes->offset[0]) /
95 + attributes->stride[0];
97 + switch (attributes->format) {
136 + data->ptr + attributes->offset[0],
137 + attributes->stride[0]);
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0025-HACK-pixman-renderer-Support-mali-egl-client-and-egl.patch118 + struct dmabuf_attributes *attributes = &dmabuf->attributes;
128 + total_size = lseek(attributes->fd[0], 0, SEEK_END);
130 + for (i = 0; i < attributes->n_planes; i++) {
131 + if (attributes->modifier[i] != DRM_FORMAT_MOD_INVALID &&
132 + attributes->modifier[i] != DRM_FORMAT_MOD_LINEAR)
137 + if (attributes->flags & ~ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT)
140 + if (attributes->n_planes < 0)
143 + if (attributes->n_planes == 1)
146 + vstride0 = (attributes->offset[1] - attributes->offset[0]) /
147 + attributes->stride[0];
[all …]
H A D0021-pixman-renderer-Support-linux-dmabuf.patch78 + struct dmabuf_attributes *attributes = &dmabuf->attributes;
92 + buffer->width = attributes->width;
93 + buffer->height = attributes->height;
95 + if (attributes->n_planes == 1)
96 + vstride = attributes->height;
98 + vstride = (attributes->offset[1] - attributes->offset[0]) /
99 + attributes->stride[0];
101 + switch (attributes->format) {
165 + data->ptr + attributes->offset[0],
166 + attributes->stride[0]);
[all …]
/OK3568_Linux_fs/buildroot/package/weston/
H A D0025-HACK-pixman-renderer-Support-mali-egl-client-and-egl.patch118 + struct dmabuf_attributes *attributes = &dmabuf->attributes;
128 + total_size = lseek(attributes->fd[0], 0, SEEK_END);
130 + for (i = 0; i < attributes->n_planes; i++) {
131 + if (attributes->modifier[i] != DRM_FORMAT_MOD_INVALID &&
132 + attributes->modifier[i] != DRM_FORMAT_MOD_LINEAR)
137 + if (attributes->flags & ~ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT)
140 + if (attributes->n_planes < 0)
143 + if (attributes->n_planes == 1)
146 + vstride0 = (attributes->offset[1] - attributes->offset[0]) /
147 + attributes->stride[0];
[all …]
H A D0021-pixman-renderer-Support-linux-dmabuf.patch78 + struct dmabuf_attributes *attributes = &dmabuf->attributes;
92 + buffer->width = attributes->width;
93 + buffer->height = attributes->height;
95 + if (attributes->n_planes == 1)
96 + vstride = attributes->height;
98 + vstride = (attributes->offset[1] - attributes->offset[0]) /
99 + attributes->stride[0];
101 + switch (attributes->format) {
165 + data->ptr + attributes->offset[0],
166 + attributes->stride[0]);
[all …]
/OK3568_Linux_fs/kernel/fs/efivarfs/
H A Dfile.c20 u32 attributes; in efivarfs_file_write() local
22 unsigned long datasize = count - sizeof(attributes); in efivarfs_file_write()
26 if (count < sizeof(attributes)) in efivarfs_file_write()
29 if (copy_from_user(&attributes, userbuf, sizeof(attributes))) in efivarfs_file_write()
32 if (attributes & ~(EFI_VARIABLE_MASK)) in efivarfs_file_write()
35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
39 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write()
53 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write()
71 u32 attributes; in efivarfs_file_read() local
90 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read()
[all …]
/OK3568_Linux_fs/external/linux-rga/core/
H A DGrallocOps.cpp193 std::vector<int> *attributes = (std::vector<int> *)attrs; in gralloc_backend_get_attrs() local
194 attributes->clear(); in gralloc_backend_get_attrs()
195 attributes->push_back(hnd->width); in gralloc_backend_get_attrs()
196 attributes->push_back(hnd->height); in gralloc_backend_get_attrs()
197 attributes->push_back(hnd->stride); in gralloc_backend_get_attrs()
198 attributes->push_back(hnd->format); in gralloc_backend_get_attrs()
199 attributes->push_back(hnd->size); in gralloc_backend_get_attrs()
200 attributes->push_back(hnd->type); in gralloc_backend_get_attrs()
214 std::vector<int> *attributes = (std::vector<int> *)attrs; in gralloc_backend_get_attrs() local
215 attributes->clear(); in gralloc_backend_get_attrs()
[all …]
/OK3568_Linux_fs/external/xserver/config/
H A Dfdi2iclass.py68 if node.attributes.has_key('key'):
69 key = node.attributes['key'].nodeValue
79 if node.attributes.has_key('string'):
80 value = node.attributes['string'].nodeValue
81 elif node.attributes.has_key('contains'):
82 value = node.attributes['contains'].nodeValue
88 elif node.attributes.has_key('string_outof'):
89 value = node.attributes['string_outof'].nodeValue.replace(';','|')
90 elif node.attributes.has_key('contains_outof'):
91 all_values = node.attributes['contains_outof'].nodeValue.split(';')
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/layers/
H A Dcircle_layer_properties.hpp15 struct CircleRadius : DataDrivenPaintProperty<float, attributes::a_radius, uniforms::u_radius> {
19 struct CircleColor : DataDrivenPaintProperty<Color, attributes::a_color, uniforms::u_color> {
23 struct CircleBlur : DataDrivenPaintProperty<float, attributes::a_blur, uniforms::u_blur> {
27 struct CircleOpacity : DataDrivenPaintProperty<float, attributes::a_opacity, uniforms::u_opacity> {
47 struct CircleStrokeWidth : DataDrivenPaintProperty<float, attributes::a_stroke_width, uniforms::u_s…
51 struct CircleStrokeColor : DataDrivenPaintProperty<Color, attributes::a_stroke_color, uniforms::u_s…
55 struct CircleStrokeOpacity : DataDrivenPaintProperty<float, attributes::a_stroke_opacity, uniforms:…
H A Dline_layer_properties.hpp35 struct LineOpacity : DataDrivenPaintProperty<float, attributes::a_opacity, uniforms::u_opacity> {
39 struct LineColor : DataDrivenPaintProperty<Color, attributes::a_color, uniforms::u_color> {
51 struct LineWidth : DataDrivenPaintProperty<float, attributes::a_width, uniforms::u_width> {
55 struct LineGapWidth : DataDrivenPaintProperty<float, attributes::a_gapwidth, uniforms::u_gapwidth> {
59 struct LineOffset : DataDrivenPaintProperty<float, attributes::a_offset<1>, uniforms::u_offset> {
63 struct LineBlur : DataDrivenPaintProperty<float, attributes::a_blur, uniforms::u_blur> {
H A Dsymbol_layer_properties.hpp195 struct IconOpacity : DataDrivenPaintProperty<float, attributes::a_opacity, uniforms::u_opacity> {
199 struct IconColor : DataDrivenPaintProperty<Color, attributes::a_fill_color, uniforms::u_fill_color>…
203 struct IconHaloColor : DataDrivenPaintProperty<Color, attributes::a_halo_color, uniforms::u_halo_co…
207 struct IconHaloWidth : DataDrivenPaintProperty<float, attributes::a_halo_width, uniforms::u_halo_wi…
211 struct IconHaloBlur : DataDrivenPaintProperty<float, attributes::a_halo_blur, uniforms::u_halo_blur…
223 struct TextOpacity : DataDrivenPaintProperty<float, attributes::a_opacity, uniforms::u_opacity> {
227 struct TextColor : DataDrivenPaintProperty<Color, attributes::a_fill_color, uniforms::u_fill_color>…
231 struct TextHaloColor : DataDrivenPaintProperty<Color, attributes::a_halo_color, uniforms::u_halo_co…
235 struct TextHaloWidth : DataDrivenPaintProperty<float, attributes::a_halo_width, uniforms::u_halo_wi…
239 struct TextHaloBlur : DataDrivenPaintProperty<float, attributes::a_halo_blur, uniforms::u_halo_blur…
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Dvars.c302 check_var_size(u32 attributes, unsigned long size) in check_var_size() argument
314 return fops->query_variable_store(attributes, size, false); in check_var_size()
318 check_var_size_nonblocking(u32 attributes, unsigned long size) in check_var_size_nonblocking() argument
330 return fops->query_variable_store(attributes, size, true); in check_var_size_nonblocking()
651 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set() argument
672 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set()
675 attributes, size, data); in efivar_entry_set()
695 u32 attributes, unsigned long size, void *data) in efivar_entry_set_nonblocking() argument
708 status = check_var_size_nonblocking(attributes, in efivar_entry_set_nonblocking()
716 status = ops->set_variable_nonblocking(name, &vendor, attributes, in efivar_entry_set_nonblocking()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xnest/
H A DWindow.c79 XSetWindowAttributes attributes; in xnestCreateWindow() local
89 attributes.event_mask = ExposureMask; in xnestCreateWindow()
90 attributes.backing_store = NotUseful; in xnestCreateWindow()
102 attributes.colormap = xnestColormap(pCmap); in xnestCreateWindow()
105 attributes.colormap = xnestDefaultVisualColormap(visual); in xnestCreateWindow()
115 attributes.colormap = xnestColormap(pCmap); in xnestCreateWindow()
130 visual, mask, &attributes); in xnestCreateWindow()
262 XSetWindowAttributes attributes; in xnestChangeWindowAttributes() local
267 attributes.background_pixmap = None; in xnestChangeWindowAttributes()
271 attributes.background_pixmap = ParentRelative; in xnestChangeWindowAttributes()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c71 const struct dc_cursor_attributes *attributes) in dce_ipp_cursor_set_attributes() argument
80 switch (attributes->color_format) { in dce_ipp_cursor_set_attributes()
100 CURSOR_2X_MAGNIFY, attributes->attribute_flags.bits.ENABLE_MAGNIFICATION, in dce_ipp_cursor_set_attributes()
101 CUR_INV_TRANS_CLAMP, attributes->attribute_flags.bits.INVERSE_TRANSPARENT_CLAMPING); in dce_ipp_cursor_set_attributes()
103 if (attributes->color_format == CURSOR_MODE_MONO) { in dce_ipp_cursor_set_attributes()
120 CURSOR_WIDTH, attributes->width-1, in dce_ipp_cursor_set_attributes()
121 CURSOR_HEIGHT, attributes->height-1); in dce_ipp_cursor_set_attributes()
130 CURSOR_SURFACE_ADDRESS_HIGH, attributes->address.high_part); in dce_ipp_cursor_set_attributes()
133 CURSOR_SURFACE_ADDRESS, attributes->address.low_part); in dce_ipp_cursor_set_attributes()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeopositioninfo/
H A Dtst_qgeopositioninfo.cpp77 QList<QGeoPositionInfo::Attribute> attributes; in tst_qgeopositioninfo_getAttributes() local
78 attributes << QGeoPositionInfo::Direction in tst_qgeopositioninfo_getAttributes()
84 return attributes; in tst_qgeopositioninfo_getAttributes()
109 QList<QGeoPositionInfo::Attribute> attributes = tst_qgeopositioninfo_getAttributes(); in addTestData_info() local
111 for (int i=0; i<attributes.count(); i++) { in addTestData_info()
113 … QTest::newRow(qPrintable(QString("Attribute %1 = %2").arg(attributes[i]).arg(values[j]))) in addTestData_info()
114 << infoWithAttribute(attributes[i], values[j]); in addTestData_info()
269 QList<QGeoPositionInfo::Attribute> attributes = tst_qgeopositioninfo_getAttributes(); in attribute_data() local
271 for (int i=0; i<attributes.count(); i++) { in attribute_data()
273 … QTest::newRow(qPrintable(QString("Attribute %1 = %2").arg(attributes[i]).arg(values[j]))) in attribute_data()
[all …]
/OK3568_Linux_fs/external/xserver/dix/
H A DXserver.d60 #pragma D attributes Unstable/Unstable/Common provider Xserver provider
61 #pragma D attributes Private/Private/Unknown provider Xserver module
62 #pragma D attributes Private/Private/Unknown provider Xserver function
63 #pragma D attributes Unstable/Unstable/Common provider Xserver name
64 #pragma D attributes Unstable/Unstable/Common provider Xserver args
/OK3568_Linux_fs/kernel/drivers/staging/gasket/
H A Dgasket_sysfs.c26 struct gasket_sysfs_attribute *attributes; member
107 mapping->attributes[i].attr; in put_mapping()
111 kfree(mapping->attributes); in put_mapping()
112 mapping->attributes = NULL; in put_mapping()
196 mapping->attributes = kcalloc(GASKET_SYSFS_MAX_NODES, in gasket_sysfs_create_mapping()
197 sizeof(*mapping->attributes), in gasket_sysfs_create_mapping()
199 if (!mapping->attributes) { in gasket_sysfs_create_mapping()
248 mapping->attributes[mapping->attribute_count] = attrs[i]; in gasket_sysfs_create_entries()
307 attrs = mapping->attributes; in gasket_sysfs_get_attr()
331 attrs = mapping->attributes; in gasket_sysfs_put_attr()
/OK3568_Linux_fs/kernel/Documentation/driver-api/driver-model/
H A Ddevice.rst56 As explained in Documentation/core-api/kobject.rst, device attributes must be
70 names 'dev_attr_type' and 'dev_attr_power'. These two attributes can be
95 device attributes and the device_unregister() function will use this pointer
96 to remove the device attributes.
100 strict expectations on when attributes get created. When a new device is
102 udev) that a new device is available. If attributes are added after the
104 not know about the new attributes.
107 attributes for a device at driver probe time. If the device driver simply
109 userspace will never be notified of the new attributes.
/OK3568_Linux_fs/buildroot/package/attr/
H A D0001-build-with-older-GCCs.patch4 Subject: [PATCH] Remove messages in "deprecated" gcc attributes
13 include/attributes.h | 20 ++++++++++----------
16 diff --git a/include/attributes.h b/include/attributes.h
18 --- a/include/attributes.h
19 +++ b/include/attributes.h
58 * List the names and sizes of the values of all the attributes of an object.
71 * Operate on multiple attributes of the same object simultaneously.
/OK3568_Linux_fs/kernel/scripts/kconfig/
H A Dnconf.gui.c11 attributes_t attributes[ATTR_MAX+1] = {0}; variable
72 attributes[name] = attr | COLOR_PAIR(name); } while (0) in normal_color_theme()
103 #define mkattrn(name, attr) { attributes[name] = attr; } in no_colors_theme()
297 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog()
298 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog()
300 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog()
304 (void) wattrset(msg_win, attributes[DIALOG_TEXT]); in btn_dialog()
408 (void) wattrset(form_win, attributes[INPUT_FIELD]); in dialog_inputbox()
410 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox()
412 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox()
[all …]
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dnconf.gui.c12 attributes_t attributes[ATTR_MAX+1] = {0}; variable
73 attributes[name] = attr | COLOR_PAIR(name); } while (0) in normal_color_theme()
104 #define mkattrn(name, attr) { attributes[name] = attr; } in no_colors_theme()
298 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog()
299 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog()
301 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog()
305 (void) wattrset(msg_win, attributes[DIALOG_TEXT]); in btn_dialog()
409 (void) wattrset(form_win, attributes[INPUT_FIELD]); in dialog_inputbox()
411 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox()
413 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox()
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dnconf.gui.c11 attributes_t attributes[ATTR_MAX+1] = {0}; variable
72 attributes[name] = attr | COLOR_PAIR(name); } while (0) in normal_color_theme()
103 #define mkattrn(name, attr) { attributes[name] = attr; } in no_colors_theme()
297 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog()
298 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog()
300 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog()
304 (void) wattrset(msg_win, attributes[DIALOG_TEXT]); in btn_dialog()
408 (void) wattrset(form_win, attributes[INPUT_FIELD]); in dialog_inputbox()
410 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox()
412 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox()
[all …]
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Dthread.c45 pthread_attr_t attributes; in ThreadCreate() local
48 pthread_attr_init(&attributes); in ThreadCreate()
49 pthread_attr_setdetachstate(&attributes, PTHREAD_CREATE_DETACHED); in ThreadCreate()
52 pthread_create(&id, &attributes, routine, args); in ThreadCreate()

12345678910>>...51