Home
last modified time | relevance | path

Searched refs:attr (Results 151 - 175 of 1513) sorted by relevance

12345678910>>...61

/third_party/skia/src/xml/
H A DSkDOM.cpp94 const Attr* attr = node->attrs(); in findAttr() local
95 const Attr* stop = attr + node->fAttrCount; in findAttr()
97 while (attr < stop) { in findAttr()
98 if (!strcmp(attr->fName, name)) { in findAttr()
99 return attr->fValue; in findAttr()
101 attr += 1; in findAttr()
112 const SkDOM::Attr* SkDOM::getNextAttr(const Node* node, const Attr* attr) const { in getNextAttr()
114 if (attr == nullptr) { in getNextAttr()
117 return (attr - node->attrs() + 1) < node->fAttrCount ? attr in getNextAttr()
[all...]
/third_party/musl/src/process/
H A Dsystem.c18 posix_spawnattr_t attr; in system() local
33 posix_spawnattr_init(&attr); in system()
34 posix_spawnattr_setsigmask(&attr, &old); in system()
35 posix_spawnattr_setsigdefault(&attr, &reset); in system()
36 posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETSIGDEF|POSIX_SPAWN_SETSIGMASK); in system()
37 ret = posix_spawn(&pid, "/bin/sh", 0, &attr, in system()
39 posix_spawnattr_destroy(&attr); in system()
/third_party/musl/porting/liteos_a/user/src/process/
H A Dsystem.c18 posix_spawnattr_t attr; in system() local
34 posix_spawnattr_init(&attr); in system()
35 posix_spawnattr_setsigmask(&attr, &old); in system()
36 posix_spawnattr_setsigdefault(&attr, &reset); in system()
37 posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETSIGDEF|POSIX_SPAWN_SETSIGMASK); in system()
38 ret = posix_spawn(&pid, "/bin/sh", 0, &attr, in system()
40 posix_spawnattr_destroy(&attr); in system()
/third_party/ntfs-3g/ntfsprogs/
H A Dplaylog.c307 const ATTR_RECORD *attr; in sanity_mft() local
321 attr = (const ATTR_RECORD*)&buffer[k]; in sanity_mft()
324 && (attr->type != AT_END) in sanity_mft()
325 && valid_type(attr->type)) { in sanity_mft()
326 type = le32_to_cpu(attr->type); in sanity_mft()
332 instance = le16_to_cpu(attr->instance); in sanity_mft()
335 printf("** Bad attr instance %d (max %d)\n", in sanity_mft()
342 printf("** Duplicated attr instance %d\n", in sanity_mft()
348 if ((attr->type == AT_FILE_NAME) in sanity_mft()
350 printf("attr in sanity_mft()
729 resize_attribute(MFT_RECORD *entry, ATTR_RECORD *attr, INDEX_ROOT *index, int rawresize, int resize) resize_attribute() argument
770 adjust_instance(const ATTR_RECORD *attr, MFT_RECORD *entry, int increment) adjust_instance() argument
797 adjust_high_vcn(ntfs_volume *vol, ATTR_RECORD *attr) adjust_high_vcn() argument
866 ATTR_RECORD *attr; change_resident() local
921 ATTR_RECORD *attr; change_resident_expect() local
1099 ATTR_RECORD *attr; expand_resident() local
1181 ATTR_RECORD *attr; insert_resident() local
1264 ATTR_RECORD *attr; remove_resident() local
1408 ATTR_RECORD *attr; shrink_resident() local
1537 ATTR_RECORD *attr; delete_names() local
1569 ATTR_RECORD *attr; rebuildname() local
1609 ATTR_RECORD *attr; insert_index_allocation() local
1710 const ATTR_RECORD *attr; check_full_mft() local
1928 ATTR_RECORD *attr; redo_add_root_index() local
2219 ATTR_RECORD *attr; redo_delete_root_index() local
2474 ATTR_RECORD *attr; redo_update_mapping() local
2999 ATTR_RECORD *attr; undo_add_root_index() local
3173 ATTR_RECORD *attr; undo_delete_root_index() local
3480 ATTR_RECORD *attr; undo_sizes() local
3613 ATTR_RECORD *attr; undo_update_mapping() local
[all...]
H A Dutils.c472 return ctx->attr; in find_attribute()
508 ntfs_log_debug("find_first_attribute: found attr of type 0x%02x.\n", le32_to_cpu(type)); in find_first_attribute()
510 ntfs_log_debug("find_first_attribute: didn't find attr of type 0x%02x.\n", le32_to_cpu(type)); in find_first_attribute()
534 FILE_NAME_ATTR *attr; in utils_inode_get_name() local
563 attr = (FILE_NAME_ATTR *) ((char *) rec + le16_to_cpu(rec->value_offset)); in utils_inode_get_name()
565 if (attr->file_name_type > name_space) { //XXX find the ... in utils_inode_get_name()
569 name_space = attr->file_name_type; in utils_inode_get_name()
570 parent = le64_to_cpu(attr->parent_directory); in utils_inode_get_name()
577 if (ntfs_ucstombs(attr->file_name, attr in utils_inode_get_name()
644 utils_attr_get_name(ntfs_volume *vol, ATTR_RECORD *attr, char *buffer, int bufsize) utils_attr_get_name() argument
732 ntfs_attr *attr; utils_cluster_in_use() local
860 FILE_NAME_ATTR *attr; utils_is_metadata() local
[all...]
/third_party/lzma/CPP/Windows/
H A DSecurityUtils.cpp117 LSA_OBJECT_ATTRIBUTES attr; in AddLockMemoryPrivilege() local
118 attr.Length = sizeof(attr); in AddLockMemoryPrivilege()
119 attr.RootDirectory = NULL; in AddLockMemoryPrivilege()
120 attr.ObjectName = NULL; in AddLockMemoryPrivilege()
121 attr.Attributes = 0; in AddLockMemoryPrivilege()
122 attr.SecurityDescriptor = NULL; in AddLockMemoryPrivilege()
123 attr.SecurityQualityOfService = NULL; in AddLockMemoryPrivilege()
124 if (policy.Open(NULL, &attr, in AddLockMemoryPrivilege()
/third_party/ffmpeg/libavformat/
H A Dlibssh.c338 sftp_attributes attr = NULL; in libssh_read_dir() local
346 if (attr) in libssh_read_dir()
347 sftp_attributes_free(attr); in libssh_read_dir()
348 attr = sftp_readdir(libssh->sftp, libssh->dir); in libssh_read_dir()
349 if (!attr) { in libssh_read_dir()
355 } while (!strcmp(attr->name, ".") || !strcmp(attr->name, "..")); in libssh_read_dir()
357 entry->name = av_strdup(attr->name); in libssh_read_dir()
358 entry->group_id = attr->gid; in libssh_read_dir()
359 entry->user_id = attr in libssh_read_dir()
399 sftp_attributes attr = NULL; libssh_delete() local
[all...]
H A Drtpdec_hevc.c50 const char *attr, const char *value) in hevc_sdp_parse_fmtp_config()
54 if (!strcmp(attr, "profile-id")) { in hevc_sdp_parse_fmtp_config()
71 if (!strcmp(attr, "sprop-vps") || !strcmp(attr, "sprop-sps") || in hevc_sdp_parse_fmtp_config()
72 !strcmp(attr, "sprop-pps") || !strcmp(attr, "sprop-sei")) { in hevc_sdp_parse_fmtp_config()
75 if (!strcmp(attr, "sprop-vps")) { in hevc_sdp_parse_fmtp_config()
78 } else if (!strcmp(attr, "sprop-sps")) { in hevc_sdp_parse_fmtp_config()
81 } else if (!strcmp(attr, "sprop-pps")) { in hevc_sdp_parse_fmtp_config()
84 } else if (!strcmp(attr, "spro in hevc_sdp_parse_fmtp_config()
47 hevc_sdp_parse_fmtp_config(AVFormatContext *s, AVStream *stream, PayloadContext *hevc_data, const char *attr, const char *value) hevc_sdp_parse_fmtp_config() argument
[all...]
/third_party/mesa3d/src/util/
H A Dxmlconfig.c649 parseDeviceAttr(struct OptConfData *data, const char **attr) in parseDeviceAttr() argument
653 for (i = 0; attr[i]; i += 2) { in parseDeviceAttr()
654 if (!strcmp(attr[i], "driver")) driver = attr[i+1]; in parseDeviceAttr()
655 else if (!strcmp(attr[i], "screen")) screen = attr[i+1]; in parseDeviceAttr()
656 else if (!strcmp(attr[i], "kernel_driver")) kernel = attr[i+1]; in parseDeviceAttr()
657 else if (!strcmp(attr[i], "device")) device = attr[ in parseDeviceAttr()
679 parseAppAttr(struct OptConfData *data, const char **attr) parseAppAttr() argument
761 parseEngineAttr(struct OptConfData *data, const char **attr) parseEngineAttr() argument
798 parseOptConfAttr(struct OptConfData *data, const char **attr) parseOptConfAttr() argument
859 optConfStartElem(void *userData, const char *name, const char **attr) optConfStartElem() argument
[all...]
/third_party/cups-filters/backend/
H A Dimplicitclass.c54 ippGetInteger(ipp_attribute_t *attr, in ippGetInteger() argument
57 return (attr->values[element].integer); in ippGetInteger()
98 ipp_attribute_t *attr; in main() local
174 for (attr = ippFirstAttribute(response); attr != NULL; in main()
175 attr = ippNextAttribute(response)) { in main()
176 while (attr != NULL && ippGetGroupTag(attr) != IPP_TAG_PRINTER) in main()
177 attr = ippNextAttribute(response); in main()
178 if (attr in main()
[all...]
/third_party/mesa3d/bin/pick/
H A Dui.py28 import attr namespace
104 @attr.s(slots=True)
113 commit_list: typing.List['urwid.Button'] = attr.ib(factory=lambda: urwid.SimpleFocusListWalker([]), init=False)
114 feedback_box: typing.List['urwid.Text'] = attr.ib(factory=lambda: urwid.SimpleFocusListWalker([]), init=False)
115 header: 'urwid.Text' = attr.ib(factory=lambda: urwid.Text('Mesa Stable Picker', align='center'), init=False)
116 body: 'urwid.Columns' = attr.ib(attr.Factory(lambda s: s._make_body(), True), init=False)
117 footer: 'urwid.Columns' = attr.ib(attr.Factory(lambda s: s._make_footer(), True), init=False)
118 root: RootWidget = attr
[all...]
/third_party/mesa3d/src/mesa/main/
H A Darrayobj.h244 gl_vert_attrib attr) in _mesa_draw_array_attrib()
248 return &vao->VertexAttrib[_mesa_vao_attribute_map[map_mode][attr]]; in _mesa_draw_array_attrib()
257 gl_vert_attrib attr) in _mesa_draw_array_format()
259 return &_mesa_draw_array_attrib(vao, attr)->Format; in _mesa_draw_array_format()
268 gl_vert_attrib attr) in _mesa_draw_buffer_binding()
271 = _mesa_draw_array_attrib(vao, attr); in _mesa_draw_buffer_binding()
316 _mesa_draw_current_attrib(const struct gl_context *ctx, gl_vert_attrib attr) in _mesa_draw_current_attrib() argument
318 return _vbo_current_attrib(ctx, attr); in _mesa_draw_current_attrib()
326 _mesa_draw_current_format(const struct gl_context *ctx, gl_vert_attrib attr) in _mesa_draw_current_format() argument
328 return &_vbo_current_attrib(ctx, attr) in _mesa_draw_current_format()
243 _mesa_draw_array_attrib(const struct gl_vertex_array_object *vao, gl_vert_attrib attr) _mesa_draw_array_attrib() argument
256 _mesa_draw_array_format(const struct gl_vertex_array_object *vao, gl_vert_attrib attr) _mesa_draw_array_format() argument
267 _mesa_draw_buffer_binding(const struct gl_vertex_array_object *vao, gl_vert_attrib attr) _mesa_draw_buffer_binding() argument
[all...]
/third_party/rust/crates/nix/src/sys/socket/
H A Dsockopt.rs147 ($(#[$attr:meta])* $name:ident, GetOnly, $level:expr, $flag:path, bool) => {
148 sockopt_impl!($(#[$attr])*
152 ($(#[$attr:meta])* $name:ident, GetOnly, $level:expr, $flag:path, u8) => {
153 sockopt_impl!($(#[$attr])* $name, GetOnly, $level, $flag, u8, GetU8);
156 ($(#[$attr:meta])* $name:ident, GetOnly, $level:expr, $flag:path, usize) =>
158 sockopt_impl!($(#[$attr])*
162 ($(#[$attr:meta])* $name:ident, SetOnly, $level:expr, $flag:path, bool) => {
163 sockopt_impl!($(#[$attr])*
167 ($(#[$attr:meta])* $name:ident, SetOnly, $level:expr, $flag:path, u8) => {
168 sockopt_impl!($(#[$attr])*
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Dinode.c192 lthle = ctx->attr->value_length; in ntfs_inode_real_open()
199 std_info = (STANDARD_INFORMATION *)((u8 *)ctx->attr + in ntfs_inode_real_open()
200 le16_to_cpu(ctx->attr->value_offset)); in ntfs_inode_real_open()
231 l = ntfs_get_attribute_value_length(ctx->attr); in ntfs_inode_real_open()
244 l = ntfs_get_attribute_value(vol, ctx->attr, ni->attr_list); in ntfs_inode_real_open()
264 if (ctx->attr->non_resident) { in ntfs_inode_real_open()
265 ni->data_size = sle64_to_cpu(ctx->attr->data_size); in ntfs_inode_real_open()
266 if (ctx->attr->flags & in ntfs_inode_real_open()
269 ctx->attr->compressed_size); in ntfs_inode_real_open()
272 ctx->attr in ntfs_inode_real_open()
1421 ntfs_inode_badclus_bad(u64 mft_no, ATTR_RECORD *attr) ntfs_inode_badclus_bad() argument
[all...]
H A Dea.c490 } attr; in ntfs_ea_set_wsl_not_symlink() local
494 memset(&attr, 0, sizeof(attr)); in ntfs_ea_set_wsl_not_symlink()
496 attr.mod.base.next_entry_offset in ntfs_ea_set_wsl_not_symlink()
497 = const_cpu_to_le32(sizeof(attr.mod)); in ntfs_ea_set_wsl_not_symlink()
498 attr.mod.base.flags = 0; in ntfs_ea_set_wsl_not_symlink()
499 attr.mod.base.name_length = sizeof(lxmod) - 1; in ntfs_ea_set_wsl_not_symlink()
500 attr.mod.base.value_length = const_cpu_to_le16(sizeof(mode)); in ntfs_ea_set_wsl_not_symlink()
501 memcpy(attr.mod.name, lxmod, sizeof(lxmod)); in ntfs_ea_set_wsl_not_symlink()
502 memcpy(attr in ntfs_ea_set_wsl_not_symlink()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_registrar.c1150 struct wps_parse_attr attr; in wps_registrar_probe_req_rx() local
1157 if (wps_parse_msg(wps_data, &attr) < 0) in wps_registrar_probe_req_rx()
1160 if (attr.config_methods == NULL) { in wps_registrar_probe_req_rx()
1166 if (attr.dev_password_id == NULL) { in wps_registrar_probe_req_rx()
1172 if (reg->enrollee_seen_cb && attr.uuid_e && in wps_registrar_probe_req_rx()
1173 attr.primary_dev_type && attr.request_type && !p2p_wildcard) { in wps_registrar_probe_req_rx()
1175 if (attr.dev_name) { in wps_registrar_probe_req_rx()
1176 dev_name = os_zalloc(attr.dev_name_len + 1); in wps_registrar_probe_req_rx()
1178 os_memcpy(dev_name, attr in wps_registrar_probe_req_rx()
2654 wps_process_m1(struct wps_data *wps, struct wps_parse_attr *attr) wps_process_m1() argument
2788 wps_process_m3(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) wps_process_m3() argument
2823 wps_process_m5(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) wps_process_m5() argument
2920 wps_process_ap_settings_r(struct wps_data *wps, struct wps_parse_attr *attr) wps_process_ap_settings_r() argument
2974 wps_process_m7(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) wps_process_m7() argument
3042 struct wps_parse_attr attr; wps_process_wsc_msg() local
3125 struct wps_parse_attr attr; wps_process_wsc_ack() local
3192 struct wps_parse_attr attr; wps_process_wsc_nack() local
3274 struct wps_parse_attr attr; wps_process_wsc_done() local
3408 struct wps_parse_attr attr; wps_registrar_process_msg() local
3419 struct wps_parse_attr attr; wps_registrar_process_msg() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_registrar.c1151 struct wps_parse_attr attr; in wps_registrar_probe_req_rx() local
1158 if (wps_parse_msg(wps_data, &attr) < 0) in wps_registrar_probe_req_rx()
1161 if (attr.config_methods == NULL) { in wps_registrar_probe_req_rx()
1167 if (attr.dev_password_id == NULL) { in wps_registrar_probe_req_rx()
1173 if (reg->enrollee_seen_cb && attr.uuid_e && in wps_registrar_probe_req_rx()
1174 attr.primary_dev_type && attr.request_type && !p2p_wildcard) { in wps_registrar_probe_req_rx()
1176 if (attr.dev_name) { in wps_registrar_probe_req_rx()
1177 dev_name = os_zalloc(attr.dev_name_len + 1); in wps_registrar_probe_req_rx()
1179 os_memcpy(dev_name, attr in wps_registrar_probe_req_rx()
2645 wps_process_m1(struct wps_data *wps, struct wps_parse_attr *attr) wps_process_m1() argument
2779 wps_process_m3(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) wps_process_m3() argument
2814 wps_process_m5(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) wps_process_m5() argument
2911 wps_process_ap_settings_r(struct wps_data *wps, struct wps_parse_attr *attr) wps_process_ap_settings_r() argument
2965 wps_process_m7(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr) wps_process_m7() argument
3033 struct wps_parse_attr attr; wps_process_wsc_msg() local
3116 struct wps_parse_attr attr; wps_process_wsc_ack() local
3183 struct wps_parse_attr attr; wps_process_wsc_nack() local
3265 struct wps_parse_attr attr; wps_process_wsc_done() local
3399 struct wps_parse_attr attr; wps_registrar_process_msg() local
3410 struct wps_parse_attr attr; wps_registrar_process_msg() local
[all...]
/third_party/python/Lib/xml/dom/
H A Dminidom.py365 # Add the single child node that represents the value of the attr
717 for attr in list(self._attrs.values()):
718 attr.unlink()
748 attr = self.getAttributeNode(attname)
749 if attr is None:
750 attr = Attr(attname)
751 attr.value = value # also sets nodeValue
752 attr.ownerDocument = self.ownerDocument
753 self.setAttributeNode(attr)
754 elif value != attr
[all...]
/third_party/elfutils/tests/
H A Dattr-integrate-skel.c57 Dwarf_Attribute attr; in main() local
64 DW_AT_GNU_addr_base, &attr) == NULL in main()
66 DW_AT_addr_base, &attr) == NULL) in main()
68 else if (dwarf_formudata (&attr, &word) != 0) in main()
73 if (dwarf_attr (&subdie, DW_AT_low_pc, &attr) != NULL) in main()
77 DW_AT_low_pc, &attr) == NULL) in main()
79 else if (dwarf_formaddr (&attr, &addr) != 0) in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
H A D2-2.c11 * 1. Initialize pthread_attr_t object (attr)
12 * 2. Set schedule policy (policy) in attr to SCHED_FIFO
13 * 3. Set inheritsched to PTHREAD_EXPLICIT_SCHED in attr
14 * 4. Call pthread_create with attr
65 pthread_attr_t attr; in main() local
69 /* Initialize attr */ in main()
70 rc = pthread_attr_init(&attr); in main()
76 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
83 rc = pthread_attr_setschedparam(&attr, &sp); in main()
90 rc = pthread_attr_setinheritsched(&attr, insche in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
H A D4-1.c11 * 1. Initialize pthread_attr_t object (attr)
12 * 2. set the stackaddr and stacksize to attr
13 * 3. create a thread with the attr
56 pthread_attr_t attr; in main() local
61 /* Initialize attr */ in main()
62 rc = pthread_attr_init(&attr); in main()
69 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main()
86 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main()
92 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
104 rc = pthread_create(&new_th, &attr, thread_fun in main()
[all...]
H A D1-1.c11 * 1. Initialize pthread_attr_t object (attr)
12 * 2. set the stackaddr and stacksize to attr
13 * 3. create a thread with the attr
44 pthread_attr_t attr; in main() local
49 /* Initialize attr */ in main()
50 rc = pthread_attr_init(&attr); in main()
57 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size); in main()
74 rc = pthread_attr_setstack(&attr, stack_addr, stack_size); in main()
80 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
87 rc = pthread_create(&new_th, &attr, thread_fun in main()
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_formflag.c39 dwarf_formflag (Dwarf_Attribute *attr, bool *return_bool) in dwarf_formflag() argument
41 if (attr == NULL) in dwarf_formflag()
44 if (attr->form == DW_FORM_flag_present) in dwarf_formflag()
50 if (unlikely (attr->form != DW_FORM_flag)) in dwarf_formflag()
56 *return_bool = *attr->valp != 0; in dwarf_formflag()
/third_party/cups-filters/filter/
H A Dgstoraster.c516 ppd_attr_t *attr;
519 /* get profile attr, falling back to CUPS */
521 attr = ppdFindAttr(ppd, profile_key, NULL);
522 if (attr == NULL) {
524 attr = ppdFindAttr(ppd, profile_key, NULL);
535 if (attr == NULL) {
544 for (;attr != NULL; attr = ppdFindNextAttr(ppd, profile_key, NULL)) {
546 attr->value, attr
647 ppd_attr_t *attr; main() local
[all...]
/third_party/python/Modules/
H A D_operator.c1199 PyObject *attr; member
1214 PyObject *attr; in attrgetter_new() local
1222 if (!PyArg_UnpackTuple(args, "attrgetter", 1, 1, &attr)) in attrgetter_new()
1226 attr = PyTuple_New(nattrs); in attrgetter_new()
1227 if (attr == NULL) in attrgetter_new()
1230 /* prepare attr while checking args */ in attrgetter_new()
1241 Py_DECREF(attr); in attrgetter_new()
1245 Py_DECREF(attr); in attrgetter_new()
1262 PyTuple_SET_ITEM(attr, idx, item); in attrgetter_new()
1271 Py_DECREF(attr); in attrgetter_new()
1350 dotted_getattr(PyObject *obj, PyObject *attr) dotted_getattr() argument
1424 PyObject *attr, *val; attrgetter_call_impl() local
1437 dotjoinattr(PyObject *attr, PyObject **attrsep) dotjoinattr() argument
1462 PyObject *attr = PyTuple_GET_ITEM(ag->attr, i); attrgetter_args() local
1488 PyObject *attr = dotjoinattr(PyTuple_GET_ITEM(ag->attr, 0), &attrsep); attrgetter_repr() local
[all...]

Completed in 22 milliseconds

12345678910>>...61