Searched refs:prefix (Results 1 - 21 of 21) sorted by relevance

/system/core/init/
H A Ddevices.h26 unsigned int gid, unsigned short prefix);
H A Dueventd.c111 int prefix = 0; local
145 prefix = 1;
173 add_dev_perms(name, attr, perm, uid, gid, prefix);
H A Ddevices.c67 unsigned short prefix; member in struct:perms_
87 unsigned short prefix) {
105 node->dp.prefix = prefix;
126 if (dp->prefix) {
158 if (dp->prefix) {
222 * platform device prefix. If it doesn't start with a platform device, return
85 add_dev_perms(const char *name, const char *attr, mode_t perm, unsigned int uid, unsigned int gid, unsigned short prefix) argument
H A Dproperty_service.c57 const char *prefix; member in struct:__anon360
229 for (i = 0; property_perms[i].prefix; i++) {
231 if (strncmp(property_perms[i].prefix, name,
232 strlen(property_perms[i].prefix)) == 0) {
/system/core/sh/
H A Dmystring.h40 int prefix(const char *, const char *);
H A Dmystring.c91 * prefix -- see if pfx is a prefix of string.
95 prefix(const char *pfx, const char *string) function
H A Dexec.c516 if (prefix("builtin", pathopt)) {
520 } else if (prefix("func", pathopt)) {
716 if (*new == '%' && bltin < 0 && prefix("builtin", new + 1))
H A Djobs.c735 || prefix(name + 1, jp->ps[0].cmd)) {
/system/netd/
H A DSecondaryTableController.cpp66 int SecondaryTableController::addRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument
82 return modifyRoute(cli, ADD, iface, dest, prefix, gateway, tableIndex);
86 int prefix, char *gateway, int tableIndex) {
92 IP_PATH, action, dest, prefix, iface, tableIndex+BASE_TABLE_NUMBER);
95 IP_PATH, action, dest, prefix, gateway, iface, tableIndex+BASE_TABLE_NUMBER);
100 IP_PATH, action, dest, prefix, gateway, iface, tableIndex+BASE_TABLE_NUMBER);
118 int SecondaryTableController::removeRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument
128 return modifyRoute(cli, DEL, iface, dest, prefix, gateway, tableIndex);
85 modifyRoute(SocketClient *cli, char *action, char *iface, char *dest, int prefix, char *gateway, int tableIndex) argument
H A DSecondaryTableController.h43 int modifyRoute(SocketClient *cli, char *action, char *iface, char *dest, int prefix,
/system/core/include/private/
H A Dandroid_filesystem_config.h139 const char *prefix; member in struct:fs_path_config
231 for(; pc->prefix; pc++){
232 int len = strlen(pc->prefix);
235 if(!strncmp(pc->prefix, path, len)) break;
239 if (pc->prefix[len -1] == '*') {
240 if(!strncmp(pc->prefix, path, len - 1)) break;
242 if(!strncmp(pc->prefix, path, len)) break;
251 path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode);
/system/core/nexus/
H A DPropertyManager.h37 android::List<char *> *createPropertyList(const char *prefix);
H A DPropertyManager.cpp255 android::List<char *> *PropertyManager::createPropertyList(const char *prefix) { argument
271 if (!prefix ||
272 (prefix && !strncasecmp(fqn, prefix, strlen(prefix)))) {
H A DCommandListener.cpp197 char *prefix = NULL; local
200 prefix = argv[1];
202 if (!(pc = NetworkManager::Instance()->getPropMngr()->createPropertyList(prefix))) {
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp125 asprintf(&mParams[0], "ALERT_NAME=%s", pm->prefix);
140 * from the 'prefix' array, then return 'str + prefixlen', otherwise return
144 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) argument
146 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen))
156 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix))
/system/extras/librank/
H A Dlibrank.c167 char *prefix; local
189 prefix = NULL;
199 prefix = argv[++i];
200 prefix_len = strlen(prefix);
246 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len)))
/system/bluetooth/brfpatch/
H A Dbrfpatch.c57 unsigned char prefix = 0x01; // H4 UART command packet local
58 fwrite(&prefix, 1, 1, fpo);
/system/bluetooth/data/
H A Dauto_pairing.conf5 // Blacklisting by vendor prefix address:
/system/core/cpio/
H A Dmkbootfs.c227 void archive(const char *start, const char *prefix) argument
233 strcpy(out, prefix);
/system/core/toolbox/
H A Dgetevent.c263 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/adb/
H A Dcommandline.c360 const char* prefix = "host"; local
362 prefix = "host-usb";
364 prefix = "host-local";
366 snprintf(buffer, buflen, "%s:%s", prefix, command);

Completed in 1495 milliseconds