Home
last modified time | relevance | path

Searched refs:tmp_str (Results 1 – 13 of 13) sorted by relevance

/external/libbrillo/brillo/strings/
Dstring_utils.cc28 std::string tmp_str{str.substr(i, pos - i)}; in Split() local
30 base::TrimWhitespaceASCII(tmp_str, base::TRIM_ALL, &tmp_str); in Split()
31 if (!tmp_str.empty() || !purge_empty_strings) in Split()
32 tokens.emplace_back(std::move(tmp_str)); in Split()
/external/valgrind/callgrind/
Dclo.c411 const HChar* tmp_str; in CLG_() local
431 else if VG_STR_CLO(arg, "--fn-skip", tmp_str) { in CLG_()
432 fn_config* fnc = get_fnc(tmp_str); in CLG_()
436 else if VG_STR_CLO(arg, "--dump-before", tmp_str) { in CLG_()
437 fn_config* fnc = get_fnc(tmp_str); in CLG_()
441 else if VG_STR_CLO(arg, "--zero-before", tmp_str) { in CLG_()
442 fn_config* fnc = get_fnc(tmp_str); in CLG_()
446 else if VG_STR_CLO(arg, "--dump-after", tmp_str) { in CLG_()
447 fn_config* fnc = get_fnc(tmp_str); in CLG_()
451 else if VG_STR_CLO(arg, "--toggle-collect", tmp_str) { in CLG_()
[all …]
/external/valgrind/cachegrind/
Dcg_arch.c121 const HChar* tmp_str; in VG_() local
123 if VG_STR_CLO(arg, "--I1", tmp_str) { in VG_()
124 parse_cache_opt(clo_I1c, arg, tmp_str); in VG_()
126 } else if VG_STR_CLO(arg, "--D1", tmp_str) { in VG_()
127 parse_cache_opt(clo_D1c, arg, tmp_str); in VG_()
129 } else if (VG_STR_CLO(arg, "--L2", tmp_str) || // for backwards compatibility in VG_()
130 VG_STR_CLO(arg, "--LL", tmp_str)) { in VG_()
131 parse_cache_opt(clo_LLc, arg, tmp_str); in VG_()
/external/selinux/libsemanage/src/
Dparse_utils.c275 char *tmp_str = NULL; in parse_fetch_string() local
293 tmp_str = (char *)malloc(len + 1); in parse_fetch_string()
294 if (!tmp_str) { in parse_fetch_string()
299 strncpy(tmp_str, start, len); in parse_fetch_string()
300 *(tmp_str + len) = '\0'; in parse_fetch_string()
301 *str = tmp_str; in parse_fetch_string()
/external/valgrind/coregrind/
Dm_main.c446 const HChar* tmp_str; // Used in a couple of places. in main_process_cmd_line_options() local
599 else if VG_STR_CLO (arg, "--error-markers", tmp_str) { in main_process_cmd_line_options()
601 const HChar *startpos = tmp_str; in main_process_cmd_line_options()
634 else if VG_STR_CLO(arg, "--fair-sched", tmp_str) { in main_process_cmd_line_options()
635 if (VG_(strcmp)(tmp_str, "yes") == 0) in main_process_cmd_line_options()
637 else if (VG_(strcmp)(tmp_str, "try") == 0) in main_process_cmd_line_options()
639 else if (VG_(strcmp)(tmp_str, "no") == 0) in main_process_cmd_line_options()
775 else if VG_STR_CLO(arg, "--suppressions", tmp_str) { in main_process_cmd_line_options()
776 VG_(addToXA)(VG_(clo_suppressions), &tmp_str); in main_process_cmd_line_options()
779 else if VG_STR_CLO (arg, "--fullpath-after", tmp_str) { in main_process_cmd_line_options()
[all …]
/external/ltp/testcases/kernel/fs/mongo/
Dmongo_compare.c12 char tmp_str[20][100]; variable
125 strcpy(tmp_str[i], line2); in main()
130 fprintf(f4, "<tt>%s</tt><br>\n", tmp_str[k]); in main()
/external/libxml2/
Dc14n.c1018 xmlChar * tmp_str; in xmlC14NFixupBaseAttr() local
1040 tmp_str = xmlNodeListGetString(ctx->doc, attr->children, 1); in xmlC14NFixupBaseAttr()
1041 if(tmp_str == NULL) { in xmlC14NFixupBaseAttr()
1050 tmp_str_len = xmlStrlen(tmp_str); in xmlC14NFixupBaseAttr()
1051 if(tmp_str_len > 1 && tmp_str[tmp_str_len - 2] == '.') { in xmlC14NFixupBaseAttr()
1052 tmp_str2 = xmlStrcat(tmp_str, BAD_CAST "/"); in xmlC14NFixupBaseAttr()
1054 xmlFree(tmp_str); in xmlC14NFixupBaseAttr()
1061 tmp_str = tmp_str2; in xmlC14NFixupBaseAttr()
1065 tmp_str2 = xmlBuildURI(res, tmp_str); in xmlC14NFixupBaseAttr()
1067 xmlFree(tmp_str); in xmlC14NFixupBaseAttr()
[all …]
/external/valgrind/massif/
Dms_main.c382 const HChar* tmp_str; in ms_process_cmd_line_option() local
396 else if VG_STR_CLO(arg, "--alloc-fn", tmp_str) { in ms_process_cmd_line_option()
397 VG_(addToXA)(alloc_fns, &tmp_str); in ms_process_cmd_line_option()
399 else if VG_STR_CLO(arg, "--ignore-fn", tmp_str) { in ms_process_cmd_line_option()
400 VG_(addToXA)(ignore_fns, &tmp_str); in ms_process_cmd_line_option()
/external/libusb/libusb/os/
Dwindows_winusb.c563 char *tok, *tmp_str; in get_sub_api() local
569 tmp_str = _strdup(driver); in get_sub_api()
570 if (tmp_str == NULL) in get_sub_api()
573 tok = strtok(tmp_str, sep_str); in get_sub_api()
577 free(tmp_str); in get_sub_api()
584 free(tmp_str); in get_sub_api()
/external/walt/arduino/walt/
Dwalt.ino80 char tmp_str[256];
/external/valgrind/helgrind/
Dhg_main.c5577 const HChar* tmp_str; in hg_process_cmd_line_option() local
5595 else if VG_STR_CLO(arg, "--hg-sanity-flags", tmp_str) { in hg_process_cmd_line_option()
5598 if (6 != VG_(strlen)(tmp_str)) { in hg_process_cmd_line_option()
5604 if ('0' == tmp_str[j]) { /* do nothing */ } in hg_process_cmd_line_option()
5605 else if ('1' == tmp_str[j]) HG_(clo_sanity_flags) |= (1 << (6-1-j)); in hg_process_cmd_line_option()
/external/valgrind/memcheck/
Dmc_main.c6039 const HChar* tmp_str; in mc_process_cmd_line_options() local
6130 else if VG_STR_CLO(arg, "--ignore-ranges", tmp_str) { in mc_process_cmd_line_options()
6131 Bool ok = parse_ignore_ranges(tmp_str); in mc_process_cmd_line_options()
6160 else if VG_STR_CLO(arg, "--ignore-range-below-sp", tmp_str) { in mc_process_cmd_line_options()
6168 Bool ok = parse_UInt_pair(&tmp_str, &offs1, &offs2); in mc_process_cmd_line_options()
6170 if (ok && *tmp_str != 0) ok = False; in mc_process_cmd_line_options()
/external/pdfium/third_party/libopenjpeg20/
Dj2k.c6112 char *tmp_str = image->comps[i].sgnd?signed_str:unsigned_str; in opj_j2k_is_cinema_compliant() local
6118 i,image->comps[i].bpp, tmp_str); in opj_j2k_is_cinema_compliant()