/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.modifying.operations/alg.unique/ |
unique_pred.pass.cpp | 92 int ih[] = {0, 1, 1}; local 93 const unsigned sh = sizeof(ih)/sizeof(ih[0]); 95 r = std::unique(Iter(ih), Iter(ih+sh), count_equal()); 96 assert(base(r) == ih + 2); 97 assert(ih[0] == 0); 98 assert(ih[1] == 1); 185 Ptr ih[3]; local 186 ih[1].reset(&one) [all...] |
unique_copy_pred.pass.cpp | 99 const int ih[] = {0, 1, 1}; local 100 const unsigned sh = sizeof(ih)/sizeof(ih[0]); 103 r = std::unique_copy(InIter(ih), InIter(ih+sh), OutIter(jh), count_equal());
|
/external/annotation-tools/asmx/test/perf/org/objectweb/asm/ |
BCELPerfTest.java | 85 InstructionHandle ih = il.getStart(); local 86 while (ih != null) { 87 ih = ih.getNext();
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ |
unique.pass.cpp | 83 int ih[] = {0, 1, 1}; local 84 const unsigned sh = sizeof(ih)/sizeof(ih[0]); 85 r = std::unique(Iter(ih), Iter(ih+sh)); 86 assert(base(r) == ih + 2); 87 assert(ih[0] == 0); 88 assert(ih[1] == 1); 160 Ptr ih[3]; local 161 ih[1].reset(&one) [all...] |
unique_copy.pass.cpp | 91 const int ih[] = {0, 1, 1}; local 92 const unsigned sh = sizeof(ih)/sizeof(ih[0]); 94 r = std::unique_copy(InIter(ih), InIter(ih+sh), OutIter(jh));
|
unique_copy_pred.pass.cpp | 115 const int ih[] = {0, 1, 1}; local 116 const unsigned sh = sizeof(ih)/sizeof(ih[0]); 119 r = std::unique_copy(InIter(ih), InIter(ih+sh), OutIter(jh), count_equal());
|
unique_pred.pass.cpp | 105 int ih[] = {0, 1, 1}; local 106 const unsigned sh = sizeof(ih)/sizeof(ih[0]); 108 r = std::unique(Iter(ih), Iter(ih+sh), count_equal()); 109 assert(base(r) == ih + 2); 110 assert(ih[0] == 0); 111 assert(ih[1] == 1); 198 Ptr ih[3]; local 199 ih[1].reset(&one) [all...] |
/external/toybox/toys/pending/ |
ping.c | 97 struct icmphdr *ih = (void *)toybuf; local 194 memset(ih, 0, sizeof(*ih)); 195 ih->type = (ai->ai_family == AF_INET) ? 8 : 128; 196 ih->un.echo.id = getpid(); 197 ih->un.echo.sequence = ++seq; 198 if (TT.s >= 4) *(unsigned *)(ih+1) = tnow; 200 ih->checksum = 0; 201 ih->checksum = pingchksum((void *)toybuf, TT.s+sizeof(*ih)); [all...] |
/external/webrtc/talk/session/media/ |
yuvscaler_unittest.cc | 98 bool TestScale(int iw, int ih, int ow, int oh, int offset, bool usefile, 102 size_t isize = I420_SIZE(iw, ih); 116 if (!LoadPlanarYuvTestImage("faces", iw, ih, ibuf) || 149 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 193 const int iw = 640, ih = 360; local 195 ALIGN16(uint8_t ibuf[I420_SIZE(iw, ih)]); 199 ASSERT_TRUE(LoadPlanarYuvTestImage("faces", iw, ih, ibuf)); 201 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false); 209 const int iw = 640, ih = 360; local 212 scoped_ptr<uint8_t[]> ibuffer(new uint8_t[I420_SIZE(iw, ih) + kAlignment]) [all...] |
/packages/apps/Gallery2/jni/filters/ |
hsv.c | 87 int H,X,ih,is,iv; local 107 ih=(int)ch; 111 H = (6*ih)/k2; 112 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
AnnotationImpl.java | 239 InvocationHandler ih = Proxy.getInvocationHandler(obj); local 240 if (ih instanceof AnnotationImpl) { 241 AnnotationImpl other = (AnnotationImpl) ih;
|
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 451 unsigned int ih = cfg[i - 1].g_h * dsf[i - 1].den + dsf[i - 1].num - 1; local 453 cfg[i].g_h = ih / dsf[i - 1].num;
|
/external/ltp/testcases/kernel/syscalls/utils/ |
inotify.h | 74 * h_list is protected by ih->mutex of the associated inotify_handle. 76 * ih, inode, and wd are never written to once the watch is created. 86 struct inotify_handle *ih; /* associated inotify handle */ member in struct:inotify_watch 176 static inline void inotify_destroy(struct inotify_handle *ih) 180 static inline __s32 inotify_find_watch(struct inotify_handle *ih, struct inode *inode, 186 static inline __s32 inotify_find_update_watch(struct inotify_handle *ih, 192 static inline __s32 inotify_add_watch(struct inotify_handle *ih, 199 static inline int inotify_rm_watch(struct inotify_handle *ih, 205 static inline int inotify_rm_wd(struct inotify_handle *ih, __u32 wd) 210 static inline void inotify_remove_watch_locked(struct inotify_handle *ih, [all...] |
/external/skia/src/gpu/effects/ |
GrTextureDomain.cpp | 387 float ih = 1.f / texture->height(); local 389 iw, ih, 390 -dstdfp.fDeviceSpaceOffset.fX * iw, -dstdfp.fDeviceSpaceOffset.fY * ih
|
/external/skqp/src/gpu/effects/ |
GrTextureDomain.cpp | 387 float ih = 1.f / texture->height(); local 389 iw, ih, 390 -dstdfp.fDeviceSpaceOffset.fX * iw, -dstdfp.fDeviceSpaceOffset.fY * ih
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ClipDrawable.java | 191 final int ih = 0; //mState.mDrawable.getIntrinsicHeight(); local 193 h -= (h - ih) * (MAX_LEVEL - level) / MAX_LEVEL;
|
ScaleDrawable.java | 235 final int ih = min ? d.getIntrinsicHeight() : 0; local 236 h -= (int) ((h - ih) * (MAX_LEVEL - level) * mState.mScaleHeight / MAX_LEVEL);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageTinyPlanet.java | 157 float ih = bitmap.getHeight(); local 161 if (sw * ih > sh * iw) { 162 nsw = sh * iw / ih; 164 nsh = sw * ih / iw;
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
MainActivity.java | 98 int ih = mImgView.getDrawable().getIntrinsicHeight(); 126 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); 128 mYOffset = mDownYOffset + 2 * (dy / (sh - scale * ih)); 199 int ih = mImgView.getDrawable().getIntrinsicHeight(); local 203 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); 205 (1 + mYOffset) * (sh - ih * scale) / 2);
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
MainActivity.java | 98 int ih = mImgView.getDrawable().getIntrinsicHeight(); 126 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); 128 mYOffset = mDownYOffset + 2 * (dy / (sh - scale * ih)); 199 int ih = mImgView.getDrawable().getIntrinsicHeight(); local 203 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); 205 (1 + mYOffset) * (sh - ih * scale) / 2);
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
Proxy.java | 887 final InvocationHandler ih = h; local 986 final InvocationHandler ih = p.h; local [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseGeneralTest.java | 861 DatabaseUtils.InsertHelper ih = local 1021 DatabaseUtils.InsertHelper ih = local [all...] |
/external/libjpeg-turbo/ |
turbojpeg.c | 1131 int ih; local 1133 ih=compptr->height_in_blocks*DCTSIZE; 1138 if(iw[i]!=pw[i] || ih!=ph[i]) usetmpbuf=1; 1825 int ih; local [all...] |
/external/skia/src/gpu/ops/ |
GrTextureOp.cpp | 403 GrSurfaceOrigin origin, Vertex* vertices, SkScalar iw, SkScalar ih, 407 ih * srcRect.fTop, 409 ih * srcRect.fBottom 581 float ih = 1.f / texture->height(); variable 588 vertices + 4 * i, iw, ih, 0); 596 vertices + 4 * i, iw, ih, 0); 602 float ih[kMaxTextures]; variable 606 ih[t] = 1.f / textures[t]->height(); 618 iw[tidx], ih[tidx], tidx); 629 vertices + 4 * i, iw[tidx], ih[tidx], tidx) [all...] |
/external/skqp/src/gpu/ops/ |
GrTextureOp.cpp | 408 GrSurfaceOrigin origin, Vertex* vertices, SkScalar iw, SkScalar ih, 412 ih * srcRect.fTop, 414 ih * srcRect.fBottom 586 float ih = 1.f / texture->height(); variable 593 vertices + 4 * i, iw, ih, 0); 601 vertices + 4 * i, iw, ih, 0); 607 float ih[kMaxTextures]; variable 611 ih[t] = 1.f / textures[t]->height(); 623 iw[tidx], ih[tidx], tidx); 634 vertices + 4 * i, iw[tidx], ih[tidx], tidx) [all...] |