Home
last modified time | relevance | path

Searched refs:str_val (Results 1 – 25 of 25) sorted by relevance

/external/libweave/third_party/chromium/base/json/
Djson_reader_unittest.cc202 std::string str_val; in TEST() local
203 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
204 EXPECT_EQ("hello world", str_val); in TEST()
210 str_val.clear(); in TEST()
211 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
212 EXPECT_EQ("", str_val); in TEST()
218 str_val.clear(); in TEST()
219 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
220 EXPECT_EQ(" \"\\/\b\f\n\r\t\v", str_val); in TEST()
226 str_val.clear(); in TEST()
[all …]
/external/libchrome/base/json/
Djson_reader_unittest.cc207 std::string str_val; in TEST() local
208 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
209 EXPECT_EQ("hello world", str_val); in TEST()
215 str_val.clear(); in TEST()
216 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
217 EXPECT_EQ("", str_val); in TEST()
223 str_val.clear(); in TEST()
224 EXPECT_TRUE(root->GetAsString(&str_val)); in TEST()
225 EXPECT_EQ(" \"\\/\b\f\n\r\t\v", str_val); in TEST()
231 str_val.clear(); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dwin32regkey_unittest.cc176 wchar_t* str_val = NULL; in RegKeyNonStaticFunctionsTest() local
249 EXPECT_SUCCEEDED(r_key.GetValue(kValNameStr, &str_val)); in RegKeyNonStaticFunctionsTest()
250 EXPECT_TRUE(lstrcmp(str_val, kStrVal) == 0); in RegKeyNonStaticFunctionsTest()
251 delete[] str_val; in RegKeyNonStaticFunctionsTest()
257 EXPECT_SUCCEEDED(r_key.GetValue(kValNameStr, &str_val)); in RegKeyNonStaticFunctionsTest()
258 EXPECT_TRUE(lstrcmp(str_val, kStrVal2) == 0); in RegKeyNonStaticFunctionsTest()
259 delete[] str_val; in RegKeyNonStaticFunctionsTest()
371 wchar_t* str_val = NULL; in RegKeyStaticFunctionsTest() local
461 EXPECT_SUCCEEDED(RegKey::GetValue(kFullRkey1, kValNameStr, &str_val)); in RegKeyStaticFunctionsTest()
462 EXPECT_TRUE(lstrcmp(str_val, kStrVal) == 0); in RegKeyStaticFunctionsTest()
[all …]
/external/mksh/src/
Deval.c351 x.str = str_val(&v); in expand()
411 str_val(x.var), in expand()
423 (unsigned int)hash(str_val(st->var))); in expand()
429 print_value_quoted(&shf, str_val(st->var)); in expand()
462 beg = str_val(st->var); in expand()
522 strdupx(s, str_val(st->var), ATEMP); in expand()
678 x.str = trimsub(str_val(st->var), in expand()
721 x.str = str_val(st->var); in expand()
1105 p = str_val(global(sp)); in varsub()
1241 str_val(vp)); in varsub()
[all …]
Dvar.c196 cp = shf_smprintf("%s%s", str_val(vp), p); in array_index_calc()
358 str_val(struct tbl *vp) in str_val() function
488 setstr(vq, str_val(vp), KSH_RETURN_ERROR); in setint()
820 qval = str_val(vp); in typeset()
860 qval = str_val(vp); in typeset()
926 s = str_val(t); in typeset()
977 tval = shf_smprintf("%s%s", str_val(vp), val); in typeset()
1139 val = str_val(vp); in makenv()
1267 sethistfile(str_val(vp)); in setspec()
1271 setctypes(s = str_val(vp), C_IFS); in setspec()
[all …]
Dexec.c918 sh = str_val(global("EXECSHELL")); in scriptexec()
1167 if ((fpath = str_val(global("FPATH"))) == null) { in findcom()
1212 (fpath = str_val(global("FPATH"))) != null && in findcom()
1653 if (print_menu || !*str_val(global("REPLY"))) in do_selectargs()
1655 shellf("%s", str_val(global("PS3"))); in do_selectargs()
1659 if (*(s = str_val(global("REPLY")))) in do_selectargs()
Dmain.c365 cp = str_val(vp); in main_init()
391 (!ksheuid && !strchr(str_val(vp), '#'))) in main_init()
568 ccp = str_val(global("LC_ALL")); in main_init()
570 ccp = str_val(global("LC_CTYPE")); in main_init()
572 ccp = str_val(global("LANG")); in main_init()
Dexpr.c243 setstr(vp, str_val(v), error_ok); in v_evaluate()
264 s = str_val(es->val); in evalerr()
753 v_evaluate(vq, str_val(vp), KSH_UNWIND_ERROR, es->arith); in intvar()
Dmisc.c345 shf_puts(substitute(str_val(global("PS4")), 0), shl_xtrace); in change_xtrace()
1831 if ((dir = str_val(global("HOME"))) == null) { in c_cd()
1841 dir = str_val(oldpwd_s); in c_cd()
1894 cdpath = str_val(global("CDPATH")); in c_cd()
Dlex.c1477 ps1 = str_val(global("PS1")); in set_prompt()
1511 prompt = str_val(global("PS2")); in set_prompt()
Dhistrap.c758 if (((hname = str_val(global("HISTFILE"))) == NULL) || !*hname) { in hist_init()
Dsh.h2022 char *str_val(struct tbl *);
Dedit.c474 if ((fpath = str_val(global("FPATH"))) != null) in x_command_glob()
831 const char *ifs = str_val(local("IFS", 0)); in x_escape()
Dfuncs.c1022 s = str_val(vp); in c_typeset_vardump()
/external/v8/test/mjsunit/
Dstrict-mode.js982 var str_val = "string";
983 var str_obj = new String(str_val);
984 var str_cat = str_val + str_val + str_obj;
986 assertThrows(function() { str_val.length = 1; }, TypeError);
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc4319 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
4320 if (str_val == NULL) { in Int32FromEnvOrDie()
4326 str_val, &result)) { in Int32FromEnvOrDie()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc4381 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
4382 if (str_val == NULL) { in Int32FromEnvOrDie()
4388 str_val, &result)) { in Int32FromEnvOrDie()
/external/mesa3d/src/gtest/src/
Dgtest.cc4349 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
4350 if (str_val == NULL) { in Int32FromEnvOrDie()
4356 str_val, &result)) { in Int32FromEnvOrDie()
/external/protobuf/gtest/src/
Dgtest.cc4137 const char* str_val = posix::GetEnv(var); in UnitTestImpl() local
4138 if (str_val == NULL) { in UnitTestImpl()
4144 str_val, &result)) { in UnitTestImpl()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest.cc4423 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
4424 if (str_val == NULL) { in Int32FromEnvOrDie()
4430 str_val, &result)) { in Int32FromEnvOrDie()
/external/gtest/src/
Dgtest.cc4427 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
4428 if (str_val == NULL) { in Int32FromEnvOrDie()
4434 str_val, &result)) { in Int32FromEnvOrDie()
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc5477 const char* str_val = posix::GetEnv(var); in UnitTestImpl() local
5478 if (str_val == NULL) { in UnitTestImpl()
5484 str_val, &result)) { in UnitTestImpl()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc5911 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
5912 if (str_val == NULL) { in Int32FromEnvOrDie()
5918 str_val, &result)) { in Int32FromEnvOrDie()
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
Dgtest-all.cc5911 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
5912 if (str_val == NULL) { in Int32FromEnvOrDie()
5918 str_val, &result)) { in Int32FromEnvOrDie()
/external/opencv3/modules/ts/src/
Dts_gtest.cpp5935 const char* str_val = posix::GetEnv(var); in Int32FromEnvOrDie() local
5936 if (str_val == NULL) { in Int32FromEnvOrDie()
5942 str_val, &result)) { in Int32FromEnvOrDie()