Lines Matching refs:flag
228 ENTRY **retval, struct hsearch_data *htab, int flag, in _compare_and_overwrite_entry() argument
238 env_op_overwrite, flag)) { in _compare_and_overwrite_entry()
249 item.data, env_op_overwrite, flag)) { in _compare_and_overwrite_entry()
274 struct hsearch_data *htab, int flag) in hsearch_r() argument
314 flag, hval, idx); in hsearch_r()
347 htab, flag, hval, idx); in hsearch_r()
392 &htab->table[idx].entry, item.data, env_op_create, flag)) { in hsearch_r()
404 env_op_create, flag)) { in hsearch_r()
448 int hdelete_r(const char *key, struct hsearch_data *htab, int flag) in hdelete_r() argument
465 htab->change_ok(ep, NULL, env_op_delete, flag)) { in hdelete_r()
474 htab->table[idx].entry.callback(key, NULL, env_op_delete, flag)) { in hdelete_r()
537 static int match_string(int flag, const char *str, const char *pat, void *priv) in match_string() argument
539 switch (flag & H_MATCH_METHOD) { in match_string()
560 flag & H_MATCH_METHOD); in match_string()
566 static int match_entry(ENTRY *ep, int flag, in match_entry() argument
583 if (flag & H_MATCH_KEY) { in match_entry()
584 if (match_string(flag, ep->key, argv[arg], priv)) in match_entry()
587 if (flag & H_MATCH_DATA) { in match_entry()
588 if (match_string(flag, ep->data, argv[arg], priv)) in match_entry()
595 ssize_t hexport_r(struct hsearch_data *htab, const char sep, int flag, in hexport_r() argument
621 int found = match_entry(ep, flag, argc, argv); in hexport_r()
626 if ((flag & H_HIDE_DOT) && ep->key[0] == '.') in hexport_r()
786 const char *env, size_t size, const char sep, int flag, in himport_r() argument
813 if ((flag & H_NOCLEAR) == 0 && !nvars) { in himport_r()
901 if (hdelete_r(name, htab, flag) == 0) in himport_r()
932 hsearch_r(e, ENTER, &rv, htab, flag); in himport_r()
945 if (flag & H_NOCLEAR) in himport_r()
960 if (hdelete_r(localvars[i], htab, flag) == 0) in himport_r()