Home
last modified time | relevance | path

Searched refs:target_len (Results 1 – 7 of 7) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dsymlink.c39 unsigned int target_len; in ext2fs_symlink() local
45 target_len = strnlen(target, fs->blocksize + 1); in ext2fs_symlink()
46 if (target_len > fs->blocksize) { in ext2fs_symlink()
61 fastlink = (target_len < sizeof(inode.i_block)); in ext2fs_symlink()
87 ext2fs_inode_size_set(fs, &inode, target_len); in ext2fs_symlink()
92 (target_len < fs->blocksize); in ext2fs_symlink()
103 target_len); in ext2fs_symlink()
/external/skia/src/core/
DSkTSearch.cpp22 size_t target_len, size_t elemSize) in SkStrSearch() argument
37 int cmp = strncmp(elem, target, target_len); in SkStrSearch()
40 else if (cmp > 0 || strlen(elem) > target_len) in SkStrSearch()
47 int cmp = strncmp(elem, target, target_len); in SkStrSearch()
48 if (cmp || strlen(elem) > target_len) in SkStrSearch()
/external/toolchain-utils/bestflags/
Dgenetic_algorithm.py243 target_len = GAGeneration.NUM_CHROMOSOMES
258 retained_tasks = sorted(gen_tasks, key=sort_func)[:target_len]
277 while len(child_pool) < target_len and num_trials < GAGeneration.NUM_TRIALS:
283 if len(child_pool) >= target_len:
293 assert len(child_pool) == target_len
/external/skia/include/private/
DSkTSearch.h109 size_t target_len, size_t elemSize);
117 size_t target_len, size_t elemSize);
/external/toolchain-utils/crosperf/
Dresults_report.py84 def _AppendUntilLengthIs(gen, the_list, target_len): argument
89 the_list.extend(gen() for _ in xrange(target_len - len(the_list)))
/external/python/cpython2/Objects/
Dbytearrayobject.c1534 #define findchar(target, target_len, c) \ argument
1535 ((char *)memchr((const void *)(target), c, target_len))
1548 countchar(const char *target, Py_ssize_t target_len, char c, Py_ssize_t maxcount) in countchar() argument
1552 const char *end=target+target_len; in countchar()
Dstringobject.c2317 #define findchar(target, target_len, c) \ argument
2318 ((char *)memchr((const void *)(target), c, target_len))
2335 countchar(const char *target, Py_ssize_t target_len, char c, Py_ssize_t maxcount) in countchar() argument
2339 const char *end=target+target_len; in countchar()