Searched refs:mid (Results 1 - 25 of 155) sorted by relevance

1234567

/external/webkit/Source/WebCore/bridge/jni/
H A DJNIUtility.h67 static void callA(jobject obj, jmethodID mid, jvalue* args) argument
69 getJNIEnv()->CallVoidMethodA(obj, mid, args);
71 static void callV(jobject obj, jmethodID mid, va_list args) argument
73 getJNIEnv()->CallVoidMethodV(obj, mid, args);
78 static jobject callA(jobject obj, jmethodID mid, jvalue* args) argument
80 return getJNIEnv()->CallObjectMethodA(obj, mid, args);
82 static jobject callV(jobject obj, jmethodID mid, va_list args) argument
84 return getJNIEnv()->CallObjectMethodV(obj, mid, args);
89 static jboolean callA(jobject obj, jmethodID mid, jvalue* args) argument
91 return getJNIEnv()->CallBooleanMethodA(obj, mid, arg
93 callV(jobject obj, jmethodID mid, va_list args) argument
97 callStaticV(jclass cls, jmethodID mid, va_list args) argument
104 callA(jobject obj, jmethodID mid, jvalue* args) argument
108 callV(jobject obj, jmethodID mid, va_list args) argument
115 callA(jobject obj, jmethodID mid, jvalue* args) argument
119 callV(jobject obj, jmethodID mid, va_list args) argument
126 callA(jobject obj, jmethodID mid, jvalue* args) argument
130 callV(jobject obj, jmethodID mid, va_list args) argument
137 callA(jobject obj, jmethodID mid, jvalue* args) argument
141 callV(jobject obj, jmethodID mid, va_list args) argument
148 callA(jobject obj, jmethodID mid, jvalue* args) argument
152 callV(jobject obj, jmethodID mid, va_list args) argument
159 callA(jobject obj, jmethodID mid, jvalue* args) argument
163 callV(jobject obj, jmethodID mid, va_list args) argument
170 callA(jobject obj, jmethodID mid, jvalue* args) argument
174 callV(jobject obj, jmethodID mid, va_list args) argument
180 callJNIMethodIDA(jobject obj, jmethodID mid, jvalue *args) argument
194 jmethodID mid = env->GetMethodID(cls, name, sig); local
238 jmethodID mid = env->GetStaticMethodID(cls, methodName, methodSignature); local
[all...]
/external/skia/include/core/
H A DSkTSearch.h29 int mid = (hi + lo) >> 1; local
30 const T* elem = (const T*)((const char*)base + mid * elemSize);
33 lo = mid + 1;
35 hi = mid;
63 int mid = (hi + lo) >> 1; local
64 const T* elem = (const T*)((const char*)base + mid * elemSize);
67 lo = mid + 1;
69 hi = mid;
97 int mid = (hi + lo) >> 1; local
98 const T* elem = *(const T**)((const char*)base + mid * elemSiz
[all...]
/external/e2fsprogs/e2fsck/
H A Ddx_dirinfo.c83 int low, high, mid; local
95 mid = (low+high)/2;
96 if (mid == low || mid == high)
98 if (ino == ctx->dx_dir_info[mid].ino)
99 return &ctx->dx_dir_info[mid];
100 if (ino < ctx->dx_dir_info[mid].ino)
101 high = mid;
103 low = mid;
H A Dea_refcount.c158 int low, high, mid; local
186 mid = (low+high)/2;
189 mid = low;
207 mid = low + ((int) (range * (high-low)));
210 if (blk == refcount->list[mid].ea_blk) {
211 refcount->cursor = mid+1;
212 return &refcount->list[mid];
214 if (blk < refcount->list[mid].ea_blk)
215 high = mid-1;
217 low = mid
[all...]
/external/skia/src/animator/
H A DSkGetCondensedInfo.cpp26 int mid = (hi + lo) >> 1; local
27 if (strcmp(&strings[lengths[mid << 2]], target) < 0)
28 lo = mid + 1;
30 hi = mid;
42 int mid = (hi + lo) >> 1; local
43 if (gTypeIDs[mid] < match)
44 lo = mid + 1;
46 hi = mid;
/external/freetype/src/psnames/
H A Dpstables.h4096 int mid = ( min + max ) >> 1; local
4097 const unsigned char* q = p + mid * 2;
4110 min = mid + 1;
4112 max = mid;
H A Dpsmodule.c400 PS_UniMap *min, *max, *mid, *result = NULL; local
413 mid = min + ( ( max - min ) >> 1 );
415 if ( mid->unicode == unicode )
417 result = mid;
421 base_glyph = BASE_GLYPH( mid->unicode );
424 result = mid; /* remember match but continue search for base glyph */
430 min = mid + 1;
432 max = mid - 1;
453 FT_UInt mid; local
460 mid
[all...]
/external/srec/srec/cfront/
H A Dhimul32.h127 asr_uint32_t hi, lo, mid;
153 mid = xhi * ylo + yhi * xlo;
157 // Now add the low part of mid to the high part of lo, and the
158 // high part of mid to the low part of hi:
160 // xxxxxxxx xxxxxxxx mid
165 // Note that folding mid into lo can cause a carry. An old trick
172 lo += mid << 16;
175 hi += carry + (mid >> 16);
/external/e2fsprogs/resize/
H A Dextent.c144 int low, high, mid; local
157 mid = (low+high)/2;
160 mid = low;
178 mid = low + ((int) (range * (high-low)));
181 if ((old_loc >= extent->list[mid].old_loc) &&
182 (old_loc < extent->list[mid].old_loc + extent->list[mid].size))
183 return (extent->list[mid].new_loc +
184 (old_loc - extent->list[mid].old_loc));
185 if (old_loc < extent->list[mid]
[all...]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_qsort.c199 if ((size_t)(last-first)>PIVOT_THRESHOLD*sz) mid=pivot_big(first,mid,last,sz,compare);\
201 if (compare(first,mid)<0) { \
202 if (compare(mid,last)>0) { \
203 swapper(mid,last); \
204 if (compare(first,mid)>0) swapper(first,mid);\
208 if (compare(mid,last)>0) swapper(first,last)\
210 swapper(first,mid); \
211 if (compare(mid,las
282 pivot_big(char *first, char *mid, char *last, size_t size, int compare(const void *, const void *)) argument
336 { char * mid=first+size*((last-first)/size >> 1); local
367 { char * mid=first+size*((last-first)/size >> 1); local
402 { char * mid=first+WORD_BYTES*((last-first) / (2*WORD_BYTES)); local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/
H A Dscanresults.cpp91 bssid = (*it).mid(pos);
93 freq = (*it).mid(pos);
95 signal = (*it).mid(pos);
97 flags = (*it).mid(pos);
99 ssid = (*it).mid(pos);
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
H A Dscanresults.cpp87 bssid = (*it).mid(pos);
89 freq = (*it).mid(pos);
91 signal = (*it).mid(pos);
93 flags = (*it).mid(pos);
95 ssid = (*it).mid(pos);
/external/webkit/Source/WebCore/bridge/jni/v8/
H A DJavaClassJobjectV8.cpp115 bool JavaClassJobject::jsAccessAllowed(JNIEnv* env, jmethodID mid, jobject aJMethod) argument
119 bool accessAllowed = env->CallBooleanMethod(aJMethod, mid, safeAnnotationClazz);
131 jmethodID mid = 0; local
133 mid = env->GetMethodID(methodClass, kIsAnnotationPresent, "(Ljava/lang/Class;)Z");
134 if (!methodClass || !mid) {
139 return mid;
/external/chromium/chrome/browser/safe_browsing/
H A Dchunk_range.cc103 int mid = ((unsigned int)low + (unsigned int)high) >> 1; local
104 const ChunkRange& chunk = ranges[mid];
108 // Adjust our mid point.
110 low = mid + 1;
112 high = mid - 1;
/external/e2fsprogs/lib/ext2fs/
H A Dbadblocks.c164 int low, high, mid; local
180 mid = (low+high)/2;
181 if (mid == low || mid == high)
183 if (blk == bb->list[mid])
184 return mid;
185 if (blk < bb->list[mid])
186 high = mid;
188 low = mid;
/external/quake/quake/src/QW/client/
H A Dr_light.c147 vec3_t mid; local
159 // calculate mid point
171 mid[0] = start[0] + (end[0] - start[0])*frac;
172 mid[1] = start[1] + (end[1] - start[1])*frac;
173 mid[2] = start[2] + (end[2] - start[2])*frac;
176 r = RecursiveLightPoint (node->children[side], start, mid);
193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3];
194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
235 return RecursiveLightPoint (node->children[!side], mid, end);
H A Dpmovetst.c183 vec3_t mid; local
247 mid[i] = p1[i] + frac*(p2[i] - p1[i]);
252 if (!PM_RecursiveHullCheck (hull, node->children[side], p1f, midf, p1, mid, trace) )
256 if (PM_HullPointContents (pm_hullmodel, mid, node->children[side])
259 Con_Printf ("mid PointInHullSolid\n");
264 if (PM_HullPointContents (hull, node->children[side^1], mid)
267 return PM_RecursiveHullCheck (hull, node->children[side^1], midf, p2f, mid, p2, trace);
286 while (PM_HullPointContents (hull, hull->firstclipnode, mid)
293 VectorCopy (mid, trace->endpos);
299 mid[
[all...]
H A Dgl_rlight.c273 vec3_t mid; local
285 // calculate mid point
297 mid[0] = start[0] + (end[0] - start[0])*frac;
298 mid[1] = start[1] + (end[1] - start[1])*frac;
299 mid[2] = start[2] + (end[2] - start[2])*frac;
302 r = RecursiveLightPoint (node->children[side], start, mid);
310 VectorCopy (mid, lightspot);
321 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3];
322 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
363 return RecursiveLightPoint (node->children[!side], mid, en
[all...]
/external/quake/quake/src/WinQuake/
H A Dr_light.cpp147 vec3_t mid; local
159 // calculate mid point
171 mid[0] = start[0] + (end[0] - start[0])*frac;
172 mid[1] = start[1] + (end[1] - start[1])*frac;
173 mid[2] = start[2] + (end[2] - start[2])*frac;
176 r = RecursiveLightPoint (node->children[side], start, mid);
193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3];
194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
235 return RecursiveLightPoint (node->children[!side], mid, end);
H A Dgl_rlight.cpp276 vec3_t mid; local
288 // calculate mid point
300 mid[0] = start[0] + (end[0] - start[0])*frac;
301 mid[1] = start[1] + (end[1] - start[1])*frac;
302 mid[2] = start[2] + (end[2] - start[2])*frac;
305 r = RecursiveLightPoint (node->children[side], start, mid);
313 VectorCopy (mid, lightspot);
324 s = (int) (DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]);
325 t = (int) (DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3]);
366 return RecursiveLightPoint (node->children[!side], mid, en
[all...]
/external/webkit/Tools/MiniBrowser/qt/
H A DMiniBrowserApplication.cpp84 m_urls = (lastArg != -1) ? args.mid(++lastArg) : args.mid(1);
/external/skia/src/core/
H A DSkTSearch.cpp32 int mid = (hi + lo) >> 1; local
33 const char* elem = index_into_base(base, mid, elemSize);
37 lo = mid + 1;
39 hi = mid;
41 return mid;
H A DSkStrokerPriv.cpp172 SkVector mid; local
200 mid.set(SkScalarMul(before.fX + after.fX, radius),
220 // choose the most accurate way to form the initial mid-vector
223 mid.set(after.fY - before.fY, before.fX - after.fX);
225 mid.negate();
228 mid.set(before.fX + after.fX, before.fY + after.fY);
230 mid.setLength(SkScalarDiv(radius, sinHalfAngle));
233 outer->setLastPt(pivot.fX + mid.fX, pivot.fY + mid.fY);
235 outer->lineTo(pivot.fX + mid
[all...]
/external/e2fsprogs/lib/blkid/
H A Dgetsize.c176 const blkid_loff_t mid = (low + high) / 2; local
178 if (valid_offset(fd, mid))
179 low = mid;
181 high = mid;
/external/grub/stage2/
H A Dimgact_aout.h59 #define N_SETMAGIC(ex,mag,mid,flag) \
60 ( (ex).a_midmag = (((flag) & 0x3f) <<26) | (((mid) & 0x03ff) << 16) | \
69 #define N_SETMAGIC_NET(ex,mag,mid,flag) \
70 ( (ex).a_midmag = htonl( (((flag)&0x3f)<<26) | (((mid)&0x03ff)<<16) | \
123 unsigned long a_midmag; /* htonl(flags<<26 | mid<<16 | magic) */

Completed in 490 milliseconds

1234567