/third_party/ffmpeg/libavformat/ |
H A D | img2dec.c | 84 static int is_glob(const char *path) in is_glob() argument 88 const char *p = path; in is_glob() 106 * Get index range of image files matched by path. 110 * @param path path which has to be matched by the image files in the range 115 const char *path, int start_index, int start_index_range) in find_image_range() 122 if (av_get_frame_filename(buf, sizeof(buf), path, first_index) < 0) { in find_image_range() 144 if (av_get_frame_filename(buf, sizeof(buf), path, in find_image_range() 207 av_strlcpy(s->path, s1->url, sizeof(s->path)); in ff_img_read_header() 114 find_image_range(AVIOContext *pb, int *pfirst_index, int *plast_index, const char *path, int start_index, int start_index_range) find_image_range() argument [all...] |
/third_party/backends/backend/ |
H A D | dll.c | 411 char path[PATH_MAX]; in load() local 417 for (w = 0; (w < 3) && (id < 0) && (find_directory(which[w],0,true,path,PATH_MAX) == 0); w++) in load() 419 strcat(path,"/SANE/"); in load() 420 strcat(path,be->name); in load() 428 DBG(2, "dlopen()ing `%s'\n", path); in load() 429 id=load_add_on(path); in load() 432 continue; /* try next path */ in load() 448 DBG(2, "load: couldn't find %s\n",path); in load() 460 char *funcname, *src, *orig_src = 0, *dir, *path = 0; in load() local 504 path in load() [all...] |
/third_party/libfuse/test/ |
H A D | test_examples.py | 27 from os.path import join as pjoin 70 def mkdir(self, path): 71 return py.path.local(str(self.d)).mkdir(path) 179 syscall_test_cmd = [ os.path.join(basename, 'test', 'test_syscalls'), 247 syscall_test_cmd = [ os.path.join(basename, 'test', 'test_syscalls'), 266 if not os.path.exists(progname): 267 pytest.skip('%s not built' % os.path.basename(progname)) 312 if not os.path.exists(progname): 313 pytest.skip('%s not built' % os.path [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserharness.js | 17 ///<reference path='..\compiler\io.ts'/> 18 ///<reference path='..\compiler\typescript.ts'/> 19 ///<reference path='..\services\typescriptServices.ts' /> 20 ///<reference path='diff.ts'/> 29 function switchToForwardSlashes(path: string) { 30 return path.replace(/\\/g, "/"); 36 var path: string[] = components.slice(0, components.length - 1); 37 return path.join("/") + "/"; 212 export function readFile(path: string) { 214 if (path [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_canvas_test.cpp | 113 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in HWTEST_F() local 114 OH_Drawing_PathMoveTo(path, INT32_MAX, INT32_MIN); in HWTEST_F() 117 OH_Drawing_PathClose(path); in HWTEST_F() 118 OH_Drawing_CanvasDrawPath(nullptr, path); in HWTEST_F() 120 OH_Drawing_PathDestroy(path); in HWTEST_F() 182 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in HWTEST_F() local 183 EXPECT_NE(path, nullptr); in HWTEST_F() 198 OH_Drawing_PathMoveTo(path, aX, aY); in HWTEST_F() 199 OH_Drawing_PathLineTo(path, bX, bY); in HWTEST_F() 200 OH_Drawing_PathLineTo(path, c in HWTEST_F() 505 OH_Drawing_Path *path = OH_Drawing_PathCreate(); HWTEST_F() local 992 OH_Drawing_Path* path = OH_Drawing_PathCreate(); HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | custom_paint_component.cpp | 213 void CanvasTaskPool::Fill(const RefPtr<CanvasPath2D>& path) in Fill() argument 215 auto task = [path](RenderCustomPaint& interface, const Offset& offset) { interface.Fill(offset, path); }; in Fill() 225 void CanvasTaskPool::Stroke(const RefPtr<CanvasPath2D>& path) in Stroke() argument 227 auto task = [path](RenderCustomPaint& interface, const Offset& offset) { interface.Stroke(offset, path); }; in Stroke() 237 void CanvasTaskPool::Clip(const RefPtr<CanvasPath2D>& path) in Clip() argument 239 auto task = [path](RenderCustomPaint& interface, const Offset& offset) { interface.Clip(path); }; in Clip() 341 std::string CanvasTaskPool::GetJsonData(const std::string& path) in GetJsonData() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | canvas_test.cpp | 356 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in OnTestPerformance() local 357 OH_Drawing_PathArcTo(path, 0, 0, 100, 100, 0, 180); // 0, 0, 100, 100, 0, 180 创建Arc in OnTestPerformance() 358 OH_Drawing_PathClose(path); in OnTestPerformance() 360 OH_Drawing_CanvasDrawPath(canvas, path); in OnTestPerformance() 362 OH_Drawing_PathDestroy(path); in OnTestPerformance() 470 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in OnTestPerformance() local 471 OH_Drawing_PathArcTo(path, 0, 0, 100, 100, 0, 180); // 0, 0, 100, 100, 0, 180 创建Arc in OnTestPerformance() 472 OH_Drawing_PathClose(path); in OnTestPerformance() 473 OH_Drawing_CanvasDrawPath(canvas, path); in OnTestPerformance() 475 OH_Drawing_CanvasClipPath(canvas, path, OH_Drawing_CanvasClipO in OnTestPerformance() [all...] |
/foundation/distributeddatamgr/preferences/frameworks/cj/src/ |
H A D | preferences_impl.cpp | 40 std::string path; in GetInstancePath() local 43 return {E_ERROR, path}; in GetInstancePath() 52 return {errcode, path}; in GetInstancePath() 54 tempContext->path = preferencesDir.append("/").append(tempContext->name); in GetInstancePath() 55 return {E_OK, tempContext->path}; in GetInstancePath() 66 auto [code, path] = GetInstancePath(context, name, dataGroupId); in PreferencesImpl() 71 NativePreferences::Options options(path, context->GetBundleName(), dataGroupId); in PreferencesImpl() 89 auto [code, path] = GetInstancePath(context, name, dataGroupId); in DeletePreferences() 93 int errCode = PreferencesHelper::DeletePreferences(path); in DeletePreferences() 103 auto [code, path] in RemovePreferencesFromCache() [all...] |
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H A D | xenbus_dev_frontend.c | 240 static struct watch_adapter *alloc_watch_adapter(const char *path, in alloc_watch_adapter() argument 249 watch->watch.node = kstrdup(path, GFP_KERNEL); in alloc_watch_adapter() 267 const char *path, in watch_fired() 281 path_len = strlen(path) + 1; in watch_fired() 292 ret = queue_reply(&staging_q, path, path_len); in watch_fired() 499 char *path, *token; in xenbus_write_watch() local 502 path = u->u.buffer + sizeof(u->u.msg); in xenbus_write_watch() 503 token = memchr(path, 0, u->u.msg.len); in xenbus_write_watch() 509 if (memchr(token, 0, u->u.msg.len - (token - path)) == NULL) { in xenbus_write_watch() 515 watch = alloc_watch_adapter(path, toke in xenbus_write_watch() 266 watch_fired(struct xenbus_watch *watch, const char *path, const char *token) watch_fired() argument [all...] |
/kernel/linux/linux-6.6/drivers/xen/xenbus/ |
H A D | xenbus_dev_frontend.c | 240 static struct watch_adapter *alloc_watch_adapter(const char *path, in alloc_watch_adapter() argument 249 watch->watch.node = kstrdup(path, GFP_KERNEL); in alloc_watch_adapter() 267 const char *path, in watch_fired() 281 path_len = strlen(path) + 1; in watch_fired() 292 ret = queue_reply(&staging_q, path, path_len); in watch_fired() 499 char *path, *token; in xenbus_write_watch() local 502 path = u->u.buffer + sizeof(u->u.msg); in xenbus_write_watch() 503 token = memchr(path, 0, u->u.msg.len); in xenbus_write_watch() 509 if (memchr(token, 0, u->u.msg.len - (token - path)) == NULL) { in xenbus_write_watch() 515 watch = alloc_watch_adapter(path, toke in xenbus_write_watch() 266 watch_fired(struct xenbus_watch *watch, const char *path, const char *token) watch_fired() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_factory.c | 697 struct external_display_path *path = in construct_phy() local 698 &info.ext_disp_conn_info.path[i]; in construct_phy() 700 if (path->device_connector_id.enum_id == link->link_id.enum_id && in construct_phy() 701 path->device_connector_id.id == link->link_id.id && in construct_phy() 702 path->device_connector_id.type == link->link_id.type) { in construct_phy() 704 path->device_acpi_enum == link->device_tag.acpi_device) { in construct_phy() 705 link->ddi_channel_mapping = path->channel_mapping; in construct_phy() 706 link->chip_caps = path->caps; in construct_phy() 709 } else if (path->device_tag == in construct_phy() 711 link->ddi_channel_mapping = path in construct_phy() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | c_driver_lite.py | 81 source = os.path.join(current_dir, 83 self.file_name = os.path.basename( 146 self.java_log_file = os.path.join(request.config.report_path, Variables.report_vars.log_dir, 150 jar_file_path = os.path.join(os.path.dirname(config_file), self.jar_file) 151 LOG.debug("jar file path:{}".format(jar_file_path)) 152 self.execute_jar_path = os.path.dirname(jar_file_path) 180 self.result = "%s.xml" % os.path.join( 244 self.result = "%s.xml" % os.path.join( 275 self.result = "%s.xml" % os.path [all...] |
/third_party/mesa3d/src/asahi/lib/ |
H A D | gen_pack.py | 343 def __init__(self, field, path, start, end): 345 self.path = path 349 def collect_fields(self, fields, offset, path, all_fields): 351 field_path = '{}{}'.format(path, field.name) 363 def collect_words(self, fields, offset, path, words): 365 field_path = '{}{}'.format(path, field.name) 426 value = str(field.exact) if field.exact is not None else "values->{}".format(contributor.path) 456 s = "#error unhandled field {}, type {}".format(contributor.path, field.type) 539 print(' values->{} = {};'.format(fieldref.path, decode [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_error_decode.c | 768 open_error_state_file(const char *path) in open_error_state_file() argument 773 if (stat(path, &st)) in open_error_state_file() 780 ret = asprintf(&filename, "%s/i915_error_state", path); in open_error_state_file() 787 ret = asprintf(&filename, "%s/%d/i915_error_state", path, minor); in open_error_state_file() 798 path); in open_error_state_file() 802 file = fopen(path, "r"); in open_error_state_file() 804 fprintf(stderr, "Failed to open %s: %s\n", path, strerror(errno)); in open_error_state_file() 878 const char *path = argv[optind]; in main() local 879 if (strcmp(path, "-") == 0) { in main() 882 file = open_error_state_file(path); in main() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | LLVMReactorDebugInfo.cpp | 57 std::pair<llvm::StringRef, llvm::StringRef> splitPath(const char *path) in splitPath() argument 60 auto dirAndFile = llvm::StringRef(path).rsplit('\\'); in splitPath() 62 auto dirAndFile = llvm::StringRef(path).rsplit('/'); in splitPath() 472 llvm::DIFile *DebugInfo::getOrCreateFile(const char *path) in getOrCreateFile() argument 474 auto it = diFiles.find(path); in getOrCreateFile() 476 auto dirAndName = splitPath(path); in getOrCreateFile() 478 diFiles.emplace(path, file); in getOrCreateFile() 482 DebugInfo::LineTokens const *DebugInfo::getOrParseFileTokens(const char *path) in getOrParseFileTokens() argument 494 auto it = fileTokens.find(path); in getOrParseFileTokens() 502 std::ifstream file(path); in getOrParseFileTokens() [all...] |
/foundation/communication/wifi/wifi/base/cRPC/include/ |
H A D | net.h | 55 * @param path - Location of the domain socket communication file 59 int CreateUnixServer(const char *path, int backlog); 64 * @param path - Location of the domain socket communication file 67 int ConnectUnixServer(const char *path);
|
/foundation/communication/dsoftbus/ |
H A D | check_sub_module.py | 25 sub_module = os.path.join(sys.argv[1], sys.argv[2]) 26 if os.path.exists(sub_module) == True :
|
/kernel/linux/linux-5.10/security/apparmor/include/ |
H A D | path.h | 5 * This file contains AppArmor basic path manipulation function definitions. 15 PATH_IS_DIR = 0x1, /* path is a directory */ 17 PATH_CHROOT_REL = 0x8, /* do path lookup relative to chroot */ 24 int aa_path_name(const struct path *path, int flags, char *buffer,
|
/kernel/linux/linux-6.6/tools/testing/kunit/qemu_configs/ |
H A D | riscv.py | 3 import os.path namespace 9 if not os.path.isfile(OPENSBI_PATH): 11 'Please ensure that qemu-system-riscv is installed, or edit the path in "qemu_configs/riscv.py"\n')
|
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | path.h | 5 * This file contains AppArmor basic path manipulation function definitions. 15 PATH_IS_DIR = 0x1, /* path is a directory */ 17 PATH_CHROOT_REL = 0x8, /* do path lookup relative to chroot */ 24 int aa_path_name(const struct path *path, int flags, char *buffer,
|
/kernel/liteos_a/testsuites/unittest/process/fs/smoke/ |
H A D | It_process_fs_001.cpp | 39 auto path = GenProcPidPath(getpid()); in ItProcessFs001() local 40 DIR *dirp = opendir(path.data()); in ItProcessFs001()
|
/test/xts/acts/ai_lite/ai_engine_posix/base/src/utils/ |
H A D | utils.h | 54 * path path and filename of result text 56 void SaveCharTextAppend(char *input, char *path); 62 * path path and filename of result text 64 void SaveStringTextAppend(std::string input, std::string path);
|
/third_party/curl/lib/ |
H A D | curl_path.h | 46 char **path); 48 CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir);
|
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
H A D | pp_standalone_scaffolding.c | 33 _mesa_lookup_shader_include(struct gl_context *ctx, char *path, in _mesa_lookup_shader_include() argument 37 (void) path; in _mesa_lookup_shader_include()
|
/third_party/node/test/addons/symlinked-module/ |
H A D | submodule.js | 3 const path = require('path'); 10 const mod = require(path.join(bindingDir, 'binding.node'));
|