HomeSort by relevance Sort by last modified time
    Searched defs:sh (Results 1 - 25 of 33) sorted by null

1 2

  /libcore/luni/src/main/java/org/apache/xml/serializer/
SerializerFactory.java 158 SerializationHandler sh = local
160 sh.setContentHandler( (ContentHandler) obj);
161 sh.setOutputFormat(format);
163 ser = sh;
  /libcore/luni/src/test/java/libcore/java/net/
OldURLStreamHandlerFactoryTest.java 74 URLStreamHandler sh = shf.createURLStreamHandler(""); local
75 assertNotNull(sh.toString());
  /external/openssl/crypto/des/
cfb_enc.c 83 unsigned int sh[4]; local
84 unsigned char *ovec=(unsigned char *)sh;
87 assert (sizeof(sh[0])==4); /* as this holds true for all, */
125 sh[0]=v0, sh[1]=v1, sh[2]=d0, sh[3]=d1;
134 v0=sh[0], v1=sh[1];
168 sh[0]=v0, sh[1]=v1, sh[2]=d0, sh[3]=d1
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
UserBigramTests.java 30 private SuggestHelper sh; field in class:UserBigramTests
35 sh = new SuggestHelper(TAG, getTestContext(), resId, MAX_DATA, DELETE_DATA);
44 for (int i = 0; i < SUGGESTION_STARTS; i++) sh.addToUserBigram(pair1);
45 for (int i = 0; i < (SUGGESTION_STARTS - 1); i++) sh.addToUserBigram(pair2);
47 assertTrue(sh.isUserBigramSuggestion("user", 'b', "bigram"));
48 assertFalse(sh.isUserBigramSuggestion("android", 'p', "platform"));
55 for (int i = 0; i < SUGGESTION_STARTS; i++) sh.addToUserBigram(pair1);
56 assertTrue(sh.isUserBigramSuggestion("user", 'b', "bigram"));
59 sh.changeUserBigramLocale(getTestContext(), Locale.FRANCE);
60 for (int i = 0; i < SUGGESTION_STARTS; i++) sh.addToUserBigram(pair3)
    [all...]
SuggestTests.java 25 private SuggestHelper sh; field in class:SuggestTests
30 sh = new SuggestHelper(TAG, getTestContext(), resId);
39 assertTrue(sh.isDefaultSuggestion("peopl", "people"));
40 assertTrue(sh.isDefaultSuggestion("abou", "about"));
41 assertTrue(sh.isDefaultSuggestion("thei", "their"));
48 assertTrue(sh.isDefaultSuggestion("peop", "people"));
49 assertTrue(sh.isDefaultSuggestion("calli", "calling"));
50 assertTrue(sh.isDefaultSuggestion("busine", "business"));
57 assertTrue(sh.isDefaultSuggestion("peiple", "people"));
58 assertTrue(sh.isDefaultSuggestion("peoole", "people"))
    [all...]
