Searched defs:vars (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-head/contrib/atf/atf-c/
H A Dtc_test.c110 ATF_TC(vars); variable
111 ATF_TC_HEAD(vars, tc)
116 ATF_TC_BODY(vars, tcin)
176 ATF_TP_ADD_TC(tp, vars);
/freebsd-head/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_environment.h48 // Process block.vars[ i ].name and block.vars[ i ].value...
61 kmp_env_var_t *vars; member in struct:__kmp_env_blk
H A Dkmp_environment.cpp245 kmp_env_var_t *vars = NULL; local
246 int count = 0; // Number of used elements in vars array.
252 // Loop thru all the vars in environment block. Count delimiters (maximum
266 // Allocate vars array.
267 vars = (kmp_env_var_t *)allocate((delimiters + 1) * sizeof(kmp_env_var_t));
277 // Save found variable in vars array.
280 vars[count].name = name;
281 vars[count].value = value;
290 block->vars = vars;
[all...]
/freebsd-head/contrib/kyua/engine/
H A Dplain.cpp64 const config::properties_map& /* vars */) const
91 /// \param vars User-provided variables to pass to the test program.
96 const config::properties_map& vars,
101 for (config::properties_map::const_iterator iter = vars.begin();
102 iter != vars.end(); ++iter) {
93 exec_test( const model::test_program& test_program, const std::string& test_case_name, const config::properties_map& vars, const fs::path& ) const argument
H A Dtap.cpp111 const config::properties_map& /* vars */) const
138 /// \param vars User-provided variables to pass to the test program.
143 const config::properties_map& vars,
148 for (config::properties_map::const_iterator iter = vars.begin();
149 iter != vars.end(); ++iter) {
140 exec_test( const model::test_program& test_program, const std::string& test_case_name, const config::properties_map& vars, const fs::path& ) const argument
H A Dtap_helpers.cpp70 std::set< std::string > vars; local
74 vars.insert(*iter);
81 if (vars == exp_vars) {
87 << F(" Expected: %s\nFound: %s\n") % exp_vars % vars; local
H A Datf.cpp88 /// \param vars User-provided variables to pass to the test program.
91 const config::properties_map& vars) const
96 for (config::properties_map::const_iterator iter = vars.begin();
97 iter != vars.end(); ++iter) {
174 /// \param vars User-provided variables to pass to the test program.
180 const config::properties_map& vars,
186 for (config::properties_map::const_iterator iter = vars.begin();
187 iter != vars.end(); ++iter) {
205 /// \param vars User-provided variables to pass to the test program.
210 const config::properties_map& vars,
178 exec_test(const model::test_program& test_program, const std::string& test_case_name, const config::properties_map& vars, const fs::path& control_directory) const argument
207 exec_cleanup( const model::test_program& test_program, const std::string& test_case_name, const config::properties_map& vars, const fs::path& ) const argument
[all...]
H A Dplain_helpers.cpp94 std::set< std::string > vars; local
98 vars.insert(*iter);
105 if (vars != exp_vars) {
106 fail(F("Expected: %s\nFound: %s\n") % exp_vars % vars); local
H A Dscheduler_test.cpp192 /// \param vars User-provided variables to pass to the test program.
196 const config::properties_map& vars) const
201 for (config::properties_map::const_iterator iter = vars.begin();
202 iter != vars.end(); ++iter) {
219 /// \param vars User-provided variables to pass to the test program.
222 const config::properties_map& vars)
246 } else if (name == "vars") {
247 for (config::properties_map::const_iterator iter = vars.begin();
248 iter != vars.end(); ++iter) {
281 } else if (name == "vars") {
312 exec_test(const model::test_program& test_program, const std::string& test_case_name, const config::properties_map& vars, const fs::path& control_directory) const argument
[all...]
/freebsd-head/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_getenv_thread.c79 static char vars[THREADED_NUM_VARS][128]; local
82 (void)snprintf(vars[i], sizeof(vars[i]),
91 (void)strlcpy(name, vars[i], sizeof(name));
95 ATF_CHECK(putenv(vars[i]) != -1);
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_debugging.cpp29 InternalMmapVector<StackVarDescr> vars; local
30 vars.reserve(16);
31 if (!ParseFrameDescription(frame_descr, &vars)) {
35 for (uptr i = 0; i < vars.size(); i++) {
36 if (offset <= vars[i].beg + vars[i].size) {
40 internal_strlcpy(name, vars[i].name_pos,
41 Min(name_size, vars[i].name_len + 1));
42 *region_address = addr - (offset - vars[i].beg);
43 *region_size = vars[
[all...]
H A Dasan_descriptions.cpp380 InternalMmapVector<StackVarDescr> vars; local
381 vars.reserve(16);
382 if (!ParseFrameDescription(frame_descr, &vars)) {
390 uptr n_objects = vars.size();
396 uptr prev_var_end = i ? vars[i - 1].beg + vars[i - 1].size : 0;
397 uptr next_var_beg = i + 1 < n_objects ? vars[i + 1].beg : ~(0UL);
398 PrintAccessAndVarIntersection(vars[i], offset, access_size, prev_var_end,
/freebsd-head/sys/net/altq/
H A Daltq_codel.h106 struct codel_vars vars; member in struct:codel
H A Daltq_codel.c318 c->vars.first_above_time = 0;
328 c->vars.first_above_time = 0;
332 c->vars.ldelay = now - *enqueue_time;
335 if (codel_time_before(c->vars.ldelay, c->params.target) ||
338 c->vars.first_above_time = 0;
341 if (c->vars.first_above_time == 0) {
345 c->vars.first_above_time = now + c->params.interval;
348 if (codel_time_after(now, c->vars.first_above_time))
361 codel_Newton_step(struct codel_vars *vars) argument
371 invsqrt = ((u_int32_t)vars
[all...]
/freebsd-head/crypto/openssh/
H A Dutf8.c313 const char *vars[] = { "LC_ALL", "LC_CTYPE", "LANG", NULL }; local
321 for (i = 0; vars[i] != NULL; i++) {
322 if ((cp = getenv(vars[i])) == NULL)
/freebsd-head/contrib/dialog/
H A Drc.c70 #define VAR_COUNT (sizeof(vars) / sizeof(vars_st))
92 static const vars_st vars[] = variable
125 }; /* vars */
150 if (dlg_strcmp(vars[i].name, name) == 0) {
420 fprintf(rc_file, "\n# %s\n", vars[i].comment);
421 switch (vars[i].type) {
423 fprintf(rc_file, "%s = %d\n", vars[i].name,
424 *((int *) vars[i].var));
427 fprintf(rc_file, "%s = \"%s\"\n", vars[i].name,
428 (char *) vars[
[all...]
/freebsd-head/usr.bin/usbhidctl/
H A Dusbhid.c53 } *vars; variable in typeref:struct:variable
78 pnext = &vars;
320 for (var = vars; var; var = var->next) {
359 for (var = vars; var; var = var->next) {
390 for (var = vars; var; var = var->next) {
422 for (var = vars; var; var = var->next) {
/freebsd-head/lib/libutil/
H A Dlogin_class.c200 struct login_vars *vars = paths ? pathvars : envars; local
208 while (vars->tag != NULL) {
209 const char * var = paths ? login_getpath(lc, vars->tag, NULL)
210 : login_getcapstr(lc, vars->tag, NULL, NULL);
215 setenv(vars->var, np, vars->overwrite);
217 } else if (vars->def != NULL) {
218 setenv(vars->var, vars->def, 0);
220 ++vars;
[all...]
/freebsd-head/contrib/bc/include/
H A Dprogram.h77 BcVec vars; member in struct:BcProgram
/freebsd-head/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h78 std::map<std::string, Init *, std::less<>> vars; member in class:llvm::TGLocalVarScope
93 auto It = vars.find(Name);
94 if (It != vars.end())
106 return vars.find(Name) != vars.end();
110 bool Ins = vars.insert(std::make_pair(std::string(Name), I)).second;
/freebsd-head/contrib/bmake/
H A Dfor.c87 strlist_t vars; /* Iteration variables */ member in struct:__anon8
101 strlist_clean(&arg->vars);
180 strlist_add_str(&new_for->vars, bmake_strldup(ptr, len), len);
183 if (strlist_num(&new_for->vars) == 0) {
243 len % (n = strlist_num(&new_for->vars))) {
246 " with %zu vars", len, n);
373 if (arg->sub_next + strlist_num(&arg->vars) > strlist_num(&arg->items)) {
403 STRLIST_FOREACH(var, &arg->vars, i) {
404 size_t vlen = strlist_info(&arg->vars, i);
426 STRLIST_FOREACH(var, &arg->vars,
[all...]
/freebsd-head/contrib/atf/atf-c/detail/
H A Dtp_main.c260 char **vars = atf_tc_get_md_vars(tc); local
263 INV(vars != NULL); /* Should be checked. */
268 for (ptr = vars; *ptr != NULL; ptr += 2) {
275 for (ptr = vars; *ptr != NULL; ptr += 2) {
281 atf_utils_free_charpp(vars);
/freebsd-head/contrib/atf/atf-c++/
H A Dtests.cpp269 vars_map vars; local
275 vars[*ptr] = *(ptr + 1);
281 return vars;
413 parse_vflag(const std::string& str, atf::tests::vars_map& vars) argument
420 vars[ws[0]] = "";
426 vars[ws[0]] = ws[1];
454 const atf::tests::vars_map& vars)
460 tc->init(vars);
471 const impl::vars_map vars = (*iter)->get_md_vars(); local
474 impl::vars_map::const_iterator iter2 = vars
453 init_tcs(void (*add_tcs)(tc_vector&), tc_vector& tcs, const atf::tests::vars_map& vars) argument
564 atf::tests::vars_map vars; local
[all...]
/freebsd-head/contrib/libucl/include/
H A Ducl++.h111 auto vars = reinterpret_cast<std::set<std::string> *>(ud); local
112 if (vars && data && len != 0) {
113 vars->emplace (data, data + len);
440 static Ucl parse (const std::string &in, const std::map<std::string, std::string> &vars, std::string &err) argument
442 auto config_func = [&vars] (ucl_parser *parser) {
443 for (const auto & item : vars) {
474 static Ucl parse (const char *in, const std::map<std::string, std::string> &vars, std::string &err) argument
480 return parse (std::string (in), vars, err);
497 static Ucl parse_from_file (const std::string &filename, const std::map<std::string, std::string> &vars, std::string &err) argument
499 auto config_func = [&vars] (ucl_parse
530 std::set<std::string> vars; local
552 std::set<std::string> vars; local
[all...]
/freebsd-head/bin/sh/
H A Dvar.c602 const char **vars; local
617 vars = ckmalloc(n * sizeof(*vars));
622 vars[i++] = vp->text;
626 qsort(vars, n, sizeof(*vars), var_compare);
632 if (!isassignment(vars[i]))
634 s = strchr(vars[i], '=');
636 outbin(vars[i], s - vars[
[all...]

Completed in 94 milliseconds

12