Lines Matching refs:strlen
70 glob_envp[0] = startd_alloc((unsigned)(strlen(DEF_PATH)+2)); in init_env()
87 length = strlen(line); in init_env()
95 (wslength = strspn(line, " \t\n")) == strlen(line) || in init_env()
130 length = strlen(tokp); in init_env()
221 strncmp(*p, DEF_PATH, strlen(DEF_PATH)) != 0) { in find_dup()
276 sz = strlen(path) + 1; in set_smf_env()
283 sz = sizeof ("SMF_FMRI=") + strlen(inst->ri_i.i_fmri); in set_smf_env()
291 sz = sizeof ("SMF_METHOD=") + strlen(method); in set_smf_env()
298 sz = sizeof ("SMF_RESTARTER=") + strlen(SCF_SERVICE_STARTD); in set_smf_env()
304 sz = sizeof ("SMF_ZONENAME=") + strlen(zonename); in set_smf_env()
312 sz = strlen(*p) + 1; in set_smf_env()
327 startd_free(*dup_pos, strlen(*dup_pos) + 1); in set_smf_env()
328 sz = strlen(*p) + 1; in set_smf_env()
332 sz = strlen(*p) + 1; in set_smf_env()