/third_party/ltp/testcases/kernel/controllers/cpuset/ |
H A D | cpuset_funcs.sh | 217 local path="$1" 218 mkdir -p "$path" 227 if [ "$path" != "$CPUSET" ]; then 229 /bin/echo $cpus > $path/cpuset.cpus 235 /bin/echo $mems > $path/cpuset.mems 241 /bin/echo $load_balance > $path/cpuset.sched_load_balance
|
/third_party/node/test/parallel/ |
H A D | test-fs-promises-file-handle-writeFile.js | 10 const path = require('path'); 14 const tmpDir = tmpdir.path; 19 const filePathForHandle = path.resolve(tmpDir, 'tmp-write-file2.txt'); 34 const filePathForHandle = path.resolve(tmpDir, 'dogs-running.txt'); 49 const dest = path.resolve(tmpDir, 'tmp.txt'); 50 const otherDest = path.resolve(tmpDir, 'tmp-2.txt');
|
/third_party/node/test/fixtures/source-map/ |
H A D | inline-base64-json-error.js | 1 var cov_263bu3eqm8=function(){var path= "./branches.js";var hash="424788076537d051b5bf0e2564aef393124eabc7";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path: "./branches.js",statementMap:{"0":{start:{line:1,column:0},end:{line:7,column:1}},"1":{start:{line:2,column:2},end:{line:2,column:29}},"2":{start:{line:3,column:7},end:{line:7,column:1}},"3":{start:{line:4,column:2},end:{line:4,column:27}},"4":{start:{line:6,column:2},end:{line:6,column:29}},"5":{start:{line:10,column:2},end:{line:16,column:3}},"6":{start:{line:11,column:4},end:{line:11,column:28}},"7":{start:{line:12,column:9},end:{line:16,column:3}},"8":{start:{line:13,column:4},end:{line:13,column:31}},"9":{start:{line:15,column:4},end:{line:15,column:29}},"10":{start:{line:19,column:0},end:{line:19,column:12}},"11":{start:{line:20,column:0},end:{line:20,column:13}}},fnMap:{"0":{name:"branch",decl:{start:{line:9,column:9},end:{line:9,column:15}},loc:{start:{line:9,column:20},end:{line:17,column:1}},line:9}},branchMap:{"0":{loc:{start:{line:1,column:0},end:{line:7,column:1}},type:"if",locations:[{start:{line:1,column:0},end:{line:7,column:1}},{start:{line:1,column:0},end:{line:7,column:1}}],line:1},"1":{loc:{start:{line:3,column:7},end:{line:7,column:1}},type:"if",locations:[{start:{line:3,column:7},end:{line:7,column:1}},{start:{line:3,column:7},end:{line:7,column:1}}],line:3},"2":{loc:{start:{line:10,column:2},end:{line:16,column:3}},type:"if",locations:[{start:{line:10,column:2},end:{line:16,column:3}},{start:{line:10,column:2},end:{line:16,column:3}}],line:10},"3":{loc:{start:{line:12,column:9},end:{line:16,column:3}},type:"if",locations:[{start:{line:12,column:9},end:{line:16,column:3}},{start:{line:12,column:9},end:{line:16,column:3}}],line:12}},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0},f:{"0":0},b:{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0]},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184",hash:"424788076537d051b5bf0e2564aef393124eabc7"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}return coverage[path]=coverageData;}();cov_263bu3eqm8.s[0]++;if(false){cov_263bu3eqm8.b[0][0]++;cov_263bu3eqm8.s[1]++;console.info('unreachable');}else{cov_263bu3eqm8.b[0][1]++;cov_263bu3eqm8.s[2]++;if(true){cov_263bu3eqm8.b[1][0]++;cov_263bu3eqm8.s[3]++;console.info('reachable');}else{cov_263bu3eqm8.b[1][1]++;cov_263bu3eqm8.s[4]++;console.info('unreachable');}}function branch(a){cov_263bu3eqm8.f[0]++;cov_263bu3eqm8.s[5]++;if(a){cov_263bu3eqm8.b[2][0]++;cov_263bu3eqm8.s[6]++;console.info('a = true');}else{cov_263bu3eqm8.b[2][1]++;cov_263bu3eqm8.s[7]++;if(undefined){cov_263bu3eqm8.b[3][0]++;cov_263bu3eqm8.s[8]++;console.info('unreachable');}else{cov_263bu3eqm8.b[3][1]++;cov_263bu3eqm8.s[9]++;console.info('a = false');}}}cov_263bu3eqm8.s[10]++;branch(true);cov_263bu3eqm8.s[11]++;branch(false);
|
H A D | inline-base64-type-error.js | 1 var cov_263bu3eqm8=function(){var path= "./branches.js";var hash="424788076537d051b5bf0e2564aef393124eabc7";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path: "./branches.js",statementMap:{"0":{start:{line:1,column:0},end:{line:7,column:1}},"1":{start:{line:2,column:2},end:{line:2,column:29}},"2":{start:{line:3,column:7},end:{line:7,column:1}},"3":{start:{line:4,column:2},end:{line:4,column:27}},"4":{start:{line:6,column:2},end:{line:6,column:29}},"5":{start:{line:10,column:2},end:{line:16,column:3}},"6":{start:{line:11,column:4},end:{line:11,column:28}},"7":{start:{line:12,column:9},end:{line:16,column:3}},"8":{start:{line:13,column:4},end:{line:13,column:31}},"9":{start:{line:15,column:4},end:{line:15,column:29}},"10":{start:{line:19,column:0},end:{line:19,column:12}},"11":{start:{line:20,column:0},end:{line:20,column:13}}},fnMap:{"0":{name:"branch",decl:{start:{line:9,column:9},end:{line:9,column:15}},loc:{start:{line:9,column:20},end:{line:17,column:1}},line:9}},branchMap:{"0":{loc:{start:{line:1,column:0},end:{line:7,column:1}},type:"if",locations:[{start:{line:1,column:0},end:{line:7,column:1}},{start:{line:1,column:0},end:{line:7,column:1}}],line:1},"1":{loc:{start:{line:3,column:7},end:{line:7,column:1}},type:"if",locations:[{start:{line:3,column:7},end:{line:7,column:1}},{start:{line:3,column:7},end:{line:7,column:1}}],line:3},"2":{loc:{start:{line:10,column:2},end:{line:16,column:3}},type:"if",locations:[{start:{line:10,column:2},end:{line:16,column:3}},{start:{line:10,column:2},end:{line:16,column:3}}],line:10},"3":{loc:{start:{line:12,column:9},end:{line:16,column:3}},type:"if",locations:[{start:{line:12,column:9},end:{line:16,column:3}},{start:{line:12,column:9},end:{line:16,column:3}}],line:12}},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0},f:{"0":0},b:{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0]},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184",hash:"424788076537d051b5bf0e2564aef393124eabc7"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}return coverage[path]=coverageData;}();cov_263bu3eqm8.s[0]++;if(false){cov_263bu3eqm8.b[0][0]++;cov_263bu3eqm8.s[1]++;console.info('unreachable');}else{cov_263bu3eqm8.b[0][1]++;cov_263bu3eqm8.s[2]++;if(true){cov_263bu3eqm8.b[1][0]++;cov_263bu3eqm8.s[3]++;console.info('reachable');}else{cov_263bu3eqm8.b[1][1]++;cov_263bu3eqm8.s[4]++;console.info('unreachable');}}function branch(a){cov_263bu3eqm8.f[0]++;cov_263bu3eqm8.s[5]++;if(a){cov_263bu3eqm8.b[2][0]++;cov_263bu3eqm8.s[6]++;console.info('a = true');}else{cov_263bu3eqm8.b[2][1]++;cov_263bu3eqm8.s[7]++;if(undefined){cov_263bu3eqm8.b[3][0]++;cov_263bu3eqm8.s[8]++;console.info('unreachable');}else{cov_263bu3eqm8.b[3][1]++;cov_263bu3eqm8.s[9]++;console.info('a = false');}}}cov_263bu3eqm8.s[10]++;branch(true);cov_263bu3eqm8.s[11]++;branch(false);
|
H A D | inline-base64.js | 1 var cov_263bu3eqm8=function(){var path= "./branches.js";var hash="424788076537d051b5bf0e2564aef393124eabc7";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path: "./branches.js",statementMap:{"0":{start:{line:1,column:0},end:{line:7,column:1}},"1":{start:{line:2,column:2},end:{line:2,column:29}},"2":{start:{line:3,column:7},end:{line:7,column:1}},"3":{start:{line:4,column:2},end:{line:4,column:27}},"4":{start:{line:6,column:2},end:{line:6,column:29}},"5":{start:{line:10,column:2},end:{line:16,column:3}},"6":{start:{line:11,column:4},end:{line:11,column:28}},"7":{start:{line:12,column:9},end:{line:16,column:3}},"8":{start:{line:13,column:4},end:{line:13,column:31}},"9":{start:{line:15,column:4},end:{line:15,column:29}},"10":{start:{line:19,column:0},end:{line:19,column:12}},"11":{start:{line:20,column:0},end:{line:20,column:13}}},fnMap:{"0":{name:"branch",decl:{start:{line:9,column:9},end:{line:9,column:15}},loc:{start:{line:9,column:20},end:{line:17,column:1}},line:9}},branchMap:{"0":{loc:{start:{line:1,column:0},end:{line:7,column:1}},type:"if",locations:[{start:{line:1,column:0},end:{line:7,column:1}},{start:{line:1,column:0},end:{line:7,column:1}}],line:1},"1":{loc:{start:{line:3,column:7},end:{line:7,column:1}},type:"if",locations:[{start:{line:3,column:7},end:{line:7,column:1}},{start:{line:3,column:7},end:{line:7,column:1}}],line:3},"2":{loc:{start:{line:10,column:2},end:{line:16,column:3}},type:"if",locations:[{start:{line:10,column:2},end:{line:16,column:3}},{start:{line:10,column:2},end:{line:16,column:3}}],line:10},"3":{loc:{start:{line:12,column:9},end:{line:16,column:3}},type:"if",locations:[{start:{line:12,column:9},end:{line:16,column:3}},{start:{line:12,column:9},end:{line:16,column:3}}],line:12}},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0},f:{"0":0},b:{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0]},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184",hash:"424788076537d051b5bf0e2564aef393124eabc7"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}return coverage[path]=coverageData;}();cov_263bu3eqm8.s[0]++;if(false){cov_263bu3eqm8.b[0][0]++;cov_263bu3eqm8.s[1]++;console.info('unreachable');}else{cov_263bu3eqm8.b[0][1]++;cov_263bu3eqm8.s[2]++;if(true){cov_263bu3eqm8.b[1][0]++;cov_263bu3eqm8.s[3]++;console.info('reachable');}else{cov_263bu3eqm8.b[1][1]++;cov_263bu3eqm8.s[4]++;console.info('unreachable');}}function branch(a){cov_263bu3eqm8.f[0]++;cov_263bu3eqm8.s[5]++;if(a){cov_263bu3eqm8.b[2][0]++;cov_263bu3eqm8.s[6]++;console.info('a = true');}else{cov_263bu3eqm8.b[2][1]++;cov_263bu3eqm8.s[7]++;if(undefined){cov_263bu3eqm8.b[3][0]++;cov_263bu3eqm8.s[8]++;console.info('unreachable');}else{cov_263bu3eqm8.b[3][1]++;cov_263bu3eqm8.s[9]++;console.info('a = false');}}}cov_263bu3eqm8.s[10]++;branch(true);cov_263bu3eqm8.s[11]++;branch(false);
|
/third_party/node/deps/icu-small/source/common/ |
H A D | uresimp.h | 48 char *fPath; /* path to bundle - used for distinguishing between resources with the same name */ 78 * Used for /LOCALE/path alias resolution that starts back from the valid locale, 83 char *fResPath; /* full path to the resource: "zh_TW/CollationElements/Sequence" */ 158 ures_openNoDefault(const char* path, const char* localeID, UErrorCode* status); 176 * and path inside the locale, for example: "/myData/en/zoneStrings/3". Keys and indexes are supported. Keys 183 * @param pathToResource a path that will lead to the requested resource 194 * Returns a sub resource that can be located using the pathToResource argument. One needs a path inside 202 * @param pathToResource a path that will lead to the requested resource 217 * @param path path t [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | get_hash_generator.py | 35 param_desc_file = os.path.join(os.path.dirname(__file__), "get_hash_params.py") 37 GLAPI = os.path.join(os.path.dirname(__file__), "..", "..", "mapi", "glapi", "gen") 38 sys.path.insert(0, GLAPI) 138 program = os.path.basename(sys.argv[0])
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
H A D | file.js | 100 this.path = opts.path; 116 this.path === other.path && 161 static fromJSON(path, data) { 171 path,
|
/third_party/ltp/testcases/kernel/irq/ |
H A D | irqbalance01.c | 58 static char *read_proc_file(const char *const path, size_t *const len_out) in read_proc_file() argument 61 int fd = SAFE_OPEN(path, O_RDONLY); in read_proc_file() 79 tst_brk(TBROK, "Empty %s?", path); in read_proc_file() 93 char path[PATH_MAX]; in collect_irq_info() local 196 sprintf(path, "/proc/irq/%u/smp_affinity", irq_ids[row]); in collect_irq_info() 197 buf = read_proc_file(path, &len); in collect_irq_info()
|
/third_party/ltp/testcases/kernel/input/ |
H A D | input_helper.c | 38 char path[256]; in try_open_device() local 44 snprintf(path, sizeof(path), "/dev/input/event%i", i); in try_open_device() 46 fd = open(path, O_RDONLY); in try_open_device() 52 tst_resm(TINFO | TERRNO, "failed to open %s", path); in try_open_device() 60 path); in try_open_device()
|
/third_party/littlefs/scripts/ |
H A D | tailpipe.py | 22 def openio(path, mode='r', buffering=-1): 24 if path == '-': 30 return open(path, mode, buffering) 101 def main(path='-', *, lines=5, cat=False, sleep=None, keep_open=False): 123 with openio(path) as f: 134 print("error: file not found %r" % path) 152 'path',
|
/third_party/node/deps/undici/src/lib/cookies/ |
H A D | util.js | 88 * path-value = <any CHAR except CTLs or ";"> 89 * @param {string} path 91 function validateCookiePath (path) { 92 for (const char of path) { 96 throw new Error('Invalid cookie path') 219 cookie.path = '/' 240 if (cookie.path) { 241 validateCookiePath(cookie.path) 242 out.push(`Path=${cookie.path}`)
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | SubgroupOptimizer.java | 145 private RangeSpecification path = RangeSpecification.empty(); field in SubgroupOptimizer.SubgraphExtractionVisitor 163 RangeSpecification oldPath = path; in visit() 164 path = path.extendByMask(edge.getDigitMask()); in visit() 168 // Emit path if we are "below" the bridging node. in visit() 170 paths.add(path); in visit() 187 path = oldPath; in visit()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | bash.rs | 160 fn option_details_for_path(cmd: &Command, path: &str) -> String { in option_details_for_path() 161 debug!("option_details_for_path: path={}", path); in option_details_for_path() 163 let p = utils::find_subcommand_with_path(cmd, path.split("__").skip(1).collect()); in option_details_for_path() 214 fn all_options_for_path(cmd: &Command, path: &str) -> String { in all_options_for_path() 215 debug!("all_options_for_path: path={}", path); in all_options_for_path() 217 let p = utils::find_subcommand_with_path(cmd, path.split("__").skip(1).collect()); in all_options_for_path()
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | testutil.py | 64 def import_file(full_name: str, path: str) -> Any: 65 """Import a python module from a path""" 67 spec = importlib.util.spec_from_file_location(full_name, path) 86 grammar: Grammar, path: pathlib.PurePath, debug: bool = False, 89 """Generate a parser c extension for the given grammar in the given path 98 assert not os.listdir(path) 99 source = path / "parse.c" 107 build_dir=str(path),
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | test_reflow.py | 19 testsDir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'reflow-tests') 20 resultsDir = os.path.join(testsDir, 'results') 45 self.outDir = os.path.join(resultsDir, makeTestId(variations)) 70 return os.path.join(testsDir, *names)
|
/third_party/vk-gl-cts/external/amber/src/android_sample/jni/ |
H A D | amber_script.cc | 28 bool IsEndedWith(const std::string& path, const std::string& end) { in IsEndedWith() argument 29 const size_t path_size = path.size(); in IsEndedWith() 34 return path.compare(path_size - end_size, end_size, end) == 0; in IsEndedWith() 37 bool IsStartedWith(const std::string& path, const std::string& start) { in IsStartedWith() argument 38 const size_t path_size = path.size(); in IsStartedWith() 43 return path.compare(0, start_size, start) == 0; in IsStartedWith()
|
/third_party/skia/third_party/externals/spirv-tools/utils/ |
H A D | generate_language_headers.py | 19 import os.path namespace 30 dir = os.path.dirname(os.path.abspath(f)) 34 if e.errno == errno.EEXIST and os.path.isdir(dir): 162 parser.add_argument('--extinst-grammar', metavar='<path>', 165 parser.add_argument('--extinst-output-path', metavar='<path>', 172 grammar_name = os.path.splitext(os.path.basename(args.extinst_output_path))[0]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
H A D | generate_language_headers.py | 19 import os.path namespace 30 dir = os.path.dirname(os.path.abspath(f)) 34 if e.errno == errno.EEXIST and os.path.isdir(dir): 162 parser.add_argument('--extinst-grammar', metavar='<path>', 165 parser.add_argument('--extinst-output-path', metavar='<path>', 172 grammar_name = os.path.splitext(os.path.basename(args.extinst_output_path))[0]
|
/third_party/skia/tests/ |
H A D | SubsetPath.cpp | 12 SubsetPath::SubsetPath(const SkPath& path) in SubsetPath() argument 13 : fPath(path) in SubsetPath() 63 SubsetContours::SubsetContours(const SkPath& path) in SubsetContours() argument 64 : SubsetPath(path) { in SubsetContours() 148 SubsetVerbs::SubsetVerbs(const SkPath& path) in SubsetVerbs() argument 149 : SubsetPath(path) { in SubsetVerbs()
|
/third_party/python/Lib/test/libregrtest/ |
H A D | setup.py | 48 # Prepend test directory to sys.path, so runtest() will be able 50 sys.path.insert(0, os.path.abspath(ns.testdir)) 55 # These modules are searched first in sys.path[0] (so '' -- the CWD) and if 58 # not found in the CWD, and since the other paths in sys.path[1:] are absolute 64 for index, path in enumerate(module.__path__): 65 module.__path__[index] = os.path.abspath(path) 67 module.__file__ = os.path.abspath(module.__file__)
|
/third_party/python/Lib/test/ |
H A D | test_asdl_parser.py | 6 from os.path import dirname 17 parser_dir = os.path.join(src_base, 'Parser') 27 sys.path.insert(0, parser_dir) 29 'asdl', os.path.join(parser_dir, 'asdl.py')) 34 cls.mod = cls.asdl.parse(os.path.join(parser_dir, 'Python.asdl')) 39 del sys.path[0]
|
/third_party/skia/third_party/externals/tint/src/utils/io/ |
H A D | command_posix.cc | 100 bool ExecutableExists(const std::string& path) { in ExecutableExists() argument 102 if (stat(path.c_str(), &s) != 0) { in ExecutableExists() 117 std::istringstream path{path_env}; in FindExecutable() 119 while (getline(path, dir, ':')) { in FindExecutable() 131 Command::Command(const std::string& path) : path_(path) {} in Command() argument
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_loading.py | 34 CDLL(os.path.basename(libc_name)) 40 if os.path.basename(libc_name) != 'libc.so.6': 41 self.skipTest('wrong libc path for test') 134 target = os.path.join(tmp, "_sqlite3.dll") 136 shutil.copy(os.path.join(os.path.dirname(src), "sqlite3" + ext), 137 os.path.join(tmp, "sqlite3" + ext)) 159 # Relative path (but not just filename) should succeed 166 # Full path load without DLL_LOAD_DIR shouldn't find dependency 170 # Full path loa [all...] |
/third_party/python/Lib/wsgiref/ |
H A D | simple_server.py | 80 if '?' in self.path: 81 path,query = self.path.split('?',1) 83 path,query = self.path,'' 85 env['PATH_INFO'] = urllib.parse.unquote(path, 'iso-8859-1')
|