SuggestPerformanceTests.java 31 private SuggestHelper sh; field in class:SuggestPerformanceTests
43 sh = new SuggestHelper(TAG, getTestContext(), resId);
67 if (sh.isDefaultNextSuggestion(prevWord, currentWord.substring(0, i),
72 if (sh.isDefaultNextCorrection(prevWord, currentWord.substring(0, i),
  /external/chromium/third_party/libevent/
signal.c 146 ev_sighandler_t sh;
192 if ((sh = signal(evsignal, handler)) == SIG_ERR) {
197 *sig->sh_old[evsignal] = sh;
242 struct sigaction *sh; local
244 ev_sighandler_t *sh; local
248 sh = sig->sh_old[evsignal];
251 if (sigaction(evsignal, sh, NULL) == -1) {
256 if (signal(evsignal, *sh) == SIG_ERR) {
261 free(sh);
  /external/libpcap/
pcap-snoop.c 65 register struct snoopheader *sh; local
98 sh = (struct snoopheader *)p->buffer;
99 datalen = sh->snoop_packetlen;
111 cp = (u_char *)(sh + 1) + p->offset; /* XXX */
128 h.ts.tv_sec = sh->snoop_timestamp.tv_sec;
129 h.ts.tv_usec = sh->snoop_timestamp.tv_usec;
  /system/core/libpixelflinger/codeflinger/
load_store.cpp 231 int sh = s.h; local
233 int maskHiBits = (sh!=32) ? ((s.flags & CLEAR_HI)?1:0) : 0;
235 int sbits = sh - sl;
265 const int offset = sh - dbits;
293 MOV(AL, 0, ireg, reg_imm(s.reg, LSL, 32-sh));
294 sl += 32-sh;
295 sh = 32;
323 sh -= sl;
336 if ((maskLoBits|dithering) && (sh > dbits)) {
337 int shift = sh-dbits
    [all...]
  /development/ndk/platforms/android-4/samples/san-angeles/jni/
app-linux.c 142 XSizeHints sh; local
153 sh.flags = PMinSize | PMaxSize;
154 sh.min_width = sh.max_width = sWindowWidth;
155 sh.min_height = sh.max_height = sWindowHeight;
166 None, (void *)0, 0, &sh);
  /external/iproute2/ip/
xfrm_policy.c 855 struct xfrmu_spdhinfo *sh; local
858 if (RTA_PAYLOAD(tb[XFRMA_SPD_HINFO]) < sizeof(*sh)) {
862 sh = RTA_DATA(tb[XFRMA_SPD_HINFO]);
864 fprintf(fp," count %d", sh->spdhcnt);
865 fprintf(fp," Max %d", sh->spdhmcnt);
  /external/libvpx/vpx_scale/leapster/
vpxscale_lf.c 699 int sh = (scale_vars->expanded_frame_height * vr + vs - 1) / vs; local
711 eh = (sh + 2) / 3 * 3 * vs / vr;
713 eh = (sh + 7) / 8 * 8 * vs / vr;
717 src_yuv_config->y_stride, sw, sh,
731 sh = (sh + 1) >> 1;
737 src_yuv_config->y_stride / 2, sw, sh, local
743 src_yuv_config->y_stride / 2, sw, sh, local
  /external/skia/src/effects/
SkBlurMask.cpp 87 /* sw and sh are the width and height of the src. Since the sum buffer
89 we can just use sw and sh as our "max" values for pinning coordinates
93 int sw, int sh) {
99 int dh = sh + 2*ry;
106 int ny = SkFastMin32(next_y, sh) * sumStride;
126 /* sw and sh are the width and height of the src. Since the sum buffer
128 we can just use sw and sh as our "max" values for pinning coordinates
132 const uint32_t sum[], int sw, int sh, U8CPU outer_weight) {
148 int dh = sh + 2*ry;
155 int ny = SkFastMin32(next_y, sh) * sumStride
278 int sh = src.fBounds.height(); local
    [all...]
  /frameworks/base/core/java/com/android/internal/service/wallpaper/
ImageWallpaper.java 140 SurfaceHolder sh = getSurfaceHolder(); local
141 Canvas c = sh.lockCanvas();
143 final Rect frame = sh.getSurfaceFrame();
166 sh.unlockCanvasAndPost(c);
  /external/libvpx/vpx_scale/generic/
vpxscale.c 897 int sh = (scale_vars->expanded_frame_height * vr + vs - 1) / vs; local
909 eh = (sh + 2) / 3 * 3 * vs / vr;
911 eh = (sh + 7) / 8 * 8 * vs / vr;
915 src_yuv_config->y_stride, sw, sh,
935 src_yuv_config->y_stride \/ 2, sw, sh, local
941 src_yuv_config->y_stride \/ 2, sw, sh, local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
ScaleDrawable.java 96 float sh = getPercent(a, com.android.internal.R.styleable.ScaleDrawable_scaleHeight); local
117 mScaleState.mScaleHeight = sh;
  /external/tcpdump/
print-juniper.c 321 const struct juniper_services_header *sh; local
328 sh = (struct juniper_services_header *)p;
332 sh->svc_id,
333 sh->flags_len,
334 EXTRACT_16BITS(&sh->svc_set_id),
335 EXTRACT_24BITS(&sh->dir_iif[1]));
  /frameworks/base/services/camera/libcameraservice/
FakeCamera.cpp 372 uint16_t *sh = &dst[(y+(size/4))*mWidth]; local
375 sh[i] &= shadow;
377 sh += mWidth;
  /device/samsung/crespo/alsa-lib/src/pcm/
pcm_share.c 1504 snd_pcm_share_t *sh = list_entry(i, snd_pcm_share_t, list); local
    [all...]
  /external/quake/quake/src/QW/client/
gl_draw.c 56 float sl, tl, sh, th; member in struct:__anon6706
214 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH;
225 gl->sh = 1;
274 gl->sh = 1;
463 gl->sh = 1;
631 DrawQuad(x, y, pic->width, pic->height, gl->sl, gl->tl, gl->sh - gl->sl, gl->th - gl->tl);
636 glTexCoord2f (gl->sh, gl->tl);
638 glTexCoord2f (gl->sh, gl->th);
665 DrawQuad(x, y, pic->width, pic->height, gl->sl, gl->tl, gl->sh - gl->sl, gl->th - gl->tl);
670 glTexCoord2f (gl->sh, gl->tl)
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/message/
SIPMessage.java 1523 SIPHeader sh = (SIPHeader) sipHeader; local
1560 SIPHeader sh = parser.parse(); local
    [all...]
  /external/qemu/
arm-dis.c 3471 unsigned int sh = (i8 & 0x30) >> 4; local
    [all...]
  /external/quake/quake/src/WinQuake/
gl_draw.cpp 43 float sl, tl, sh, th; member in struct:__anon7065
545 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH;
556 gl->sh = 1;
606 gl->sh = 1;
803 gl->sh = 1;
929 DrawQuad(x, y, ppic->g.width, ppic->g.height, gl->sl, gl->tl, gl->sh - gl->sl, gl->th - gl->tl);
934 glTexCoord2f (gl->sh, gl->tl);
936 glTexCoord2f (gl->sh, gl->th);
968 DrawQuad(x, y, pic->width, pic->height, gl->sl, gl->tl, gl->sh - gl->sl, gl->th - gl->tl);
973 glTexCoord2f (gl->sh, gl->tl)
    [all...]
  /frameworks/base/libs/rs/
rsScriptC_Lib.cpp 778 float sh = rsc->getHeight(); local
780 SC_drawQuad(x, sh - y, z,
781 x+w, sh - y, z,
782 x+w, sh - (y+h), z,
783 x, sh - (y+h), z);
    [all...]
  /frameworks/base/services/surfaceflinger/
SurfaceFlinger.cpp 2133 uint32_t sh; member in class:MessageCaptureScreen
    [all...]

Completed in 642 milliseconds

1 2