Home
last modified time | relevance | path

Searched refs:plen (Results 1 – 4 of 4) sorted by relevance

/aosp14/system/core/libdiskconfig/
H A Ddiskconfig.c37 parse_len(const char *str, uint64_t *plen) in parse_len() argument
64 *plen = strtoull(tmp, NULL, 0); in parse_len()
65 if (!*plen) { in parse_len()
70 if (*plen == (uint64_t)-1) { in parse_len()
79 *plen *= multiple; in parse_len()
81 if (*plen > 0xffffffffULL) { in parse_len()
82 ALOGE("Length specified is too large!: %"PRIu64" KB", *plen); in parse_len()
/aosp14/system/core/libcutils/
H A Dfs_config.cpp281 static bool fs_config_cmp(bool dir, const char* prefix, size_t len, const char* path, size_t plen) { in fs_config_cmp() argument
283 std::string input(path, plen); in fs_config_cmp()
327 size_t which, plen; in fs_config() local
333 plen = strlen(path); in fs_config()
365 if (fs_config_cmp(dir, prefix, len, path, plen)) { in fs_config()
380 if (fs_config_cmp(dir, pc->prefix, strlen(pc->prefix), path, plen)) { in fs_config()
/aosp14/system/core/debuggerd/crasher/
H A Dcrasher.cpp74 noinline void smash_stack_dummy_function(volatile int* plen) { in smash_stack_dummy_function() argument
75 smash_stack_dummy_buf[*plen] = 0; in smash_stack_dummy_function()
82 noinline int smash_stack(volatile int* plen) { in smash_stack() argument
88 smash_stack_dummy_function(plen); in smash_stack()
/aosp14/frameworks/base/tools/aapt/
H A DAaptAssets.cpp102 int plen = strlen(path); in isHidden() local
126 if (n <= plen) { in isHidden()
127 ignore = strncasecmp(token, path + plen - n, n) == 0; in isHidden()