/ndk/sources/cxx-stl/stlport/src/ |
D | locale.cpp | 32 static inline bool is_C_locale_name (const char* name) in is_C_locale_name() argument 33 { return ((name[0] == 'C') && (name[1] == 0)); } in is_C_locale_name() 61 void _STLP_CALL locale::_M_throw_on_combine_error(const string& name) { in _M_throw_on_combine_error() argument 64 what += name.empty() ? "system" : name.c_str(); in _M_throw_on_combine_error() 70 const char* name, const char* facet) { in _M_throw_on_creation_failure() argument 77 what += name[0] == 0 ? "system" : name; in _M_throw_on_creation_failure() 82 what += name[0] == 0 ? "system" : name; in _M_throw_on_creation_failure() 90 what += name; in _M_throw_on_creation_failure() 138 locale::locale(const char* name) in locale() argument 140 if (!name) in locale() [all …]
|
D | locale_impl.cpp | 33 static inline bool is_C_locale_name (const char* name) in is_C_locale_name() argument 34 { return ((name[0] == 'C') && (name[1] == 0)); } in is_C_locale_name() 75 : _Refcount_Base(0), name(s), facets_vec() { in _Locale_impl() 81 : _Refcount_Base(0), name(locimpl.name), facets_vec() { in _Locale_impl() 88 : _Refcount_Base(0), name(s), facets_vec(n, 0) { in _Locale_impl() 150 _Locale_name_hint* _Locale_impl::insert_ctype_facets(const char* &name, char *buf, _Locale_name_hin… in insert_ctype_facets() argument 151 if (name[0] == 0) in insert_ctype_facets() 152 name = _Locale_ctype_default(buf); in insert_ctype_facets() 154 if (name == 0 || name[0] == 0 || is_C_locale_name(name)) { in insert_ctype_facets() 170 _Locale_ctype *__lct = _STLP_PRIV __acquire_ctype(name, buf, hint, &__err_code); in insert_ctype_facets() [all …]
|
D | locale_catalog.cpp | 140 __acquire_category(const char* &name, char *buf, _Locale_name_hint* hint, in __acquire_category() argument 158 if (name[0] == 0) { in __acquire_category() 159 name = default_name(buf); in __acquire_category() 160 if (name == 0 || name[0] == 0) in __acquire_category() 161 name = "C"; in __acquire_category() 164 const char* cname = extract_name(name, buf, hint, __err_code); in __acquire_category() 168 name = cname; in __acquire_category() 171 Category_Map::value_type __e(name, pair<void*,size_t>((void*)0,size_t(0))); in __acquire_category() 183 (*result.first).second.first = create_obj(name, hint, __err_code); in __acquire_category() 212 char const* name = get_name(cat, buf); in __release_category() local [all …]
|
D | facets_byname.cpp | 41 ctype_byname<char>::ctype_byname(const char* name, size_t refs) in ctype_byname() argument 43 if (!name) in ctype_byname() 48 _M_ctype = _STLP_PRIV __acquire_ctype(name, buf, 0, &__err_code); in ctype_byname() 50 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in ctype_byname() 112 ctype_byname<wchar_t>::ctype_byname(const char* name, size_t refs) in ctype_byname() argument 114 if (!name) in ctype_byname() 119 _M_ctype = _STLP_PRIV __acquire_ctype(name, buf, 0, &__err_code); in ctype_byname() 121 locale::_M_throw_on_creation_failure(__err_code, name, "ctype"); in ctype_byname() 184 collate_byname<char>::collate_byname(const char* name, size_t refs) in collate_byname() argument 186 if (!name) in collate_byname() [all …]
|
D | acquire_release.h | 27 _Locale_ctype* _STLP_CALL __acquire_ctype(const char* &name, char *buf, _Locale_name_hint* hint, in… 28 _Locale_codecvt* _STLP_CALL __acquire_codecvt(const char* &name, char *buf, _Locale_name_hint* hint… 29 _Locale_numeric* _STLP_CALL __acquire_numeric(const char* &name, char *buf, _Locale_name_hint* hint… 30 _Locale_collate* _STLP_CALL __acquire_collate(const char* &name, char *buf, _Locale_name_hint* hint… 31 _Locale_monetary* _STLP_CALL __acquire_monetary(const char* &name, char *buf, _Locale_name_hint* hi… 32 _Locale_time* _STLP_CALL __acquire_time(const char* &name, char *buf, _Locale_name_hint*, int *__er… 33 _Locale_messages* _STLP_CALL __acquire_messages(const char* &name, char *buf, _Locale_name_hint* hi…
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | basename.c | 32 last_component (char const *name) in last_component() argument 34 char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); in last_component() 74 base_name (char const *name) in base_name() argument 76 char const *base = last_component (name); in base_name() 82 return xstrndup (name, base_len (name)); in base_name() 111 base_len (char const *name) in base_len() argument 114 size_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); in base_len() 116 for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) in base_len() 120 && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2]) in base_len() 124 && len == prefix_len && ISSLASH (name[prefix_len])) in base_len()
|
D | set-mode-acl.c | 37 chmod_or_fchmod (const char *name, int desc, mode_t mode) in chmod_or_fchmod() argument 42 return chmod (name, mode); in chmod_or_fchmod() 54 qset_acl (char const *name, int desc, mode_t mode) in qset_acl() argument 115 ret = acl_set_file (name, ACL_TYPE_ACCESS, acl); in qset_acl() 122 return chmod_or_fchmod (name, desc, mode); in qset_acl() 132 if (S_ISDIR (mode) && acl_delete_def_file (name)) in qset_acl() 139 return chmod_or_fchmod (name, desc, mode); in qset_acl() 170 acl = acl_get_file (name, ACL_TYPE_EXTENDED); in qset_acl() 181 ret = acl_set_file (name, ACL_TYPE_EXTENDED, acl); in qset_acl() 189 return chmod_or_fchmod (name, desc, mode); in qset_acl() [all …]
|
D | file-has-acl.c | 275 file_has_acl (char const *name, struct stat const *sb) in file_has_acl() argument 291 ret = acl_extended_file (name); in file_has_acl() 301 acl_t acl = acl_get_file (name, ACL_TYPE_EXTENDED); in file_has_acl() 310 acl_t acl = acl_get_file (name, ACL_TYPE_ACCESS); in file_has_acl() 331 acl = acl_get_file (name, ACL_TYPE_DEFAULT); in file_has_acl() 357 return acl_trivial (name); in file_has_acl() 370 count = acl (name, GETACLCNT, 0, NULL); in file_has_acl() 396 if (acl (name, GETACL, count, entries) == count) in file_has_acl() 420 count = acl (name, ACE_GETACLCNT, 0, NULL); in file_has_acl() 444 if (acl (name, ACE_GETACL, count, entries) == count) in file_has_acl() [all …]
|
/ndk/sources/host-tools/make-3.81/ |
D | dir.c | 26 extern char *vmsify PARAMS ((char *name, int type)); 148 vms_hash (char *name) in vms_hash() argument 153 while (*name) in vms_hash() 155 unsigned char uc = *name; in vms_hash() 161 name++; in vms_hash() 174 vmsstat_dir (char *name, struct stat *st) in vmsstat_dir() argument 180 dir = opendir (name); in vmsstat_dir() 184 s = strchr (name, ':'); /* find device */ in vmsstat_dir() 188 st->st_dev = (char *)vms_hash (name); in vmsstat_dir() 195 s = name; in vmsstat_dir() [all …]
|
D | ar.c | 29 extern int ar_name_equal PARAMS ((char *name, char *mem, int truncated)); 40 ar_name (char *name) in ar_name() argument 42 char *p = strchr (name, '('); in ar_name() 45 if (p == 0 || p == name) in ar_name() 53 fatal (NILF, _("attempt to use unsupported feature: `%s'"), name); in ar_name() 64 ar_parse_name (char *name, char **arname_p, char **memname_p) in ar_parse_name() argument 66 char *p = strchr (name, '('), *end = name + strlen (name) - 1; in ar_parse_name() 69 *arname_p = savestring (name, p - name); in ar_parse_name() 76 long int datapos, long int size, long int date, int uid, int gid, int mode, char *name)); 81 ar_member_date (char *name) in ar_member_date() argument [all …]
|
D | file.c | 76 lookup_file (char *name) in lookup_file() argument 84 assert (*name != '\0'); in lookup_file() 91 if (*name != '.') in lookup_file() 94 lname = (char *) malloc (strlen (name) + 1); in lookup_file() 95 for (n = name, ln = lname; *n != '\0'; ++n, ++ln) in lookup_file() 98 name = lname; in lookup_file() 102 while (name[0] == '[' && name[1] == ']' && name[2] != '\0') in lookup_file() 103 name += 2; in lookup_file() 105 while (name[0] == '.' && name[1] == '/' && name[2] != '\0') in lookup_file() 107 name += 2; in lookup_file() [all …]
|
D | read.c | 40 struct passwd *getpwnam PARAMS ((char *name)); 130 static void do_define PARAMS ((char *name, unsigned int namelen, 168 char *name, *p; in read_all_makefiles() local 185 while ((name = find_next_token (&p, &length)) != 0) in read_all_makefiles() 189 eval_makefile (name, RM_NO_DEFAULT_GOAL|RM_INCLUDED|RM_DONTCARE); in read_all_makefiles() 371 filename = deps->file->name; in eval_makefile() 827 char *name = files->name; in eval() local 833 r = eval_makefile (name, (RM_INCLUDED | RM_NO_TILDE in eval() 836 error (fstart, "%s: %s", name, strerror (errno)); in eval() 837 free (name); in eval() [all …]
|
D | implicit.c | 54 if (ar_name (file->name)) in try_implicit_rule() 72 char *name; /* name of the prerequisite */ member 88 if (p->name) in free_idep_chain() 93 && (f->stem < f->name || f->stem > f->name + strlen (f->name))) in free_idep_chain() 96 free (p->name); in free_idep_chain() 204 char *filename = archive ? strchr (file->name, '(') : file->name; in pattern_search() 503 p = get_next_word (dep->name, &len); in pattern_search() 619 char *p = d->name; in pattern_search() 621 d->name = xmalloc (strlen (p) + l + 1); in pattern_search() 623 bcopy (filename, d->name, l); in pattern_search() [all …]
|
D | arscan.c | 432 char name[256]; in ar_scan() local 439 char *name; in ar_scan() local 468 nread = read (desc, name, name_len); in ar_scan() 476 name[name_len] = 0; in ar_scan() 500 nread = read (desc, name, name_len); in ar_scan() 508 name[name_len] = 0; in ar_scan() 522 (*function) (desc, name, 0, in ar_scan() 555 name = namebuf; in ar_scan() 556 bcopy (member_header.ar_name, name, sizeof member_header.ar_name); in ar_scan() 558 register char *p = name + sizeof member_header.ar_name; in ar_scan() [all …]
|
D | commands.c | 54 if (ar_name (file->name)) in set_file_variables() 59 p = strchr (file->name, '('); in set_file_variables() 60 at = (char *) alloca (p - file->name + 1); in set_file_variables() 61 bcopy (file->name, at, p - file->name); in set_file_variables() 62 at[p - file->name] = '\0'; in set_file_variables() 71 at = file->name; in set_file_variables() 82 char *name; in set_file_variables() local 86 if (ar_name (file->name)) in set_file_variables() 88 name = strchr (file->name, '(') + 1; in set_file_variables() 89 len = strlen (name) - 1; in set_file_variables() [all …]
|
D | remake.c | 68 static FILE_TIMESTAMP name_mtime PARAMS ((char *name)); 231 file->name); in update_goal_chain() 356 fatal (NILF, msg_noparent, "", file->name, ""); in complain() 358 fatal (NILF, msg_parent, "", file->name, file->parent->name, ""); in complain() 362 error (NILF, msg_noparent, "*** ", file->name, "."); in complain() 364 error (NILF, msg_parent, "*** ", file->name, file->parent->name, "."); in complain() 442 file->name); in update_file_1() 485 file->name, d->file->name); in update_file_1() 625 _("Target `%s' not remade because of errors."), file->name); in update_file_1() 695 printf (fmt, dep_name (d), file->name); in update_file_1() [all …]
|
D | variable.c | 109 return_STRING_N_HASH_1 (key->name, key->length); in variable_hash_1() 116 return_STRING_N_HASH_2 (key->name, key->length); in variable_hash_2() 127 return_STRING_N_COMPARE (x->name, y->name, x->length); in variable_hash_cmp() 162 define_variable_in_set (const char *name, unsigned int length, in define_variable_in_set() argument 174 var_key.name = (char *) name; in define_variable_in_set() 210 v->name = savestring (name, length); in define_variable_in_set() 228 if (*name != '_' && (*name < 'A' || *name > 'Z') in define_variable_in_set() 229 && (*name < 'a' || *name > 'z')) in define_variable_in_set() 233 for (++name; *name != '\0'; ++name) in define_variable_in_set() 234 if (*name != '_' && (*name < 'a' || *name > 'z') in define_variable_in_set() [all …]
|
D | vmsify.c | 114 trnlog (char *name) in trnlog() argument 123 INIT_DSC_CSTRING (name_dsc, name); in trnlog() 212 vmsify (char *name, int type) in vmsify() argument 230 if (name == 0) in vmsify() 232 fptr = name; in vmsify() 238 s = strpbrk (name, "$:"); in vmsify() 252 if (strchr (name, '/') == 0) in vmsify() 256 strcpy (vmsname, name); in vmsify() 261 return name; in vmsify() 268 strcpy (vmsname, name); in vmsify() [all …]
|
D | rule.c | 70 char *name; in count_implicit_rule_limits() local 77 name = 0; in count_implicit_rule_limits() 99 unsigned int len = strlen (dep->name); in count_implicit_rule_limits() 102 char *p = strrchr (dep->name, ']'); in count_implicit_rule_limits() 105 p = strrchr (dep->name, ':'); in count_implicit_rule_limits() 106 p2 = p != 0 ? strchr (dep->name, '%') : 0; in count_implicit_rule_limits() 108 char *p = strrchr (dep->name, '/'); in count_implicit_rule_limits() 109 char *p2 = p != 0 ? strchr (dep->name, '%') : 0; in count_implicit_rule_limits() 120 if (p == dep->name) in count_implicit_rule_limits() 122 if (p - dep->name > namelen) in count_implicit_rule_limits() [all …]
|
D | dep.h | 39 char *name; member 54 char *name; member 64 extern char *tilde_expand PARAMS ((char *name)); 71 #define dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name)
|
D | vpath.c | 376 char *name, *n; in selective_vpath_search() local 416 name = (char *) xmalloc (maxvpath + 1 + name_dplen + 1 + flen + 1); in selective_vpath_search() 423 n = name; in selective_vpath_search() 442 if (n != name && n[-1] == '\\' ) in selective_vpath_search() 447 if (n != name && n[-1] != '/') in selective_vpath_search() 478 struct file *f = lookup_file (name); in selective_vpath_search() 506 exists_in_cache = exists = dir_file_exists_p (name, filename); in selective_vpath_search() 529 EINTRLOOP (e, stat (name, &st)); /* Does it really exist? */ in selective_vpath_search() 539 *mtime_ptr = FILE_TIMESTAMP_STAT_MODTIME (name, st); in selective_vpath_search() 547 *file = savestring (name, (n + 1 - name) + flen); in selective_vpath_search() [all …]
|
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 82 void* _Locale_create(const char* name, int *__err_code) { in _Locale_create() argument 83 if (name[0] == 'C' && name[1] == 0) in _Locale_create() 88 struct _Locale_ctype* _Locale_ctype_create(const char *name, in _Locale_ctype_create() argument 90 { return (struct _Locale_ctype*)_Locale_create(name, __err_code); } in _Locale_ctype_create() 92 struct _Locale_codecvt* _Locale_codecvt_create(const char *name, in _Locale_codecvt_create() argument 94 { return (struct _Locale_codecvt*)_Locale_create(name, __err_code); } in _Locale_codecvt_create() 96 struct _Locale_numeric* _Locale_numeric_create(const char *name, in _Locale_numeric_create() argument 98 { return (struct _Locale_numeric*)_Locale_create(name, __err_code); } in _Locale_numeric_create() 100 struct _Locale_time* _Locale_time_create(const char *name, in _Locale_time_create() argument 102 { return (struct _Locale_time*)_Locale_create(name, __err_code); } in _Locale_time_create() [all …]
|
/ndk/tests/device/test-gabi++/jni/ |
D | test_gabixx_rtti.cpp | 67 printf("int is: %s\n", typeid(int).name()); in main() 68 printf(" i is: %s\n", typeid(i).name()); in main() 69 printf(" pi is: %s\n", typeid(pi).name()); in main() 70 printf("*pi is: %s\n", typeid(*pi).name()); in main() 80 printf("derived is: %s\n", typeid(derived).name()); in main() 81 printf(" *pbase is: %s\n", typeid(*pbase).name()); in main() 91 printf("polyderived is: %s\n", typeid(polyderived).name()); in main() 92 printf(" *ppolybase is: %s\n", typeid(*ppolybase).name()); in main()
|
/ndk/tests/device/test-stlport-rtti/jni/ |
D | test_stlport_rtti.cpp | 67 printf("int is: %s\n", typeid(int).name()); in main() 68 printf(" i is: %s\n", typeid(i).name()); in main() 69 printf(" pi is: %s\n", typeid(pi).name()); in main() 70 printf("*pi is: %s\n", typeid(*pi).name()); in main() 80 printf("derived is: %s\n", typeid(derived).name()); in main() 81 printf(" *pbase is: %s\n", typeid(*pbase).name()); in main() 91 printf("polyderived is: %s\n", typeid(polyderived).name()); in main() 92 printf(" *ppolybase is: %s\n", typeid(*ppolybase).name()); in main()
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
D | utils.c | 55 char *name; member 91 unlink (open_files->name); in panic() 93 fprintf (stderr, _("cannot remove %s: %s"), open_files->name, strerror (errno)); in panic() 113 return p->name; 125 register_open_file (fp, name, temp) in register_open_file() argument 127 const char *name; 135 FREE(p->name); 145 p->name = ck_strdup(name); 152 ck_fopen(name, mode, fail) in ck_fopen() argument 153 const char *name; in ck_fopen() [all …]
|