/third_party/libinput/tools/ |
H A D | libinput-measure-touchpad-size.py | 208 "path", 217 if not args.path: 222 args.path = device.device_node 238 dev = pyudev.Devices.from_device_file(context, args.path) 252 fd = open(args.path, "rb")
|
/third_party/mesa3d/src/vulkan/util/ |
H A D | gen_enum_to_str.py | 470 for template, file_ in [(C_TEMPLATE, os.path.join(args.outdir, 'vk_enum_to_str.c')), 471 (H_TEMPLATE, os.path.join(args.outdir, 'vk_enum_to_str.h')), 472 (H_DEFINE_TEMPLATE, os.path.join(args.outdir, 'vk_enum_defines.h'))]: 475 file=os.path.basename(__file__),
|
/third_party/musl/libc-test/src/functionalext/unittest/ |
H A D | unit_test_ldso_dynlink.c | 59 * @tc.desc : Set path for default lib use dlns_set_namespace_lib_path 125 * @tc.desc : Set path for default lib use dlns_set_namespace_permitted_paths 181 * @tc.desc : Set asan lib path use handle_asan_path_open 197 * @tc.desc : Set lib path use handle_asan_path_open 213 * @tc.desc : Set both asan lib path and lib path use handle_asan_path_open 335 char *path = "/dev/random"; in dynlink_test_0220() local 336 fd = open(path, O_RDWR); in dynlink_test_0220() 389 char *path = "/dev/zero"; in dynlink_test_0250() local 390 int fd = open(path, O_RDW in dynlink_test_0250() [all...] |
/third_party/node/deps/openssl/openssl/crypto/modes/asm/ |
H A D | ghash-c64xplus.pl | 118 || [B0] SHRU $Z1,24,$xia ; Xi[15], avoid cross-path stall 125 || [B0] MV $Z0,$xia ; Xi[15], avoid cross-path stall 219 || [B0] SHRU $Z1,24,$xia ; Xi[15], avoid cross-path stall 230 || [B0] MV $Z0,$xia ; Xi[15], avoid cross-path stall
|
/third_party/node/deps/uvwasi/src/ |
H A D | fd_table.c | 94 /* Reserve room for the mapped path, real path, and normalized mapped path. */ in uvwasi_fd_table_insert() 109 /* Calculate the normalized version of the mapped path, as it will be used for in uvwasi_fd_table_insert() 110 any path calculations on this fd. Use the length of the mapped path as an in uvwasi_fd_table_insert() 111 upper bound for the normalized path length. */ in uvwasi_fd_table_insert() 167 entry->path = mp_copy; in uvwasi_fd_table_insert() 273 const char* path, in uvwasi_fd_table_insert_preopen() 280 if (table == NULL || path in uvwasi_fd_table_insert_preopen() 270 uvwasi_fd_table_insert_preopen(uvwasi_t* uvwasi, struct uvwasi_fd_table_t* table, const uv_file fd, const char* path, const char* real_path) uvwasi_fd_table_insert_preopen() argument [all...] |
/third_party/python/Tools/iobench/ |
H A D | iobench.py | 379 if os.path.isfile(name) and os.path.getsize(name) == size: 402 if os.path.isfile(name) and os.path.getsize(name) == size:
|
/third_party/python/Tools/scripts/ |
H A D | summarize_stats.py | 6 import os.path namespace 89 with open(os.path.join(DEFAULT_DIR, filename)) as fd: 234 spec_path = os.path.join(os.path.dirname(__file__), "../../Python/specialize.c")
|
/third_party/python/Lib/test/ |
H A D | _test_eintr.py | 332 'path = %a' % filename, 346 def python_open(self, path): 347 fp = open(path, 'w') 353 self._test_open("fp = open(path, 'r')\nfp.close()", 356 def os_open(self, path): 357 fd = os.open(path, os.O_WRONLY) 363 self._test_open("fd = os.open(path, os.O_RDONLY)\nos.close(fd)",
|
H A D | multibytecodec_support.py | 378 dir = os.path.join(os.path.dirname(__file__), 'cjkencodings') 379 with open(os.path.join(dir, name + '.txt'), 'rb') as f: 381 with open(os.path.join(dir, name + '-utf8.txt'), 'rb') as f:
|
H A D | test_string_literals.py | 22 exec()/eval(), which uses a different code path. 67 self.save_path = sys.path[:] 69 sys.path.insert(0, self.tmpdir) 72 sys.path[:] = self.save_path 278 fn = os.path.join(self.tmpdir, modname + ".py")
|
H A D | test_zipapp.py | 61 def skip_pyc_files(path): 62 return path.suffix != '.pyc' 78 # subdirectory (ensures that the path supplied to include 80 def skip_dummy_dir(path): 81 return path.parts[0] != 'dummy'
|
/third_party/python/Lib/ |
H A D | gettext.py | 61 _default_localedir = os.path.join(sys.base_prefix, 'share', 'locale') 494 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain) 495 if os.path.exists(mofile): 503 # a mapping between absolute .mo file path and Translation object 522 key = (class_, os.path.abspath(mofile))
|
H A D | contextlib.py | 770 def __init__(self, path): 771 self.path = path 776 os.chdir(self.path)
|
/third_party/openssl/crypto/modes/asm/ |
H A D | ghash-c64xplus.pl | 118 || [B0] SHRU $Z1,24,$xia ; Xi[15], avoid cross-path stall 125 || [B0] MV $Z0,$xia ; Xi[15], avoid cross-path stall 219 || [B0] SHRU $Z1,24,$xia ; Xi[15], avoid cross-path stall 230 || [B0] MV $Z0,$xia ; Xi[15], avoid cross-path stall
|
/third_party/skia/third_party/externals/angle2/src/common/spirv/ |
H A D | gen_spirv_builder_and_parser.py | 176 self.path_prefix = os.path.dirname(os.path.realpath(__file__)) + os.path.sep 212 data_source_base_name = os.path.basename(SPIRV_GRAMMAR_FILE)
|
/third_party/skia/src/core/ |
H A D | SkPictureData.cpp | 51 record.fPaths.foreach([this](const SkPath& path, int n) { in SkPictureData() 54 fPaths[n-1] = path; in SkPictureData() 157 for (const SkPath& path : fPaths) { in flattenToBuffer() 158 buffer.writePath(path); in flattenToBuffer()
|
/third_party/skia/src/gpu/v1/ |
H A D | StencilMaskHelper.cpp | 398 bool StencilMaskHelper::drawPath(const SkPath& path, in drawPath() argument 402 if (path.isEmpty()) { in drawPath() 408 // we rely on path rendering and how the chosen path renderer uses the stencil buffer. in drawPath() 417 // Make path canonical with regards to fill type (inverse handled by stencil settings). in drawPath() 418 bool fillInverted = path.isInverseFillType(); in drawPath() 419 SkTCopyOnFirstWrite<SkPath> clipPath(path); in drawPath()
|
/third_party/skia/samplecode/ |
H A D | SampleAndroidShadows.cpp | 143 void drawShadowedPath(SkCanvas* canvas, const SkPath& path, in drawShadowedPath() argument 164 SkShadowUtils::DrawShadow(canvas, path, zPlaneParams, lightPos, lightWidth, in drawShadowedPath() 168 canvas->drawPath(path, paint); in drawShadowedPath() 175 canvas->drawPath(path, strokePaint); in drawShadowedPath() 258 // path ops bug
|
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/ |
H A D | uperf.cpp | 33 "\t-s or --sourcedir source directory for files followed by path\n" 34 "\t followed by path\n" 296 pos = strchr( name, delim ); // check if name contains path (by looking for '/') in runTest() 298 path = pos+1; // store subpath for calling subtest in runTest() 301 path = NULL; in runTest() 323 this->path = pathVal; in setPath() 519 return testToBeCalled.runTest( path, par ); in callTest()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | pkg_gencmn.cpp | 112 pathToFullPath(const char *path, const char *source); 426 fprintf(stderr, "gencmn: Error: absolute path encountered. Old style paths are not supported. Use relative paths such as 'fur.res' or 'translit%cfur.res'.\n\tBad path: '%s'\n", U_FILE_SEP_CHAR, filename); in addFile() 512 pathToFullPath(const char *path, const char *source) { in pathToFullPath() argument 518 length = (uint32_t)(uprv_strlen(path) + 1); in pathToFullPath() 530 uprv_strcat(fullPath, path); in pathToFullPath()
|
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/ |
H A D | stream.py | 156 def path(self): member in StreamClient._StreamBase 157 """Returns (streamname.StreamPath): The stream path. 160 ValueError: if the stream path is invalid, or if the stream prefix is 171 path. 276 """Returns (streamname.StreamPath): The stream path. 282 KeyError: if information needed to construct the path is missing. 283 ValueError: if the stream path is invalid, or if the stream prefix is 299 path. 569 def __init__(self, path, **kwargs): 573 path (st [all...] |
/third_party/skia/third_party/externals/angle2/util/posix/ |
H A D | crash_handler_posix.cpp | 148 // Describes a region of mapped memory and the path of the file mapped. 163 // Byte offset into |path| of the range mapped into memory. 174 // NOTE: path names aren't guaranteed to point at valid files. For example, 177 std::string path; 260 // to determine the path name. It *does not* increment the return value. 294 regions.back().path.assign(line + path_index); 427 size_t pathSlashPos = region.path.rfind('/'); 428 if (pathSlashPos != std::string::npos && region.path.substr(pathSlashPos) == baseModule) 464 "/usr/bin/addr2line", // execv requires an absolute path to find addr2line 481 // path/t [all...] |
/third_party/skia/tools/ |
H A D | MSKPPlayer.cpp | 164 void onDrawPath(const SkPath& path, const SkPaint& paint) override { 165 fRecorder.getRecordingCanvas()->drawPath(path, paint); 321 void onDrawShadowRec(const SkPath& path, const SkDrawShadowRec& rec) override { 322 fRecorder.getRecordingCanvas()->private_draw_shadow_rec(path, rec);
|
/third_party/skia/tools/viewer/ |
H A D | SkottieSlide.cpp | 62 sk_sp<skresources::ExternalTrackAsset> loadAudioAsset(const char path[], 65 if (auto data = this->load(path, name)) { 113 SkottieSlide::SkottieSlide(const SkString& name, const SkString& path) in SkottieSlide() argument 114 : fPath(path) { in SkottieSlide()
|
/third_party/protobuf/objectivec/DevTools/ |
H A D | pddm.py | 369 import_resolver: a function that given a path will return a stream for 652 if not os.path.exists(a_path): 658 a_dir = os.path.dirname(a_path) 659 import_path = os.path.join(a_dir, name) 660 if not os.path.exists(import_path):
|