Home
last modified time | relevance | path

Searched refs:glob (Results 1 - 25 of 254) sorted by relevance

1234567891011

/third_party/python/Lib/test/
H A Dtest_glob.py1 import glob namespace
53 def glob(self, *parts, **kwargs): member in GlobTests
59 res = glob.glob(p, **kwargs)
60 res2 = glob.iglob(p, **kwargs)
61 self.assertCountEqual(glob.iglob(p, **kwargs), res)
64 self.assertCountEqual(glob.glob(os.fsencode(p), **kwargs), bres)
65 self.assertCountEqual(glob.iglob(os.fsencode(p), **kwargs), bres)
68 res2 = glob
[all...]
H A Dtest_crashers.py8 import glob namespace
14 CRASHER_FILES = os.path.join(glob.escape(CRASHER_DIR), "*.py")
23 for fname in glob.glob(CRASHER_FILES):
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
H A Dttm_memory.c49 struct ttm_mem_global *glob; member
97 spin_lock(&zone->glob->lock); in ttm_mem_zone_show()
108 spin_unlock(&zone->glob->lock); in ttm_mem_zone_show()
114 static void ttm_check_swapping(struct ttm_mem_global *glob);
134 spin_lock(&zone->glob->lock); in ttm_mem_zone_store()
147 spin_unlock(&zone->glob->lock); in ttm_mem_zone_store()
149 ttm_check_swapping(zone->glob); in ttm_mem_zone_store()
183 struct ttm_mem_global *glob = in ttm_mem_global_show() local
187 spin_lock(&glob->lock); in ttm_mem_global_show()
188 val = glob in ttm_mem_global_show()
204 struct ttm_mem_global *glob = ttm_mem_global_store() local
237 ttm_zones_above_swap_target(struct ttm_mem_global *glob, bool from_wq, uint64_t extra) ttm_zones_above_swap_target() argument
269 ttm_shrink(struct ttm_mem_global *glob, bool from_wq, uint64_t extra, struct ttm_operation_ctx *ctx) ttm_shrink() argument
293 struct ttm_mem_global *glob = ttm_shrink_work() local
299 ttm_mem_init_kernel_zone(struct ttm_mem_global *glob, const struct sysinfo *si) ttm_mem_init_kernel_zone() argument
331 ttm_mem_init_highmem_zone(struct ttm_mem_global *glob, const struct sysinfo *si) ttm_mem_init_highmem_zone() argument
367 ttm_mem_init_dma32_zone(struct ttm_mem_global *glob, const struct sysinfo *si) ttm_mem_init_dma32_zone() argument
415 ttm_mem_global_init(struct ttm_mem_global *glob) ttm_mem_global_init() argument
462 ttm_mem_global_release(struct ttm_mem_global *glob) ttm_mem_global_release() argument
484 ttm_check_swapping(struct ttm_mem_global *glob) ttm_check_swapping() argument
506 ttm_mem_global_free_zone(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount) ttm_mem_global_free_zone() argument
523 ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount) ttm_mem_global_free() argument
541 ttm_check_under_lowerlimit(struct ttm_mem_global *glob, uint64_t num_pages, struct ttm_operation_ctx *ctx) ttm_check_under_lowerlimit() argument
558 ttm_mem_global_reserve(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount, bool reserve) ttm_mem_global_reserve() argument
598 ttm_mem_global_alloc_zone(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t memory, struct ttm_operation_ctx *ctx) ttm_mem_global_alloc_zone() argument
619 ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, struct ttm_operation_ctx *ctx) ttm_mem_global_alloc() argument
631 ttm_mem_global_alloc_page(struct ttm_mem_global *glob, struct page *page, uint64_t size, struct ttm_operation_ctx *ctx) ttm_mem_global_alloc_page() argument
652 ttm_mem_global_free_page(struct ttm_mem_global *glob, struct page *page, uint64_t size) ttm_mem_global_free_page() argument
[all...]
H A Dttm_bo.c90 struct ttm_bo_global *glob = in ttm_bo_global_show() local
94 atomic_read(&glob->bo_count)); in ttm_bo_global_show()
461 struct ttm_bo_global *glob = &ttm_bo_glob; in ttm_bo_delayed_delete() local
467 spin_lock(&glob->lru_lock); in ttm_bo_delayed_delete()
478 spin_unlock(&glob->lru_lock); in ttm_bo_delayed_delete()
481 spin_lock(&glob->lru_lock); in ttm_bo_delayed_delete()
487 spin_unlock(&glob->lru_lock); in ttm_bo_delayed_delete()
491 spin_lock(&glob->lru_lock); in ttm_bo_delayed_delete()
495 spin_unlock(&glob->lru_lock); in ttm_bo_delayed_delete()
1340 struct ttm_bo_global *glob in ttm_bo_global_kobj_release() local
1348 struct ttm_bo_global *glob = &ttm_bo_glob; ttm_bo_global_release() local
1364 struct ttm_bo_global *glob = &ttm_bo_glob; ttm_bo_global_init() local
1400 struct ttm_bo_global *glob = &ttm_bo_glob; ttm_bo_device_release() local
1452 struct ttm_bo_global *glob = &ttm_bo_glob; ttm_bo_device_init() local
1521 ttm_bo_swapout(struct ttm_bo_global *glob, struct ttm_operation_ctx *ctx) ttm_bo_swapout() argument
[all...]
/third_party/curl/src/
H A Dtool_urlglob.c38 glob->error = string, glob->pos = column, code
40 static CURLcode glob_fixed(struct URLGlob *glob, char *fixed, size_t len) in glob_fixed() argument
42 struct URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed()
90 static CURLcode glob_set(struct URLGlob *glob, char **patternp, in glob_set() argument
99 char *buf = glob->glob_buffer; in glob_set()
104 pat = &glob->pattern[glob->size]; in glob_set()
150 strdup(glob in glob_set()
185 glob_range(struct URLGlob *glob, char **patternp, size_t *posp, curl_off_t *amount, int globindex) glob_range() argument
373 glob_parse(struct URLGlob *glob, char *pattern, size_t pos, curl_off_t *amount) glob_parse() argument
451 glob_url(struct URLGlob **glob, char *url, curl_off_t *urlnum, FILE *error) glob_url() argument
507 glob_cleanup(struct URLGlob *glob) glob_cleanup() argument
530 glob_next_url(char **globbed, struct URLGlob *glob) glob_next_url() argument
626 glob_match_url(char **result, char *filename, struct URLGlob *glob) glob_match_url() argument
[all...]
/third_party/lz4/tests/
H A Dtest-lz4-versions.py10 import glob namespace
97 for lz4 in glob.glob("*.lz4"):
106 lz4s = sorted(glob.glob('*.lz4'))
113 lz4s = sorted(glob.glob('*.lz4'))
126 lz4s = sorted(glob.glob('*.lz4'))
132 lz4s = sorted(glob
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
H A Dttm_device.c51 struct ttm_global *glob = &ttm_glob; in ttm_global_release() local
60 __free_page(glob->dummy_read_page); in ttm_global_release()
61 memset(glob, 0, sizeof(*glob)); in ttm_global_release()
68 struct ttm_global *glob = &ttm_glob; in ttm_global_init() local
98 glob->dummy_read_page = alloc_page(__GFP_ZERO | GFP_DMA32); in ttm_global_init()
100 if (unlikely(glob->dummy_read_page == NULL)) { in ttm_global_init()
105 INIT_LIST_HEAD(&glob->device_list); in ttm_global_init()
106 atomic_set(&glob->bo_count, 0); in ttm_global_init()
109 &glob in ttm_global_init()
125 struct ttm_global *glob = &ttm_glob; ttm_global_swapout() local
197 struct ttm_global *glob = &ttm_glob; ttm_device_init() local
[all...]
/kernel/linux/linux-5.10/include/drm/ttm/
H A Dttm_memory.h82 int ttm_mem_global_init(struct ttm_mem_global *glob);
83 void ttm_mem_global_release(struct ttm_mem_global *glob);
84 int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory,
86 void ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount);
87 int ttm_mem_global_alloc_page(struct ttm_mem_global *glob,
90 void ttm_mem_global_free_page(struct ttm_mem_global *glob,
93 bool ttm_check_under_lowerlimit(struct ttm_mem_global *glob, uint64_t num_pages,
/third_party/skia/third_party/externals/freetype/builds/meson/
H A Dgenerate_reference_docs.py17 import glob namespace
48 glob.glob(os.path.join(args.input_dir, "include", "freetype", "*.h"))
49 + glob.glob(
54 + glob.glob(
/third_party/node/deps/minimatch/src/dist/cjs/
H A Dbrace-expressions.js30 // takes a glob string at a posix brace expression, and returns
36 const parseClass = (glob, position) => {
39 if (glob.charAt(pos) !== '[') {
52 WHILE: while (i < glob.length) {
53 const c = glob.charAt(i);
75 if (glob.startsWith(cls, i)) {
78 return ['$.', false, glob.length - pos, true];
107 if (glob.startsWith('-]', i + 1)) {
112 if (glob.startsWith('-', i + 1)) {
127 // cannot possibly match anything, and that poisons the whole glob
[all...]
/third_party/node/deps/npm/node_modules/minimatch/dist/cjs/
H A Dbrace-expressions.js30 // takes a glob string at a posix brace expression, and returns
36 const parseClass = (glob, position) => {
39 if (glob.charAt(pos) !== '[') {
52 WHILE: while (i < glob.length) {
53 const c = glob.charAt(i);
75 if (glob.startsWith(cls, i)) {
78 return ['$.', false, glob.length - pos, true];
107 if (glob.startsWith('-]', i + 1)) {
112 if (glob.startsWith('-', i + 1)) {
127 // cannot possibly match anything, and that poisons the whole glob
[all...]
/third_party/node/deps/minimatch/src/dist/mjs/
H A Dbrace-expressions.js27 // takes a glob string at a posix brace expression, and returns
33 export const parseClass = (glob, position) => {
36 if (glob.charAt(pos) !== '[') {
49 WHILE: while (i < glob.length) {
50 const c = glob.charAt(i);
72 if (glob.startsWith(cls, i)) {
75 return ['$.', false, glob.length - pos, true];
104 if (glob.startsWith('-]', i + 1)) {
109 if (glob.startsWith('-', i + 1)) {
124 // cannot possibly match anything, and that poisons the whole glob
[all...]
/third_party/node/deps/npm/node_modules/minimatch/dist/mjs/
H A Dbrace-expressions.js27 // takes a glob string at a posix brace expression, and returns
33 export const parseClass = (glob, position) => {
36 if (glob.charAt(pos) !== '[') {
49 WHILE: while (i < glob.length) {
50 const c = glob.charAt(i);
72 if (glob.startsWith(cls, i)) {
75 return ['$.', false, glob.length - pos, true];
104 if (glob.startsWith('-]', i + 1)) {
109 if (glob.startsWith('-', i + 1)) {
124 // cannot possibly match anything, and that poisons the whole glob
[all...]
/third_party/python/Tools/peg_generator/scripts/
H A Dtest_pypi_packages.py5 import glob namespace
32 glob.glob("./data/pypi/*.tar.gz")
33 + glob.glob("./data/pypi/*.zip")
34 + glob.glob("./data/pypi/*.tgz")
/third_party/skia/infra/bots/assets/chromebook_x86_64_gles/
H A Dcreate.py14 import glob namespace
47 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
49 to_copy.extend(glob.glob(os.path.join(gl_path,'libdrm*')))
/third_party/skia/infra/bots/assets/chromebook_arm_gles/
H A Dcreate.py14 import glob namespace
47 to_copy = glob.glob(os.path.join(gl_path,'libGL*'))
48 to_copy.extend(glob.glob(os.path.join(gl_path,'libEGL*')))
49 to_copy.extend(glob.glob(os.path.join(gl_path,'libmali*')))
/third_party/vk-gl-cts/external/amber/src/tools/
H A Dcheck_language.py100 for glob in skip_glob_list:
101 for match in fnmatch.filter(dirs, glob):
110 def filtered_descendants(glob):
111 """Returns glob-matching filenames under the current directory, but skips
113 return find('.', glob, ['third_party', 'external', 'build*', 'out*',
146 def alert_if_lang_matches(glob):
149 Finds all glob-matching files under the current directory and checks if they
157 for file in filtered_descendants(glob):
173 for glob in globs:
174 count += alert_if_lang_matches(glob)
[all...]
H A Dcopyright.py55 for glob in skip_glob_list:
56 for match in fnmatch.filter(dirs, glob):
63 def filtered_descendants(glob):
64 """Returns glob-matching filenames under the current directory, but skips
66 return find('.', glob, ['third_party', 'external', 'build*', 'out*',
88 def insert_copyright(glob, comment_prefix):
89 """Finds all glob-matching files under the current directory and inserts the
97 for file in filtered_descendants(glob):
110 def alert_if_no_copyright(glob, comment_prefix):
113 Finds all glob
[all...]
/third_party/notofonts/scripts/
H A Dversionator.py27 LATEST_ANDROID_PATH = sorted(list(ANDROID_PATH.glob("??")))[-1]
75 for file in (IOS_PATH_1).glob("Noto*.tt?"):
77 for file in (IOS_PATH_2).glob("Noto*.tt?"):
82 for file in MACOS_PATH.glob("Noto*.tt?"):
85 for file in (MACOS_PATH / "Supplemental/").glob("Noto*.tt?"):
88 for file in (LATEST_ANDROID_PATH).glob("Noto*.tt?"):
111 for file in Path("fedora-noto").glob("**/Noto*.tt?"):
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dcheck_copyright.py79 for glob in skip_glob_dir_list:
80 for match in fnmatch.filter(dirs, glob):
89 def filtered_descendants(glob):
90 """Returns glob-matching filenames under the current directory, but skips
92 return find('.', glob, ['third_party', 'external', 'CompilerIdCXX',
112 def insert_copyright(author, glob, comment_prefix):
113 """Finds all glob-matching files under the current directory and inserts the
125 for file in filtered_descendants(glob):
164 def alert_if_no_copyright(glob, comment_prefix):
167 Finds all glob
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
H A Dcheck_copyright.py79 for glob in skip_glob_dir_list:
80 for match in fnmatch.filter(dirs, glob):
89 def filtered_descendants(glob):
90 """Returns glob-matching filenames under the current directory, but skips
92 return find('.', glob, ['third_party', 'external', 'CompilerIdCXX',
112 def insert_copyright(author, glob, comment_prefix):
113 """Finds all glob-matching files under the current directory and inserts the
125 for file in filtered_descendants(glob):
164 def alert_if_no_copyright(glob, comment_prefix):
167 Finds all glob
[all...]
/third_party/spirv-tools/utils/
H A Dcheck_copyright.py98 for glob in skip_glob_dir_list:
99 for match in fnmatch.filter(dirs, glob):
108 def filtered_descendants(glob):
109 """Returns glob-matching filenames under the current directory, but skips
111 return find('.', glob, ['third_party', 'external', 'CompilerIdCXX',
131 def insert_copyright(author, glob, comment_prefix):
132 """Finds all glob-matching files under the current directory and inserts the
144 for file in filtered_descendants(glob):
183 def alert_if_no_copyright(glob, comment_prefix):
186 Finds all glob
[all...]
/third_party/skia/tools/skpbench/
H A D_os_path.py7 import glob namespace
18 for skp in glob.iglob(skpglob):
20 pathnames.extend(glob.iglob(path.join(skp, '*.skp')))
21 pathnames.extend(glob.iglob(path.join(skp, '*.mskp')))
/third_party/json/docs/mkdocs/scripts/
H A Dcheck_structure.py3 import glob namespace
48 files = sorted(glob.glob('api/**/*.md', recursive=True))
154 example_files = sorted(glob.glob('../../examples/*.cpp'))
155 markdown_files = sorted(glob.glob('**/*.md', recursive=True))
/third_party/mesa3d/ohos/
H A Dbuild_mesa3d.py29 import glob namespace
85 for item in glob.glob(os.path.join(build_lib, 'lib*.so.*.*.*')):
87 for item in glob.glob(os.path.join(build_lib_dri, '*_dri.so')):

Completed in 10 milliseconds

1234567891011