/external/libpng/ |
pngtrans.c | 498 png_bytep dp = row; /* destination pointer */ local 501 /* At the start sp will point to the first byte to copy and dp to where 518 sp += 2; ++dp; 524 *dp++ = *sp; sp += 2; 536 sp += 4; dp += 2; 541 *dp++ = *sp++; *dp++ = *sp; sp += 3; 566 sp += 4; dp += 3; 569 /* Note that the loop adds 3 to dp and 4 to sp each time. */ 572 *dp++ = *sp++; *dp++ = *sp++; *dp++ = *sp; sp += 2 [all...] |
/external/linux-kselftest/tools/testing/selftests/gpio/ |
gpio-mockup-chardev.c | 133 DIR *dp; local 143 dp = opendir("/dev"); 144 if (!dp) { 151 while (ent = readdir(dp), ent) { 189 closedir(dp);
|
/external/ltp/testcases/kernel/syscalls/asyncio/ |
asyncio02.c | 116 char *dp; /* pointer to area of memory */ variable 231 TEST(write(fildes, dp, (unsigned)bytes)); 280 if ((dp = malloc((unsigned)BUFSIZ + 1)) == NULL) {
|
/external/ltp/testcases/misc/math/atof/ |
atof01.c | 317 register int dp; /* decimal point */ local 320 bd = ad = dp = 0; 328 dp++; 338 tw = bd + dp + ad; 353 if (n2 && !dp) {
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_cpufreq.c | 186 struct dirent *dp; local 208 while ((dp = readdir(dir)) != NULL) { 211 if (strlen(dp->d_name) <= 2) 214 if (sscanf(dp->d_name, "cpu%d\n", &cpu_index) != 1) 218 snprintf(basename, sizeof(basename), "/sys/devices/system/cpu/%s", dp->d_name); 228 add_object(dp->d_name, fn, CPUFREQ_MINIMUM, cpu_index); 231 add_object(dp->d_name, fn, CPUFREQ_CURRENT, cpu_index); 234 add_object(dp->d_name, fn, CPUFREQ_MAXIMUM, cpu_index);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_surface.c | 373 void *dp, *sp; local 378 dp = dst->bo->map + dst->offset; 383 memcpy(dp + get_dst(dst, dx + x, dy + y),
|
/external/opencv/cv/src/ |
cvpgh.cpp | 249 int dp = (pt4.x - pt3.x) * dx + (pt4.y - pt3.y) * dy; local 251 dp = cvRound( dp * angle_coeff * buffer[j] ) + 253 dp = MAX( dp, 0 ); 254 dp = MIN( dp, _CV_ACOS_TABLE_SIZE - 1 ); 256 cvRound( icv_acos_table[dp] * angle_scale );
|
/external/pdfium/third_party/libpng16/ |
pngtrans.c | 497 png_bytep dp = row; /* destination pointer */ local 500 /* At the start sp will point to the first byte to copy and dp to where 516 sp += 2, ++dp; 520 *dp++ = *sp, sp += 2; 530 sp += 4, dp += 2; 533 *dp++ = *sp++, *dp++ = *sp, sp += 3; 556 sp += 4, dp += 3; 558 /* Note that the loop adds 3 to dp and 4 to sp each time. */ 560 *dp++ = *sp++, *dp++ = *sp++, *dp++ = *sp, sp += 2 [all...] |
/external/syslinux/com32/lib/libpng/ |
pngtrans.c | 435 png_bytep dp=row; local 449 dp+=3; sp+=4; 452 *dp++ = *sp++; 453 *dp++ = *sp++; 454 *dp++ = *sp++; 464 *dp++ = *sp++; 465 *dp++ = *sp++; 466 *dp++ = *sp++; 477 sp += 8; dp += 6; 481 png_memcpy(dp, sp, 6) [all...] |
/external/syslinux/core/fs/pxe/ |
dhcp_option.c | 31 const uint32_t *dp = data; local 41 ip = *dp++;
|
/external/tensorflow/tensorflow/core/kernels/ |
eigen_pooling_test.cc | 407 const int dp = pad_p / 2; local 421 const int in_p = p + i - dp; 485 const int dp = pad_p / 2; local 499 const int in_p = p + i - dp;
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoDialog.java | 43 final float dp = context.getResources().getDisplayMetrics().density; local 44 final int pad = (int)(16*dp);
|
/frameworks/native/opengl/libs/EGL/ |
egl.cpp | 90 egl_display_ptr dp = get_display(dpy); local 91 if (!dp) 93 if (!dp->isReady()) 96 return dp; 102 egl_display_ptr dp = validate_display(dpy); local 103 if (!dp) 104 return dp; 109 return dp;
|
/hardware/invensense/6515/libsensors_iio/ |
MPLSupport.cpp | 290 DIR *dp; local 293 dp = opendir (sysfs_path); 295 if (dp != NULL) 299 while ((ep = readdir (dp))) { 326 closedir(dp);
|
/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.cpp | 287 DIR *dp; local 290 dp = opendir (sysfs_path); 292 if (dp != NULL) 296 while ((ep = readdir (dp))) { 323 closedir(dp);
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
ConnectionDetector.cpp | 151 struct dirent *dp; local 152 while ((dp = ::readdir(dirp)) != NULL) { 153 const std::string name(dp->d_name);
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
LauncherRecentsView.java | 152 protected void getTaskSize(DeviceProfile dp, Rect outRect) { 153 LayoutUtils.calculateLauncherTaskSize(getContext(), dp, outRect); local
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
WorkspaceTouchListener.java | 80 DeviceProfile dp = mLauncher.getDeviceProfile(); local 82 Rect insets = dp.getInsets(); 86 mTempRect.inset(dp.edgeMarginPx, dp.edgeMarginPx);
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 30 double bp,bp2,cp,dp,q,r,srq; local 46 dp=d/a; 49 r=(2.0*bp2*bp-9.0*bp*cp+27.0*dp)/54.0;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 160 int dp = state.getRulesEngine().pxToDp(margin); local 161 description = String.format("%1$s, margin=%2$d dp", description, dp);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
ConvertToDpFix.java | 73 int dp = px * 160 / dpi; local 74 String newValue = String.format(VALUE_N_DP, dp); 87 return "Convert to \"dp\"...";
|
/system/libvintf/ |
utils.h | 74 dirent* dp; local 75 while ((dp = readdir(dir.get())) != nullptr) { 76 if (dp->d_type != DT_DIR) { 77 out->push_back(dp->d_name);
|
/external/guice/core/test/com/google/inject/ |
CircularDependencyTest.java | 253 @Inject Provider<D2> dp; field in class:CircularDependencyTest.C2P 255 dp.get();
|
/device/google/marlin/usb/ |
Usb.cpp | 330 DIR *dp; local 332 dp = opendir("/sys/class/typec"); 333 if (dp != NULL) { 336 while ((ep = readdir(dp))) { 349 closedir(dp); 546 DIR *dp = opendir(std::string("/sys/class/typec/" local 549 if (dp == NULL) { 553 closedir(dp);
|
/device/google/wahoo/thermal/ |
thermal-helper.cpp | 100 struct dirent* dp; local 102 while ((dp = readdir(thermal_zone_dir.get())) != nullptr) { 103 std::string dir_name(dp->d_name);
|