Home
last modified time | relevance | path

Searched refs:pth (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dchecksum.py99 def checksum_dir(pth): argument
101 if pth == "/":
103 pth = pth.rstrip("/")
105 for root, dirs, files in os.walk(pth, topdown=True):
108 fullpth = os.path.join(root, name).replace(pth, os.path.join(pth, "."))
115 for pth in filelist_regex.split(filelist):
116 if not pth:
118 pth = pth.strip()
119 if not pth:
121 exist = pth.split(":")[1]
[all …]
H A Dutils.py1462 def remove_trailing_sep(pth): argument
1463 if pth and pth[-1] == os.sep:
1464 pth = pth[:-1]
1465 return pth
1468 def canonicalise_path(pth): argument
1469 pth = remove_trailing_sep(pth)
1470 if 'HOME' in approved and '~' in pth:
1471 pth = os.path.expanduser(pth)
1472 return pth
/openbmc/openbmc/poky/scripts/esdk-tools/
H A Ddevtool59 pth = self.get('General', 'init_path')
60 self.init_path = os.path.join(self.basepath, pth)
62 logger.error('init_path %s specified in config file cannot be found' % pth)
249 pth = basepath
250 while pth != '' and pth != os.sep:
251 if os.path.exists(os.path.join(pth, '.devtoolbase')):
253 basepath = pth
255 pth = os.path.dirname(pth)
[all...]
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-tid0.c51 pthread_t pth; in main() local
52 pthread_create(&pth, NULL, f, NULL); in main()
53 pthread_join(pth, NULL); in main()
/openbmc/openbmc/poky/scripts/lib/
H A Dscriptpath.py25 for pth in os.environ['PATH'].split(':'):
26 if os.path.exists(os.path.join(pth, '../lib/bb')):
27 bitbakepath = os.path.abspath(os.path.join(pth, '..'))
H A Dscriptutils.py119 for pth in bbfiles:
120 if pth.endswith('.bb'):
121 pthdir = os.path.dirname(pth)
/openbmc/openbmc/poky/scripts/
H A Ddevtool59 pth = self.get('General', 'init_path')
60 self.init_path = os.path.join(self.basepath, pth)
62 logger.error('init_path %s specified in config file cannot be found' % pth)
249 pth = basepath
250 while pth != '' and pth != os.sep:
251 if os.path.exists(os.path.join(pth, '.devtoolbase')):
253 basepath = pth
255 pth = os.path.dirname(pth)
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-protobuf_4.25.3.bb39 # Remove useless and problematic .pth file. python3-protobuf is installed in the standard
40 # location of site packages. No need for such .pth file.
43 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/protobuf-*-nspkg.pth
/openbmc/linux/tools/testing/selftests/timers/
H A Dthreadtest.c125 pthread_t pth[MAX_THREADS]; in main() local
170 pthread_create(&pth[i], 0, thread, 0); in main()
187 pthread_join(pth[i], &tret); in main()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_misc_tcp_hdr_options.c43 struct tcphdr *pth; in __check_active_hdr_in() local
111 pth = (struct tcphdr *)(&hdr.ip6 + 1); in __check_active_hdr_in()
112 if (pth->dest != passive_lport_n || pth->source != active_lport_n) in __check_active_hdr_in()
/openbmc/linux/tools/perf/bench/
H A Dsched-messaging.c198 static unsigned int group(pthread_t *pth, in group() argument
229 pth[i] = create_worker(ctx, (void *)receiver); in group()
242 pth[num_fds+i] = create_worker(snd_ctx, (void *)sender); in group()
/openbmc/linux/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c49 int create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg, in create_rt_thread() argument
78 ret = pthread_create(pth, &attr, func, arg); in create_rt_thread()
H A Dfutex_requeue_pi.c70 int create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg, in create_rt_thread() argument
99 ret = pthread_create(pth, &attr, func, arg); in create_rt_thread()
/openbmc/openbmc/poky/meta/lib/oe/
H A Drecipeutils.py410 for pth in fetch.localpaths():
411 if pth not in localpaths:
412 localpaths.append(os.path.abspath(pth))
961 pth = os.path.abspath(fn)
963 while pth:
964 if os.path.exists(os.path.join(pth, 'conf', 'layer.conf')):
965 layerdir = pth
967 pth = os.path.dirname(pth)
968 if pth == '/':
H A Dpath.py281 def abs_path_trailing(pth): argument
282 pth_abs = os.path.abspath(pth)
H A Dcopy_buildsystem.py36 self.layerdirs = [os.path.abspath(pth) for pth in d.getVar('BBLAYERS').split()]
/openbmc/openbmc/meta-openembedded/meta-python/classes/
H A Ddistutils3.bbclass57 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dsetuptools3_legacy.bbclass68 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
H A Dpopulate_sdk_ext.bbclass131 for pth in cleanpaths:
132 fullpth = os.path.join(sdkbasepath, pth)
/openbmc/openbmc/poky/scripts/contrib/
H A Dimage-manifest100 def find_git_repo(pth): argument
101 checkpth = pth
/openbmc/linux/fs/nfsd/
H A Dexport.c377 char *pth; in svc_export_request() local
380 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
381 if (IS_ERR(pth)) { in svc_export_request()
386 qword_add(bpp, blen, pth); in svc_export_request()
/openbmc/openbmc/poky/documentation/migration-guides/
H A Dmigration-1.7.rst103 pth (pth-config)
H A Dmigration-2.1.rst166 - ``pth``: Became obsolete.
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/mycroft/files/
H A D0001-Remove-python-venv.patch65 -VENV_PATH_FILE="${VIRTUALENV_ROOT}/lib/$PYTHON/site-packages/_virtualenv_path_extensions.pth"
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Ddevtool.py74 pth = os.path.join(oldreporoot, relpth)
75 … if pth.startswith(canonical_layerpath) or pth.startswith(canonical_layerpath_scripts):
79 … shutil.copytree(pth, destdir, ignore=shutil.ignore_patterns('*.pyc', '__pycache__'))
83 shutil.copy2(pth, destdir)

12