Home
last modified time | relevance | path

Searched refs:p (Results 1 – 12 of 12) sorted by relevance

/littlefs-3.7.0-3.6.0/scripts/
Dprettyasserts.py210 p = '|'.join('(?P<%s>%s)' % (n, '|'.join(l))
212 p = re.compile(p, re.DOTALL)
218 m = p.search(data)
257 def p_assert(p): argument
258 state = p.push()
262 p.expect('assert') ; p.accept('ws')
263 p.expect('(') ; p.accept('ws')
264 p.expect('memcmp') ; p.accept('ws')
265 p.expect('(') ; p.accept('ws')
266 lh = p_expr(p) ; p.accept('ws')
[all …]
Dwatch.py202 for p in command:
203 for p in {
204 p,
205 re.sub('^-.', '', p),
206 re.sub('^--[^=]+=', '', p)}:
207 if p and os.path.exists(p):
208 paths.add(p)
Dteepipe.py29 out_pipes = [openio(p, 'wb', 0) for p in out_paths]
41 for p in out_pipes:
43 p.write(buf)
Dplotmpl.py101 p = 3*int(m.log(abs(x), 10**3))
102 p = min(18, max(-18, p))
104 s = '%.3f' % (abs(x) / (10.0**p))
110 return '%s%s%s' % ('-' if x < 0 else '', s, SI_PREFIXES[p])
117 p = 10*int(m.log(abs(x), 2**10))
118 p = min(30, max(-30, p))
120 s = '%.3f' % (abs(x) / (2.0**p))
126 return '%s%s%s' % ('-' if x < 0 else '', s, SI2_PREFIXES[p])
Dplot.py98 p = 3*int(m.log(abs(x)*10, 10**3))
99 p = min(18, max(-18, p))
101 s = '%.*f' % (w, abs(x) / (10.0**p))
108 return '%s%s%s' % ('-' if x < 0 else '', s, SI_PREFIXES[p])
117 p = 10*int(m.log(abs(x)*10, 2**10))
118 p = min(30, max(-30, p))
120 s = '%.*f' % (w, abs(x) / (2.0**p))
127 return '%s%s%s' % ('-' if x < 0 else '', s, SI2_PREFIXES[p])
Dperfbd.py380 r, p, e, children = results_[name]
382 r, p, e, children = 0, 0, 0, {}
385 p+last_proged,
533 for name, (r, p, e, children) in results.items():
535 r, p, e,
576 with mp.Pool(jobs) as p:
577 for results_ in p.imap_unordered(
Dreadtree.py38 mdir.blocks = tuple(blocks[id(p.data)] for p in mdir.pair)
Dperf.py617 with mp.Pool(jobs) as p:
618 for results_ in p.imap_unordered(
/littlefs-3.7.0-3.6.0/
Dlfs_util.h229 static inline void lfs_free(void *p) { in lfs_free() argument
231 free(p); in lfs_free()
233 (void)p; in lfs_free()
Dlfs.c501 for (struct lfs_mlist **p = &head; *p; p = &(*p)->next) { in lfs_mlist_isopen() local
502 if (*p == (struct lfs_mlist*)node) { in lfs_mlist_isopen()
513 for (struct lfs_mlist **p = &lfs->mlist; *p; p = &(*p)->next) { in lfs_mlist_remove() local
514 if (*p == mlist) { in lfs_mlist_remove()
515 *p = (*p)->next; in lfs_mlist_remove()
602 static int lfs_alloc_lookahead(void *p, lfs_block_t block) { in lfs_alloc_lookahead() argument
603 lfs_t *lfs = (lfs_t*)p; in lfs_alloc_lookahead()
822 static int lfs_dir_traverse_filter(void *p, in lfs_dir_traverse_filter() argument
824 lfs_tag_t *filtertag = p; in lfs_dir_traverse_filter()
1869 static int lfs_dir_commit_size(void *p, lfs_tag_t tag, const void *buffer) { in lfs_dir_commit_size() argument
[all …]
/littlefs-3.7.0-3.6.0/runners/
Dtest_runner.c29 void *mappend(void **p, in mappend() argument
33 uint8_t *p_ = *p; in mappend()
47 *p = p_; in mappend()
364 size_t p = 1; in test_define_suite() local
378 test_overrides[i].defines[(j/p) in test_define_suite()
383 p *= test_overrides[i].permutations; in test_define_suite()
708 for (size_t p = 0; p < test_powerloss_count; p++) { in case_forperm() local
710 if (test_powerlosses[p].run != run_powerloss_none in case_forperm()
715 cb(data, suite, case_, &test_powerlosses[p]); in case_forperm()
750 for (size_t p = 0; p < test_powerloss_count; p++) { in case_forperm() local
[all …]
Dbench_runner.c29 void *mappend(void **p, in mappend() argument
33 uint8_t *p_ = *p; in mappend()
47 *p = p_; in mappend()
351 size_t p = 1; in bench_define_suite() local
365 bench_overrides[i].defines[(j/p) in bench_define_suite()
370 p *= bench_overrides[i].permutations; in bench_define_suite()