Searched refs:prefix_len (Results 1 – 4 of 4) sorted by relevance
/system/core/fastbootd/ |
D | protocol.c | 49 unsigned prefix_len; member 68 cmd->prefix_len = strlen(prefix); in fastboot_register() 158 if (memcmp(buffer, cmd->prefix, cmd->prefix_len)) in protocol_handle_command() 161 cmd->execute(phandle, buffer + cmd->prefix_len); in protocol_handle_command()
|
/system/extras/librank/ |
D | librank.c | 201 size_t prefix_len; in main() local 231 prefix_len = 0; in main() 288 prefix_len = strlen(prefix); in main() 349 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len))) in main()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 894 uint16_t prefix_len; member 911 cookie->prefix_len = strlen(prefix); in StartIteration() 957 (memcmp(handle->prefix, hash_table[i].name, handle->prefix_len) == 0))) { in Next()
|
/system/core/adb/ |
D | transport.c | 914 int prefix_len; in add_qual() local 919 len = snprintf(*buf, *buf_size, "%s%n%s", prefix, &prefix_len, qual); in add_qual() 923 for (cp = *buf + prefix_len; cp < *buf + len; cp++) { in add_qual()
|