Home
last modified time | relevance | path

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

/coreutils/gl/lib/
Drandperm.c120 sparse_swap (sparse_map *sv, size_t *v, size_t i, size_t j) in sparse_swap() argument
122 struct sparse_ent_ *v1 = hash_remove (sv, &(struct sparse_ent_) {i,0}); in sparse_swap()
123 struct sparse_ent_ *v2 = hash_remove (sv, &(struct sparse_ent_) {j,0}); in sparse_swap()
140 if (!hash_insert (sv, v1)) in sparse_swap()
142 if (!hash_insert (sv, v2)) in sparse_swap()
149 sparse_free (sparse_map *sv) in sparse_free() argument
151 hash_free (sv); in sparse_free()
207 sparse_map *sv; in randperm_new() local
211 sv = sparse_new (h * 2); in randperm_new()
212 if (sv == nullptr) in randperm_new()
[all …]
/coreutils/src/
Dexpr.c571 docolon (VALUE *sv, VALUE *pv) in docolon() argument
580 tostring (sv); in docolon()
598 matchlen = re_match (&re_buffer, sv->u.s, strlen (sv->u.s), 0, &re_regs); in docolon()
608 sv->u.s[re_regs.end[1]] = '\0'; in docolon()
609 v = str_value (sv->u.s + re_regs.start[1]); in docolon()
618 : mbs_offset_to_chars (sv->u.s, matchlen)); in docolon()