Home
last modified time | relevance | path

Searched refs:get_res (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dscoped_set_env.cc53 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()
Dscoped_set_env_test.cc29 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/
Dcgroup_xattr.c188 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/
Dparse_test.cc75 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()
Dparse.cc229 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()