/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 71 DIR *dp; local 75 dp = opendir(iio_dir); 76 if (dp == NULL) { 81 while (ent = readdir(dp), ent != NULL) { 316 DIR *dp; local 319 dp = opendir(iio_dir); 320 if (dp == NULL) { 325 while (ent = readdir(dp), ent != NULL) {
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
iio_utils.h | 107 DIR *dp; local 129 dp = opendir(scan_el_dir); 130 if (dp == NULL) { 134 while (ent = readdir(dp), ent != NULL) 183 closedir(dp); 202 DIR *dp; local 218 dp = opendir(device_dir); 219 if (dp == NULL) { 223 while (ent = readdir(dp), ent != NULL) 244 closedir(dp); 282 DIR *dp; local 598 DIR *dp; local [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
iio_utils.h | 107 DIR *dp; local 129 dp = opendir(scan_el_dir); 130 if (dp == NULL) { 134 while (ent = readdir(dp), ent != NULL) 183 closedir(dp); 202 DIR *dp; local 218 dp = opendir(device_dir); 219 if (dp == NULL) { 223 while (ent = readdir(dp), ent != NULL) 244 closedir(dp); 282 DIR *dp; local 598 DIR *dp; local [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
iio_utils.h | 105 DIR *dp; local 127 dp = opendir(scan_el_dir); 128 if (dp == NULL) { 132 while (ent = readdir(dp), ent != NULL) 181 closedir(dp); 200 DIR *dp; local 216 dp = opendir(device_dir); 217 if (dp == NULL) { 221 while (ent = readdir(dp), ent != NULL) 242 closedir(dp); 281 DIR *dp; local 645 DIR *dp; local 674 DIR *dp; local [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 63 DIR *dp; local 67 dp = opendir(iio_dir); 68 if (dp == NULL) { 73 while (ent = readdir(dp), ent != NULL) { 308 DIR *dp; local 311 dp = opendir(iio_dir); 312 if (dp == NULL) { 317 while (ent = readdir(dp), ent != NULL) {
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixDirectoryStream.java | 49 private final long dp; field in class:UnixDirectoryStream 70 UnixDirectoryStream(UnixPath dir, long dp, DirectoryStream.Filter<? super Path> filter) { 72 this.dp = dp; 99 closedir(dp); 180 nameAsBytes = readdir(dp);
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
PortraitStatesTouchController.java | 82 DeviceProfile dp = mLauncher.getDeviceProfile(); local 83 int hotseatHeight = dp.hotseatBarSizePx + dp.getInsets().bottom;
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
ActivityControlHelper.java | 86 float getTranslationYForQuickScrub(TransformedRect targetRect, DeviceProfile dp, 93 int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, 156 public float getTranslationYForQuickScrub(TransformedRect targetRect, DeviceProfile dp, 161 int paddingTop = targetRect.rect.top - topMargin - dp.getInsets().top; 162 int paddingBottom = dp.availableHeightPx + dp.getInsets().top - targetRect.rect.bottom; 173 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, 175 LayoutUtils.calculateLauncherTaskSize(context, dp, outRect.rect); 177 outRect.scale = FastOverviewState.getOverviewScale(dp, outRect.rect, context); 179 if (dp.isVerticalBarLayout()) 244 DeviceProfile dp = activity.getDeviceProfile(); local [all...] |
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
ShelfScrimView.java | 92 DeviceProfile dp = mLauncher.getDeviceProfile(); local 93 mDrawingFlatColor = dp.isVerticalBarLayout(); 98 mMinSize = dp.hotseatBarSizePx + dp.getInsets().bottom;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
PendingItemDragHelper.java | 125 DeviceProfile dp = launcher.getDeviceProfile(); local 126 int iconSize = dp.iconSizePx; 137 - iconSize - dp.iconTextSizePx - dp.iconDrawablePaddingPx) / 2;
|
/test/vts/agents/hal/ |
AgentRequestHandler.cpp | 45 DIR* dp; local 46 if (!(dp = opendir(path.c_str()))) { 53 while ((dirp = readdir(dp)) != NULL) { 62 closedir(dp);
|
/bionic/libc/bionic/ |
fts.c | 549 struct dirent *dp; local 652 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { 653 if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name)) 656 if (!(p = fts_alloc(sp, dp->d_name, strlen(dp->d_name)))) 658 if (strlen(dp->d_name) >= maxlen) { /* include space for NUL */ 660 if (fts_palloc(sp, strlen(dp->d_name) +len + 1)) { 687 p->fts_pathlen = len + strlen(dp->d_name); 713 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN [all...] |
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
engine.c | 187 const char *dp; local 214 for (dp = start; dp < stop; dp++) 215 if (*dp == g->must[0] && (size_t)(stop - dp) >= g->mlen && 216 memcmp(dp, g->must, g->mlen) == 0) 218 if (dp == stop) /* we didn't find g->must */ 272 dp = dissect(m, m->coldp, endp, gf, gl); 282 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0) 373 const char *dp; local 576 const char *dp; local [all...] |
/device/google/wahoo/usb/ |
Usb.cpp | 379 DIR *dp; local 381 dp = opendir("/sys/class/typec"); 382 if (dp != NULL) { 385 while ((ep = readdir(dp))) { 398 closedir(dp); 596 DIR *dp = opendir(std::string("/sys/class/typec/" local 599 if (dp == NULL) { 603 closedir(dp);
|
/external/e2fsprogs/contrib/ |
spd_readdir.c | 74 struct dirent_s *dp; member in struct:dir_s 153 if (!dirstruct->dp) 157 free(dirstruct->dp[i].d_name); 159 free(dirstruct->dp); 160 dirstruct->dp = 0; 213 dnew = realloc(dirstruct->dp, 217 dirstruct->dp = dnew; 219 ds = &dirstruct->dp[dirstruct->num++]; 232 qsort(dirstruct->dp, dirstruct->num, sizeof(struct dirent_s), ino_cmp); 331 ds = &dirstruct->dp[dirstruct->pos++] [all...] |
/external/libusb/libusb/ |
descriptor.c | 49 unsigned char *dp = dest; local 57 *dp++ = *sp++; 60 dp += ((uintptr_t)dp & 1); /* Align to word boundary */ 63 memcpy(dp, sp, 2); 66 *((uint16_t *)dp) = w; 69 dp += 2; 72 dp += ((uintptr_t)dp & 1); /* Align to word boundary */ 75 memcpy(dp, sp, 4) [all...] |
/external/ltp/testcases/kernel/sched/tool/ |
time-schedule.c | 471 DIR *dp; local 475 if ((dp = opendir("/proc")) == NULL) 477 while ((de = readdir(dp)) != NULL) { 488 closedir(dp);
|
/external/python/cpython2/Modules/ |
bsddbmodule.c | 57 bsddbobject *dp; local 60 if ((dp = PyObject_New(bsddbobject, &Bsddbtype)) == NULL) 74 dp->di_bsddb = dbopen(file, flags, mode, DB_HASH, &info); 76 if (dp->di_bsddb == NULL) { 79 dp->di_lock = NULL; 81 Py_DECREF(dp); 85 dp->di_size = -1; 86 dp->di_type = DB_HASH; 89 dp->di_lock = PyThread_allocate_lock(); 90 if (dp->di_lock == NULL) 105 bsddbobject *dp; local 155 bsddbobject *dp; local [all...] |
/external/skia/src/effects/ |
SkBlurMask.cpp | 323 uint8_t* dp = SkMask::AllocImage(dstSize); local 325 dst->fImage = dp; 330 uint8_t *outptr = dp; 353 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; 357 SkMask::FreeImage(dp); 367 uint8_t *dst_scanline = dp + y*dstWidth + pad; 372 uint8_t *dst_scanline = dp + y*dstWidth + pad;
|
/external/skqp/src/effects/ |
SkBlurMask.cpp | 321 uint8_t* dp = SkMask::AllocImage(dstSize); local 323 dst->fImage = dp; 328 uint8_t *outptr = dp; 351 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; 355 SkMask::FreeImage(dp); 365 uint8_t *dst_scanline = dp + y*dstWidth + pad; 370 uint8_t *dst_scanline = dp + y*dstWidth + pad;
|
/external/syslinux/com32/lib/libpng/ |
pngread.c | 863 png_bytepp dp; local 870 dp = display_row; 871 if (rp != NULL && dp != NULL) 875 png_bytep dptr = *dp++; 886 else if (dp != NULL) 889 png_bytep dptr = *dp; 891 dp++; [all...] |
/external/syslinux/com32/lib/sys/vesa/ |
background.c | 88 uint32_t *sp, *dp, *drp, *dtp; local 98 dp = dtp; 100 memcpy(dp, sp, xl*sizeof(uint32_t)); 101 dp += xsize;
|
/external/tcpdump/ |
print-aodv.c | 272 const struct rerr_unreach *dp; local 280 dp = (const struct rerr_unreach *)(dat + sizeof(*ap)); 283 ND_TCHECK(*dp); 284 if (i < sizeof(*dp)) 286 ND_PRINT((ndo, " {%s}(%ld)", ipaddr_string(ndo, &dp->u_da), 287 (unsigned long)EXTRACT_32BITS(&dp->u_ds))); 288 dp++; 289 i -= sizeof(*dp);
|
/external/toybox/toys/net/ |
netstat.c | 236 DIR *dp; local 247 if (!(dp = fdopendir(dirfd))) { 253 while ((entry = readdir(dp))) { 264 closedir(dp);
|
/libcore/ojluni/src/main/java/java/util/ |
Base64.java | 398 int dp = 0; local 401 for (int sp0 = sp, dp0 = dp ; sp0 < sl0; ) { 411 dp += dlen; 415 dst[dp++] = b; 421 dst[dp++] = (byte)base64[b0 >> 2]; 423 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f]; 425 dst[dp++] = '='; 426 dst[dp++] = '='; 430 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f | (b1 >> 4)]; 431 dst[dp++] = (byte)base64[(b1 << 2) & 0x3f] 690 int dp = 0; local [all...] |