/system/core/init/ |
H A D | devices.h | 26 unsigned int gid, unsigned short prefix);
|
H A D | ueventd.c | 118 int prefix = 0; local 152 prefix = 1; 180 add_dev_perms(name, attr, perm, uid, gid, prefix);
|
H A D | property_service.c | 61 const char *prefix; member in struct:__anon141 180 * Create a name prefix out of ctl.<service name> 181 * The new prefix allows the use of the existing 238 for (i = 0; property_perms[i].prefix; i++) { 239 if (strncmp(property_perms[i].prefix, name, 240 strlen(property_perms[i].prefix)) == 0) {
|
H A D | devices.c | 76 unsigned short prefix; member in struct:perms_ 97 unsigned short prefix) { 115 node->dp.prefix = prefix; 137 if (dp->prefix) { 177 if (dp->prefix) { 261 * platform device prefix. If it doesn't start with a platform device, return 95 add_dev_perms(const char *name, const char *attr, mode_t perm, unsigned int uid, unsigned int gid, unsigned short prefix) argument
|
/system/core/sh/ |
H A D | mystring.h | 40 int prefix(const char *, const char *);
|
H A D | mystring.c | 91 * prefix -- see if pfx is a prefix of string. 95 prefix(const char *pfx, const char *string) function
|
H A D | exec.c | 516 if (prefix("builtin", pathopt)) { 520 } else if (prefix("func", pathopt)) { 716 if (*new == '%' && bltin < 0 && prefix("builtin", new + 1))
|
/system/core/include/private/ |
H A D | android_filesystem_config.h | 180 const char *prefix; member in struct:fs_path_config 276 for(; pc->prefix; pc++){ 277 int len = strlen(pc->prefix); 280 if(!strncmp(pc->prefix, path, len)) break; 284 if (pc->prefix[len -1] == '*') { 285 if(!strncmp(pc->prefix, path, len - 1)) break; 287 if(!strncmp(pc->prefix, path, len)) break; 297 path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode);
|
/system/core/libutils/ |
H A D | CallStack.cpp | 104 void CallStack::dump(const char* logtag, const char* prefix) const { 113 prefix ? prefix : "", 119 String8 CallStack::toString(const char* prefix) const { 128 if (prefix) { 129 str.append(prefix);
|
H A D | LinearAllocator.cpp | 216 void LinearAllocator::dumpMemoryStats(const char* prefix) { argument 220 ALOGD("%sTotal allocated: %.2f%s", prefix, prettySize, prettySuffix); 222 ALOGD("%sWasted space: %.2f%s (%.1f%%)", prefix, prettySize, prettySuffix, 224 ALOGD("%sPages %zu (dedicated %zu)", prefix, mPageCount, mDedicatedPageCount);
|
H A D | String16.cpp | 331 bool String16::startsWith(const String16& prefix) const 333 const size_t ps = prefix.size(); 335 return strzcmp16(mString, ps, prefix.string(), ps) == 0; 338 bool String16::startsWith(const char16_t* prefix) const 340 const size_t ps = strlen16(prefix); 342 return strncmp16(mString, prefix, ps) == 0;
|
/system/core/include/utils/ |
H A D | CallStack.h | 59 void dump(const char* logtag, const char* prefix = 0) const; 62 String8 toString(const char* prefix = 0) const;
|
H A D | LinearAllocator.h | 63 void dumpMemoryStats(const char* prefix = "");
|
H A D | String16.h | 93 bool startsWith(const String16& prefix) const; 94 bool startsWith(const char16_t* prefix) const;
|
/system/netd/ |
H A D | SecondaryTableController.h | 52 int addFwmarkRoute(const char* iface, const char *dest, int prefix); 53 int removeFwmarkRoute(const char* iface, const char *dest, int prefix); 73 int setFwmarkRoute(const char* iface, const char *dest, int prefix, bool add); 75 int modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix,
|
H A D | SecondaryTableController.cpp | 114 int SecondaryTableController::addRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument 130 return modifyRoute(cli, ADD, iface, dest, prefix, gateway, tableIndex); 134 char *dest, int prefix, char *gateway, int tableIndex) { 140 snprintf(dest_str, sizeof(dest_str), "%s/%d", dest, prefix); 173 IP_PATH, action, dest, prefix, gateway, iface, tableIndex+BASE_TABLE_NUMBER); 229 int SecondaryTableController::removeRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument 239 return modifyRoute(cli, DEL, iface, dest, prefix, gateway, tableIndex); 508 int SecondaryTableController::addFwmarkRoute(const char* iface, const char *dest, int prefix) { argument 509 return setFwmarkRoute(iface, dest, prefix, true); 512 int SecondaryTableController::removeFwmarkRoute(const char* iface, const char *dest, int prefix) { argument 133 modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix, char *gateway, int tableIndex) argument 516 setFwmarkRoute(const char* iface, const char *dest, int prefix, bool add) argument [all...] |
/system/core/fastbootd/ |
H A D | protocol.c | 48 const char *prefix; member in struct:fastboot_cmd 61 void fastboot_register(const char *prefix, argument 67 cmd->prefix = prefix; 68 cmd->prefix_len = strlen(prefix); 158 if (memcmp(buffer, cmd->prefix, cmd->prefix_len))
|
H A D | protocol.h | 46 void fastboot_register(const char *prefix,
|
/system/security/keystore/ |
H A D | test-keystore | 19 prefix=$0 20 log_file=$prefix.log 21 baseline_file=$prefix.baseline 172 log "note that saw returns the suffix of prefix matches"
|
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 228 asprintf(&mParams[0], "ALERT_NAME=%s", pm->prefix); 257 * from the 'prefix' array, then return 'str + prefixlen', otherwise return 261 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) argument 263 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) 273 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix))
|
/system/extras/librank/ |
H A D | librank.c | 200 char *prefix; local 229 prefix = NULL; 286 prefix = optarg; 287 prefix_len = strlen(prefix); 348 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len)))
|
/system/core/toolbox/ |
H A D | getevent.c | 263 char prefix[16]; local 270 snprintf(prefix, sizeof(prefix), "%04X:%04X:%04X.", bus, vendor, product); 276 if (strstr(de->d_name, prefix) == de->d_name) {
|
/system/core/cpio/ |
H A D | mkbootfs.c | 268 void archive(const char *start, const char *prefix) argument 274 strcpy(out, prefix);
|
/system/core/adb/ |
H A D | transport.c | 766 const char *prefix, const char *qual, int sanitize_qual) 775 if (prefix) { 776 while (*prefix) { 777 if (*prefix++ != *to_test++) 911 const char *prefix, const char *qual, int sanitize_qual) 919 len = snprintf(*buf, *buf_size, "%s%n%s", prefix, &prefix_len, qual); 765 qual_match(const char *to_test, const char *prefix, const char *qual, int sanitize_qual) argument 910 add_qual(char **buf, size_t *buf_size, const char *prefix, const char *qual, int sanitize_qual) argument
|
H A D | commandline.c | 379 const char* prefix = "host"; local 381 prefix = "host-usb"; 383 prefix = "host-local"; 385 snprintf(buffer, buflen, "%s:%s", prefix, command); 1305 // Determine the <host-prefix> for this command.
|