Searched defs:dp (Results 1 - 5 of 5) sorted by last modified time
/system/vold/ |
H A D | DirectVolume.cpp | 90 const char *dp = evt->findParam("DEVPATH"); local 94 if (!strncmp(dp, *it, strlen(*it))) { 112 handleDiskAdded(dp, evt); 114 handlePartitionAdded(dp, evt); 128 handleDiskRemoved(dp, evt); 130 handlePartitionRemoved(dp, evt); 134 handleDiskChanged(dp, evt); 136 handlePartitionChanged(dp, evt);
|
/system/bluetooth/brfpatch/ |
H A D | brfpatch.c | 89 unsigned char *dp = data; local 96 FAILIF(dp > data + sizeof(data), 98 FAILIF(sscanf(buf, "%02x", (unsigned int *)dp) != 1, 100 dp++; 119 FAILIF(sscanf(buf, "%02x", (unsigned int *)dp) != 1, 122 dp += 1; 125 FAILIF(sscanf(buf, "%04x", (unsigned int *)dp) != 1, 128 dp += 2; 131 FAILIF(sscanf(buf, "%06x", (unsigned int *)dp) != 1, 134 dp [all...] |
/system/core/init/ |
H A D | devices.c | 84 struct perms_ dp; member in struct:perm_node 105 node->dp.name = strdup(name); 106 if (!node->dp.name) 110 node->dp.attr = strdup(attr); 111 if (!node->dp.attr) 115 node->dp.perm = perm; 116 node->dp.uid = uid; 117 node->dp.gid = gid; 118 node->dp.prefix = prefix; 132 struct perms_ *dp; local 162 struct perms_ *dp; local [all...] |
/system/core/sh/ |
H A D | expand.c | 1132 struct dirent *dp; local 1224 while (! int_pending() && (dp = readdir(dirp)) != NULL) { 1225 if (dp->d_name[0] == '.' && ! matchdot) 1227 if (patmatch(start, dp->d_name, 0)) { 1229 scopy(dp->d_name, enddir); 1232 for (p = enddir, cp = dp->d_name;
|
/system/core/toolbox/ |
H A D | chmod.c | 15 struct dirent *dp; local 24 while ((dp = readdir(dir)) != NULL) { 25 if (strcmp(dp->d_name, ".") == 0 || 26 strcmp(dp->d_name, "..") == 0) continue; 28 if (strlen(dp->d_name) + pathlen + 2/*NUL and slash*/ > PATH_MAX) { 35 strcat(subpath, dp->d_name);
|
Completed in 81 milliseconds