Lines Matching refs:begin
114 env_process_value(topo_hdl_t *thp, const char *begin, const char *end) in env_process_value() argument
120 while (begin < end && isspace(*begin)) in env_process_value()
121 begin++; in env_process_value()
123 while (begin < end && isspace(*(end - 1))) in env_process_value()
126 if (begin >= end) in env_process_value()
129 count = end - begin; in env_process_value()
135 (void) snprintf(buf, count, "%s", begin); in env_process_value()
312 topo_cleanup_strn(topo_hdl_t *thp, const char *begin, size_t max) in topo_cleanup_strn() argument
320 end = begin + max; in topo_cleanup_strn()
322 while (begin < end && isspace(*begin)) in topo_cleanup_strn()
323 begin++; in topo_cleanup_strn()
324 while (begin < end && (isspace(*(end - 1)) || *(end - 1) == '\0')) in topo_cleanup_strn()
327 if (begin >= end) in topo_cleanup_strn()
330 cp = begin; in topo_cleanup_strn()
349 topo_cleanup_auth_str(topo_hdl_t *thp, const char *begin) in topo_cleanup_auth_str() argument
351 return (topo_cleanup_strn(thp, begin, strlen(begin))); in topo_cleanup_auth_str()