Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 6 of 6) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/lib/
Dset-mode-acl.c37 chmod_or_fchmod (const char *name, int desc, mode_t mode) in chmod_or_fchmod() argument
39 if (HAVE_FCHMOD && desc != -1) in chmod_or_fchmod()
40 return fchmod (desc, mode); in chmod_or_fchmod()
54 qset_acl (char const *name, int desc, mode_t mode) in qset_acl() argument
112 if (HAVE_ACL_SET_FD && desc != -1) in qset_acl()
113 ret = acl_set_fd (desc, acl); in qset_acl()
122 return chmod_or_fchmod (name, desc, mode); in qset_acl()
139 return chmod_or_fchmod (name, desc, mode); in qset_acl()
167 if (HAVE_ACL_GET_FD && desc != -1) in qset_acl()
168 acl = acl_get_fd (desc); in qset_acl()
[all …]
/ndk/sources/host-tools/make-3.81/
Darscan.c316 register int desc = open (archive, O_RDONLY, 0); in ar_scan() local
317 if (desc < 0) in ar_scan()
322 register int nread = read (desc, buf, SARMAG); in ar_scan()
325 (void) close (desc); in ar_scan()
332 register int nread = read (desc, (char *) &fl_header, FL_HSZ); in ar_scan()
336 (void) close (desc); in ar_scan()
347 if (lseek (desc, 0, 0) < 0) in ar_scan()
349 (void) close (desc); in ar_scan()
354 nread = read (desc, (char *) &fl_header_big, FL_HSZ_BIG); in ar_scan()
357 (void) close (desc); in ar_scan()
[all …]
Dgetloadavg.c692 struct stat_descr desc; in getloadavg() local
694 desc.sd_next = 0; in getloadavg()
695 desc.sd_subsys = SUBSYS_CPU; in getloadavg()
696 desc.sd_type = CPUTYPE_CONFIG; in getloadavg()
697 desc.sd_addr = (char *) &conf; in getloadavg()
698 desc.sd_size = sizeof conf; in getloadavg()
700 if (inq_stats (1, &desc)) in getloadavg()
709 desc.sd_type = CPUTYPE_CLASS; in getloadavg()
710 desc.sd_objid = i; in getloadavg()
711 desc.sd_addr = (char *) &stats; in getloadavg()
[all …]
Dvmsjobs.c48 vms_redirect (struct dsc$descriptor_s *desc, char *fname, char *ibuf) in vms_redirect() argument
65 desc->dsc$w_length = strlen(fname); in vms_redirect()
66 desc->dsc$a_pointer = fname; in vms_redirect()
67 desc->dsc$b_dtype = DSC$K_DTYPE_T; in vms_redirect()
68 desc->dsc$b_class = DSC$K_CLASS_S; in vms_redirect()
Dar.c75 static long int ar_member_date_1 PARAMS ((int desc, char *mem, int truncated, long int hdrpos,
123 ar_member_date_1 (int desc UNUSED, char *mem, int truncated, in ar_member_date_1()
211 ar_glob_match (int desc UNUSED, char *mem, int truncated UNUSED, in ar_glob_match()
/ndk/sources/host-tools/ndk-stack/elff/
Delf_file.cc262 const Dwarf_STMTL_FileDesc* desc = in get_pc_address_info() local
264 if (desc != NULL) { in get_pc_address_info()
266 desc->file_name; in get_pc_address_info()
268 cu->get_stmt_dir_name(desc->get_dir_index()); in get_pc_address_info()