Home
last modified time | relevance | path

Searched refs:next_str (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c164 char *next_str; in fs_parse_opts_for_sec_modes() local
165 next_str = strptr; in fs_parse_opts_for_sec_modes()
167 while (next_str != NULL) { in fs_parse_opts_for_sec_modes()
168 next_str = strstr(strptr, "sec="); in fs_parse_opts_for_sec_modes()
169 if (next_str != NULL) { in fs_parse_opts_for_sec_modes()
171 *(next_str - 1) = '\0'; in fs_parse_opts_for_sec_modes()
173 strptr = next_str; in fs_parse_opts_for_sec_modes()
174 next_str = strstr(strptr + 4, "sec="); in fs_parse_opts_for_sec_modes()
175 if (next_str != NULL) { in fs_parse_opts_for_sec_modes()
176 *(next_str - 1) = '\0'; in fs_parse_opts_for_sec_modes()
[all …]
/titanic_44/usr/src/cmd/sgs/mcs/common/
H A Dutils.c421 size_t next_str; in compress() local
436 next_str = 0; in compress()
444 pos = next_str; in compress()
447 (temp_string_size + (next_str - pos)) <= o_size) { in compress()
448 if (next_str >= str_size) { in compress()
457 strings[next_str++] = c; in compress()
460 if (next_str >= str_size) { in compress()
469 strings[next_str++] = NULL; in compress()
474 temp_string_size += (next_str - pos); in compress()
483 next_str = pos; in compress()
[all …]