Searched refs:prefix (Results 1 - 20 of 20) sorted by last modified time

/system/security/keystore/
H A Dtest-keystore19 prefix=$0
20 log_file=$prefix.log
21 baseline_file=$prefix.baseline
172 log "note that saw returns the suffix of prefix matches"
/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/adb/
H A Dcommandline.c364 const char* prefix = "host"; local
366 prefix = "host-usb";
368 prefix = "host-local";
370 snprintf(buffer, buflen, "%s:%s", prefix, command);
H A Dtransport.c758 const char *prefix, const char *qual, int sanitize_qual)
767 if (prefix) {
768 while (*prefix) {
769 if (*prefix++ != *to_test++)
896 const char *prefix, const char *qual, int sanitize_qual)
904 len = snprintf(*buf, *buf_size, "%s%n%s", prefix, &prefix_len, qual);
757 qual_match(const char *to_test, const char *prefix, const char *qual, int sanitize_qual) argument
895 add_qual(char **buf, size_t *buf_size, const char *prefix, const char *qual, int sanitize_qual) argument
/system/core/cpio/
H A Dmkbootfs.c267 void archive(const char *start, const char *prefix) argument
273 strcpy(out, prefix);
/system/core/include/private/
H A Dandroid_filesystem_config.h151 const char *prefix; member in struct:fs_path_config
239 for(; pc->prefix; pc++){
240 int len = strlen(pc->prefix);
243 if(!strncmp(pc->prefix, path, len)) break;
247 if (pc->prefix[len -1] == '*') {
248 if(!strncmp(pc->prefix, path, len - 1)) break;
250 if(!strncmp(pc->prefix, path, len)) break;
259 path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode);
/system/core/init/
H A Ddevices.c80 unsigned short prefix; member in struct:perms_
100 unsigned short prefix) {
118 node->dp.prefix = prefix;
139 if (dp->prefix) {
171 if (dp->prefix) {
250 * platform device prefix. If it doesn't start with a platform device, return
98 add_dev_perms(const char *name, const char *attr, mode_t perm, unsigned int uid, unsigned int gid, unsigned short prefix) argument
H A Ddevices.h26 unsigned int gid, unsigned short prefix);
H A Dproperty_service.c62 const char *prefix; member in struct:__anon372
238 * Create a name prefix out of ctl.<service name>
239 * The new prefix allows the use of the existing
292 for (i = 0; property_perms[i].prefix; i++) {
293 if (strncmp(property_perms[i].prefix, name,
294 strlen(property_perms[i].prefix)) == 0) {
H A Dueventd.c118 int prefix = 0; local
152 prefix = 1;
180 add_dev_perms(name, attr, perm, uid, gid, 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/core/sh/
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)) {
H A Dmystring.c91 * prefix -- see if pfx is a prefix of string.
95 prefix(const char *pfx, const char *string) function
H A Dmystring.h40 int prefix(const char *, const char *);
/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/extras/librank/
H A Dlibrank.c167 char *prefix; local
190 prefix = NULL;
200 prefix = argv[++i];
201 prefix_len = strlen(prefix);
247 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len)))
/system/netd/
H A DSecondaryTableController.cpp63 int SecondaryTableController::addRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument
79 return modifyRoute(cli, ADD, iface, dest, prefix, gateway, tableIndex);
83 char *dest, int prefix, char *gateway, int tableIndex) {
89 IP_PATH, action, dest, prefix, iface, tableIndex+BASE_TABLE_NUMBER);
92 IP_PATH, action, dest, prefix, gateway, iface, tableIndex+BASE_TABLE_NUMBER);
97 IP_PATH, action, dest, prefix, gateway, iface, tableIndex+BASE_TABLE_NUMBER);
145 int SecondaryTableController::removeRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument
155 return modifyRoute(cli, DEL, iface, dest, prefix, gateway, tableIndex);
82 modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix, char *gateway, int tableIndex) argument
H A DSecondaryTableController.h45 int modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix,

Completed in 134 milliseconds