Home
last modified time | relevance | path

Searched refs:path0 (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Python/
Dpathconfig.c634 wchar_t *path0 = argv0; in _PyPathConfig_ComputeSysPath0() local
648 path0 = fullpath; in _PyPathConfig_ComputeSysPath0()
650 path0 = L"."; in _PyPathConfig_ComputeSysPath0()
652 n = wcslen(path0); in _PyPathConfig_ComputeSysPath0()
661 nr = _Py_wreadlink(path0, link, Py_ARRAY_LENGTH(link)); in _PyPathConfig_ComputeSysPath0()
667 path0 = link; /* Link to absolute path */ in _PyPathConfig_ComputeSysPath0()
674 wchar_t *q = wcsrchr(path0, SEP); in _PyPathConfig_ComputeSysPath0()
677 path0 = link; in _PyPathConfig_ComputeSysPath0()
681 wcsncpy(path0copy, path0, MAXPATHLEN); in _PyPathConfig_ComputeSysPath0()
685 path0 = path0copy; in _PyPathConfig_ComputeSysPath0()
[all …]
Dsysmodule.c3224 PyObject *path0 = NULL; in PySys_SetArgvEx() local
3225 if (_PyPathConfig_ComputeSysPath0(&argv_list, &path0)) { in PySys_SetArgvEx()
3226 if (path0 == NULL) { in PySys_SetArgvEx()
3232 if (PyList_Insert(sys_path, 0, path0) < 0) { in PySys_SetArgvEx()
3233 Py_DECREF(path0); in PySys_SetArgvEx()
3237 Py_DECREF(path0); in PySys_SetArgvEx()
/third_party/skia/gm/
Dpatharcto.cpp95 SkPath path0 = proc(p0, SK_ARRAY_COUNT(p0), isClosed); variable
97 canvas->drawPath(path0, paint);
102 SkPath path = path0;
109 SkPath path = path0;
116 SkPath path = path0;
123 SkPath path = path0;
Dpatheffects.cpp194 SkPath path0 = SkPath::Circle(100, 100, 60), in onDraw() local
220 for (const SkPath& path : { path0, path1 }) { in onDraw()
/third_party/skia/tests/
DPathOpsBuilderTest.cpp328 SkPath path0; in DEF_TEST() local
329 path0.moveTo(140, 40); in DEF_TEST()
330 path0.lineTo(200, 210); in DEF_TEST()
331 path0.lineTo(40, 100); in DEF_TEST()
332 path0.lineTo(2.22223e+07f, 2.22222e+14f); in DEF_TEST()
333 path0.lineTo(2.22223e+07f, 2.22222e+14f); in DEF_TEST()
343 builder.add(path0, SkPathOp::kUnion_SkPathOp); in DEF_TEST()
345 builder.resolve(&path0); in DEF_TEST()
353 SkPath path0(path); in DEF_TEST() local
360 builder.add(path0, SkPathOp::kUnion_SkPathOp); in DEF_TEST()
DPathBuilderTest.cpp284 auto path0 = SkPathBuilder().addPolygon(pts, i, isClosed).detach(); in DEF_TEST() local
286 REPORTER_ASSERT(reporter, path0 == path1); in DEF_TEST()
DPathTest.cpp1170 SkPath path0, path1; in test_bounds() local
1172 path0.addRect(rects[i]); in test_bounds()
1176 REPORTER_ASSERT(reporter, path0.getBounds() == path1.getBounds()); in test_bounds()
DPathOpsBuildUseTest.cpp26 SkPath path0(path); in build1_1() local
27 builder.add(path0, (SkPathOp) 2); in build1_1()
/third_party/python/Modules/
Dmain.c158 pymain_sys_path_add_path0(PyInterpreterState *interp, PyObject *path0) in pymain_sys_path_add_path0() argument
177 if (PyList_Insert(sys_path, 0, path0)) { in pymain_sys_path_add_path0()
559 PyObject *path0 = NULL; in pymain_run_python() local
560 int res = _PyPathConfig_ComputeSysPath0(&config->argv, &path0); in pymain_run_python()
566 if (pymain_sys_path_add_path0(interp, path0) < 0) { in pymain_run_python()
567 Py_DECREF(path0); in pymain_run_python()
570 Py_DECREF(path0); in pymain_run_python()
/third_party/python/Include/internal/
Dpycore_pathconfig.h56 PyObject **path0);