Searched refs:get_res (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | scoped_set_env.cc | 53 auto get_res = GetEnvironmentVariableA(var_name_.c_str(), buf, sizeof(buf)); in ScopedSetEnv() local 54 ABSL_INTERNAL_CHECK(get_res < sizeof(buf), "value exceeds buffer size"); in ScopedSetEnv() 56 if (get_res == 0) { in ScopedSetEnv() 59 old_value_.assign(buf, get_res); in ScopedSetEnv()
|
D | scoped_set_env_test.cc | 29 auto get_res = GetEnvironmentVariableA(name, buf, sizeof(buf)); in GetEnvVar() local 30 if (get_res >= sizeof(buf)) { in GetEnvVar() 34 if (get_res == 0) { in GetEnvVar() 38 return std::string(buf, get_res); in GetEnvVar()
|
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/ |
D | cgroup_xattr.c | 188 int i, set_res = 0, get_res = 0; in test_run() local 202 get_res |= cgrp_files_walking(".", get_xattrs); in test_run() 209 tst_resm(TINFO, "Get tests result: %s", (get_res) ? "FAIL" : "PASS"); in test_run()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | parse_test.cc | 75 auto get_res = GetEnvironmentVariableA(env_var_name, buf, sizeof(buf)); in GetTestTmpDirEnvVar() local 76 if (get_res >= sizeof(buf) || get_res == 0) { in GetTestTmpDirEnvVar() 80 return std::string(buf, get_res); in GetTestTmpDirEnvVar()
|
D | parse.cc | 229 auto get_res = GetEnvironmentVariableA(var_name, buf, sizeof(buf)); in GetEnvVar() local 230 if (get_res >= sizeof(buf)) { in GetEnvVar() 234 if (get_res == 0) { in GetEnvVar() 238 var_value = std::string(buf, get_res); in GetEnvVar()
|