Lines Matching refs:len

1444  * and len specifies its length (comparing a strings length before the string
1449 ld_generic_env(const char *s1, size_t len, const char *s2, Word *lmflags,
1476 if ((len == MSG_LD_AUDIT_SIZE) && (strncmp(s1,
1484 } else if ((len == MSG_LD_AUDIT_ARGS_SIZE) &&
1499 if ((len == MSG_LD_BIND_LAZY_SIZE) && (strncmp(s1,
1505 } else if ((len == MSG_LD_BIND_NOW_SIZE) && (strncmp(s1,
1510 } else if ((len == MSG_LD_BIND_NOT_SIZE) && (strncmp(s1,
1520 } else if ((len == MSG_LD_BINDINGS_SIZE) && (strncmp(s1,
1535 if ((len == MSG_LD_CAP_FILES_SIZE) && (strncmp(s1,
1541 } else if ((len == MSG_LD_CONFGEN_SIZE) && (strncmp(s1,
1551 } else if ((len == MSG_LD_CONFIG_SIZE) && (strncmp(s1,
1572 if ((len == MSG_LD_DEBUG_SIZE) && (strncmp(s1,
1577 } else if ((len == MSG_LD_DEBUG_OUTPUT_SIZE) && (strncmp(s1,
1583 } else if ((len == MSG_LD_DEFERRED_SIZE) && (strncmp(s1,
1588 } else if ((len == MSG_LD_DEMANGLE_SIZE) && (strncmp(s1,
1601 if ((len == MSG_LD_FLAGS_SIZE) && (strncmp(s1,
1613 if ((len == MSG_LD_HWCAP_SIZE) && (strncmp(s1,
1625 if ((len == MSG_LD_INIT_SIZE) && (strncmp(s1,
1636 if ((len == MSG_LD_LIBPATH_SIZE) && (strncmp(s1,
1642 } else if ((len == MSG_LD_LOADAVAIL_SIZE) && (strncmp(s1,
1653 } else if ((len == MSG_LD_LOADFLTR_SIZE) && (strncmp(s1,
1663 if ((len == MSG_LD_MACHCAP_SIZE) && (strncmp(s1,
1675 if ((len == MSG_LD_NOAUDIT_SIZE) && (strncmp(s1,
1680 } else if ((len == MSG_LD_NOAUXFLTR_SIZE) && (strncmp(s1,
1685 } else if ((len == MSG_LD_NOBAPLT_SIZE) && (strncmp(s1,
1690 } else if ((len == MSG_LD_NOCONFIG_SIZE) && (strncmp(s1,
1695 } else if ((len == MSG_LD_NODIRCONFIG_SIZE) && (strncmp(s1,
1701 } else if ((len == MSG_LD_NODIRECT_SIZE) && (strncmp(s1,
1706 } else if ((len == MSG_LD_NOENVCONFIG_SIZE) && (strncmp(s1,
1712 } else if ((len == MSG_LD_NOFLTCONFIG_SIZE) && (strncmp(s1,
1718 } else if ((len == MSG_LD_NOLAZY_SIZE) && (strncmp(s1,
1723 } else if ((len == MSG_LD_NOOBJALTER_SIZE) && (strncmp(s1,
1729 } else if ((len == MSG_LD_NOVERSION_SIZE) && (strncmp(s1,
1734 } else if ((len == MSG_LD_NOUNRESWEAK_SIZE) && (strncmp(s1,
1743 } else if ((len == MSG_LD_NOPAREXT_SIZE) && (strncmp(s1,
1748 } else if ((len == MSG_LD_NOENVIRON_SIZE) && (strncmp(s1,
1762 if ((len == MSG_LD_PLATCAP_SIZE) && (strncmp(s1,
1768 } else if ((len == MSG_LD_PRELOAD_SIZE) && (strncmp(s1,
1774 } else if ((len == MSG_LD_PROFILE_SIZE) && (strncmp(s1,
1781 } else if ((len == MSG_LD_PROFILE_OUTPUT_SIZE) && (strncmp(s1,
1796 if ((len == MSG_LD_SFCAP_SIZE) && (strncmp(s1,
1802 } else if ((len == MSG_LD_SIGNAL_SIZE) &&
1818 if (((len == MSG_LD_TRACE_OBJS_SIZE) &&
1821 ((len == MSG_LD_TRACE_OBJS_E_SIZE) &&
1847 } else if ((len == MSG_LD_TRACE_PTHS_SIZE) && (strncmp(s1,
1859 if ((len == MSG_LD_UNREF_SIZE) && (strncmp(s1,
1864 } else if ((len == MSG_LD_UNUSED_SIZE) && (strncmp(s1,
1875 if ((len == MSG_LD_VERBOSE_SIZE) && (strncmp(s1,
1886 if ((len == MSG_LD_WARN_SIZE) && (strncmp(s1,
2083 ld_arch_env(const char *s1, size_t *len)
2085 size_t _len = *len - 3;
2092 *len = *len - 3;
2098 *len = *len - 3;
2126 size_t nlen, len;
2135 len = strlen(str);
2136 if ((nstr = malloc(len + 1)) == NULL)
2140 for (sstr = nstr; sstr; sstr++, len--) {
2193 * specific. The length, len, will reflect the architecture
2200 if (len == 0)
2281 size_t len;
2300 len = strlen(s1);
2303 len = strlen(s1) - 1;
2306 len = s2 - s1 - 1;
2313 * specific. The length, len, will reflect the architecture neutral
2316 if ((flags = ld_arch_env(s1, &len)) == ENV_TYP_IGNORE)
2320 ld_generic_env(s1, len, s2, lmflags, lmtflags, env_flags, aout);
2803 int len;
2810 len = doprintf(format, args, &prf);
2816 return (len - 1);
2824 int len;
2831 len = doprintf(format, args, &prf);
2834 return (len);
2842 int len;
2845 len = doprintf(format, args, prf);
2848 return (len);
3145 dz_map(Lm_list *lml, caddr_t addr, size_t len, int prot, int flags)
3149 if ((va = (caddr_t)mmap(addr, len, prot,
3162 nu_map(Lm_list *lml, caddr_t addr, size_t len, int prot, int flags)
3177 if ((va = (caddr_t)mmap(addr, len, prot, flags, nu_fd, 0)) ==