| /src/external/bsd/ntp/dist/tests/libntp/ |
| realpath.c | 14 static char * resolved; variable 18 resolved = NULL; 23 free(resolved); 24 resolved = NULL; 55 resolved = ntp_realpath("."); 56 TEST_ASSERT_NOT_NULL_MESSAGE(resolved, "failed to resolve '.'"); 57 TEST_ASSERT_TRUE_MESSAGE(isValidAbsPath(resolved), "'.' not resolved to absolute path"); 83 resolved = ntp_realpath(nam); 84 TEST_ASSERT_NOT_NULL_MESSAGE(resolved, errMsg("could not resolve '%s'", nam)) [all...] |
| /src/crypto/external/bsd/openssh/dist/ |
| sftp-realpath.c | 48 char *sftp_realpath(const char *path, char *resolved); 51 * char *realpath(const char *path, char resolved[PATH_MAX]); 54 * components. Returns (resolved) on success, or (NULL) on failure, 55 * in which case the path which caused trouble is left in (resolved). 58 sftp_realpath(const char *path, char *resolved) 74 if (resolved == NULL) { 75 resolved = malloc(PATH_MAX); 76 if (resolved == NULL) 84 resolved[0] = '/'; 85 resolved[1] = '\0' [all...] |
| /src/external/bsd/ntp/dist/libntp/ |
| ntp_realpath.c | 58 realpath1(const char *path, char *resolved) 67 if (strlcpy(resolved, path, NTP_PATH_MAX) >= NTP_PATH_MAX) 70 retval = resolved; 71 } else if ((retval = _fullpath(resolved, path, NTP_PATH_MAX)) == NULL) { 97 * components. Returns (resolved) on success, or (NULL) on failure, 98 * in which case the path which caused trouble is left in (resolved). 101 realpath1(const char *path, char *resolved) 112 resolved[0] = '/'; 113 resolved[1] = '\0'; 115 return (resolved); [all...] |
| /src/lib/libc/gen/ |
| getcwd.c | 64 * char *realpath(const char *path, char *resolved); 67 * components. Returns (resolved) on success, or (NULL) on failure, 68 * in which case the path which caused trouble is left in (resolved). 71 realpath(const char * __restrict path, char * __restrict resolved) 86 if (resolved == NULL) { 87 fres = resolved = malloc(MAXPATHLEN); 88 if (resolved == NULL) 103 p = resolved; 113 /* check for resolved pointer to appease coverity */ 114 if (resolved && getcwd(resolved, MAXPATHLEN) == NULL) [all...] |
| /src/usr.sbin/sysinst/ |
| aout2elf.c | 312 * components. Returns (resolved) on success, or (NULL) on failure, 313 * in which case the path which caused trouble is left in (resolved). 316 target_realpath(const char *path, char *resolved) 328 (void)strlcpy(resolved, ".", MAXPATHLEN); 333 * Find the dirname and basename from the path to be resolved. 341 snprintf(resolved, MAXPATHLEN, "%s/%s", target_prefix(), path); 343 if (strlcpy(resolved, path, MAXPATHLEN) >= MAXPATHLEN) { 348 q = strrchr(resolved, '/'); 351 if (q == resolved) 356 } while (q > resolved && *q == '/') [all...] |
| /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
| canonicalize.c | 91 RESOLVED is null, the result is malloc'd; otherwise, if the 94 returns the name in RESOLVED. If the name cannot be resolved and 95 RESOLVED is non-NULL, it contains the path of the first component 96 that cannot be resolved. If the path can be resolved, RESOLVED 100 __realpath (const char *name, char *resolved) 113 the RESOLVED parameter to be NULL in case the we are expected to 135 if (resolved == NULL [all...] |
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| canonicalize.c | 91 RESOLVED is null, the result is malloc'd; otherwise, if the 94 returns the name in RESOLVED. If the name cannot be resolved and 95 RESOLVED is non-NULL, it contains the path of the first component 96 that cannot be resolved. If the path can be resolved, RESOLVED 100 __realpath (const char *name, char *resolved) 113 the RESOLVED parameter to be NULL in case the we are expected to 135 if (resolved == NULL [all...] |
| /src/external/gpl2/gettext/dist/gnulib-local/lib/ |
| canonicalize.c | 91 RESOLVED is null, the result is malloc'd; otherwise, if the 94 returns the name in RESOLVED. If the name cannot be resolved and 95 RESOLVED is non-NULL, it contains the path of the first component 96 that cannot be resolved. If the path can be resolved, RESOLVED 100 __realpath (const char *name, char *resolved) 113 the RESOLVED parameter to be NULL in case the we are expected to 135 if (resolved == NULL [all...] |
| /src/external/bsd/zstd/dist/build/single_file_libs/ |
| combine.py | 127 # and each entry resolved to its canonical path (like any include entry, either 129 # is case is the input file). The results are stored in 'resolved'. 131 def resolve_excluded_files(file_list: Optional[List[str]], resolved: Set[Path], parent: Optional[Path] = None) -> None: 136 resolved.add(found) 170 resolved = resolve_include(inc_name, file.parent) 171 if (resolved): 172 if (resolved in excludes): 177 if (resolved not in found): 179 found.add(resolved) 180 if (resolved in keeps) [all...] |
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| canonicalize-lgpl.c | 171 /* The caller invoked realpath with a null RESOLVED, even though 202 realpath_stk (const char *name, char *resolved, 214 the RESOLVED parameter to be NULL in case the we are expected to 407 if (resolved != NULL && dest - rname <= get_path_max ()) 408 rname = strcpy (resolved, rname); 414 if (failed || rname == resolved) 417 return failed ? NULL : resolved; 426 RESOLVED is null, the result is malloc'd; otherwise, if the 429 returns the name in RESOLVED. If the name cannot be resolved an [all...] |
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| canonicalize-lgpl.c | 171 /* The caller invoked realpath with a null RESOLVED, even though 202 realpath_stk (const char *name, char *resolved, 214 the RESOLVED parameter to be NULL in case the we are expected to 407 if (resolved != NULL && dest - rname <= get_path_max ()) 408 rname = strcpy (resolved, rname); 414 if (failed || rname == resolved) 417 return failed ? NULL : resolved; 426 RESOLVED is null, the result is malloc'd; otherwise, if the 429 returns the name in RESOLVED. If the name cannot be resolved an [all...] |
| /src/external/gpl2/xcvs/dist/lib/ |
| canonicalize.c | 77 char *resolved, *extra_buf = NULL; local 112 resolved = xmalloc (resolved_size); 113 resolved_len = resolvepath (name, resolved, resolved_size); 116 free (resolved); 122 free (resolved); 128 resolved[resolved_len] = '\0'; 130 return resolved;
|
| /src/external/bsd/openresolv/dist/ |
| systemd-resolved.in | 5 # systemd-resolved subscriber for resolvconf 41 : ${systemd_resolved_conf:=/run/systemd/resolved.conf.d/60-resolvconf.conf} 93 pid=$(pidof systemd-resolved)
|
| resolvectl.in | 37 # If we don't have resolvectl or systemd-resolved isn't running then 40 # because systemd-resolved keeps it somehow, ie we can't change it 44 ! pidof systemd-resolved >/dev/null 94 # systemd-resolved subscriber instead which supports DNS delegates. 108 # systemd-resolved subscriber instead which supports DNS delegates. 134 # systemd-resolved doesn't work with lo
|
| /src/external/gpl3/binutils/dist/opcodes/ |
| ia64-gen.c | 1033 int resolved = 0; 1071 resolved = ((strncmp (ic->name, idesc->name, len) == 0) 1076 if (resolved && 1080 resolved = strcmp (ic->name, idesc->name) == 0; 1084 if (resolved && field) 1092 resolved = strcmp (sf + 1, strstr (field, "==") + 2) == 0; 1098 resolved = strstr (field, "fault") != NULL; 1100 resolved = strstr (field, "fault") == NULL; 1106 resolved = strstr (field, "or.andcm") != NULL; 1108 resolved = strstr (field, "and.orcm") != NULL 1031 int resolved = 0; local [all...] |
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| ia64-gen.c | 1033 int resolved = 0; 1071 resolved = ((strncmp (ic->name, idesc->name, len) == 0) 1076 if (resolved && 1080 resolved = strcmp (ic->name, idesc->name) == 0; 1084 if (resolved && field) 1092 resolved = strcmp (sf + 1, strstr (field, "==") + 2) == 0; 1098 resolved = strstr (field, "fault") != NULL; 1100 resolved = strstr (field, "fault") == NULL; 1106 resolved = strstr (field, "or.andcm") != NULL; 1108 resolved = strstr (field, "and.orcm") != NULL 1031 int resolved = 0; local [all...] |
| /src/external/gpl3/gdb/dist/opcodes/ |
| ia64-gen.c | 1033 int resolved = 0; 1071 resolved = ((strncmp (ic->name, idesc->name, len) == 0) 1076 if (resolved && 1080 resolved = strcmp (ic->name, idesc->name) == 0; 1084 if (resolved && field) 1092 resolved = strcmp (sf + 1, strstr (field, "==") + 2) == 0; 1098 resolved = strstr (field, "fault") != NULL; 1100 resolved = strstr (field, "fault") == NULL; 1106 resolved = strstr (field, "or.andcm") != NULL; 1108 resolved = strstr (field, "and.orcm") != NULL 1031 int resolved = 0; local [all...] |
| /src/external/gpl3/gdb.old/dist/opcodes/ |
| ia64-gen.c | 1033 int resolved = 0; 1071 resolved = ((strncmp (ic->name, idesc->name, len) == 0) 1076 if (resolved && 1080 resolved = strcmp (ic->name, idesc->name) == 0; 1084 if (resolved && field) 1092 resolved = strcmp (sf + 1, strstr (field, "==") + 2) == 0; 1098 resolved = strstr (field, "fault") != NULL; 1100 resolved = strstr (field, "fault") == NULL; 1106 resolved = strstr (field, "or.andcm") != NULL; 1108 resolved = strstr (field, "and.orcm") != NULL 1031 int resolved = 0; local [all...] |
| /src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| rs6000-c.cc | 886 the resolved CALL_EXPR. */ 935 resolved = Resolved (but may be an error_mark_node) 938 enum resolution { unresolved, resolved, resolved_bad }; 941 resolved call if successful. ARGS contains the arguments to the call. 967 *res = resolved; 973 *res = resolved; 980 *res = resolved; 992 resolved call if successful. ARGS contains the arguments to the call. 1050 *res = resolved; 937 enum resolution { unresolved, resolved, resolved_bad }; enumerator in enum:resolution [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/config/rs6000/ |
| rs6000-c.cc | 884 the resolved CALL_EXPR. */ 933 resolved = Resolved (but may be an error_mark_node) 936 enum resolution { unresolved, resolved, resolved_bad }; 939 resolved call if successful. ARGS contains the arguments to the call. 965 *res = resolved; 971 *res = resolved; 978 *res = resolved; 990 resolved call if successful. ARGS contains the arguments to the call. 1048 *res = resolved; 935 enum resolution { unresolved, resolved, resolved_bad }; enumerator in enum:resolution [all...] |
| /src/external/gpl3/binutils/dist/gas/config/ |
| obj-elf-attr.c | 393 bool resolved = false; local 399 for (size_t i = 0; i < known_subsec->len && ! resolved; ++i) 400 resolved 406 if (resolved) 412 return resolved; 455 bool resolved = false; local 469 for (size_t i = 0; i < N_identifiers && ! resolved; ++i) 470 resolved = resolve_if_matching (identifier, 483 resolved = obj_attr_v1_lookup_known_attr_tag_symbol 489 resolved = obj_attr_v2_lookup_known_attr_tag_symbo 668 bool resolved = true; local [all...] |
| /src/external/gpl3/binutils/dist/gas/ |
| symbols.c | 43 /* Whether symbol value has been completely resolved (used during 45 unsigned int resolved : 1; member in struct:symbol_flags 47 /* Whether the symbol value is currently being resolved (used to 107 /* Symbol flags. Only local_symbol and resolved are relevant. */ 444 struct symbol_flags flags = { .local_symbol = 1, .resolved = 0 }; 1257 int resolved; 1266 if (locsym->flags.resolved) 1279 locsym->flags.resolved = 1; 1285 if (symp->flags.resolved) 1298 if (!symp->flags.resolved) 1253 int resolved; local 1847 int resolved; local [all...] |
| /src/external/gpl3/binutils.old/dist/gas/ |
| symbols.c | 43 /* Whether symbol value has been completely resolved (used during 45 unsigned int resolved : 1; member in struct:symbol_flags 47 /* Whether the symbol value is currently being resolved (used to 107 /* Symbol flags. Only local_symbol and resolved are relevant. */ 444 struct symbol_flags flags = { .local_symbol = 1, .resolved = 0 }; 1257 int resolved; 1266 if (locsym->flags.resolved) 1279 locsym->flags.resolved = 1; 1285 if (symp->flags.resolved) 1298 if (!symp->flags.resolved) 1253 int resolved; local 1847 int resolved; local [all...] |
| /src/usr.bin/make/unit-tests/ |
| varmod-to-abs.mk | 10 # variable with the same name as the path that is to be resolved. There were
|
| /src/external/bsd/unbound/dist/iterator/ |
| iter_delegpt.c | 82 copy->nslist->resolved = ns->resolved; 126 ns->resolved = 0; 189 ns->resolved = 1; 255 if(!ns->resolved) 303 (ns->resolved?"*":""), 391 if(ns->resolved) continue; 555 ns->resolved = 1; 578 ns->resolved = 1; 588 ns->resolved = 1 [all...] |