/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/ |
test_min_max.pass.cpp | 18 std::string mins = miniss.str(); local 21 istringstream maxoss(maxs), minoss(mins); 30 if(mins == "0") 31 mins = "-1"; 33 mins[mins.size() - 1]++; 37 istringstream maxoss2(maxs), minoss2(mins);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
StringUtils.java | 115 final long mins = time / 60000;
local 120 return String.format("%02d:%02d:%02d.%01d", hours, mins, sec, time);
134 final long mins = time / 60000;
local 137 return String.format("%02d:%02d:%02d", hours, mins, sec);
151 final long mins = time / 60000;
local 156 if (mins == 0) {
158 } else if (mins == 1) {
161 return String.format(context.getString(R.string.minutes), mins);
164 return String.format(context.getString(R.string.hour_and_minutes), mins);
166 return String.format(context.getString(R.string.hours_and_minutes), hours, mins);
[all...] |
/external/smack/src/org/xbill/DNS/ |
TTL.java | 90 long secs, mins, hours, days, weeks; local 93 mins = ttl % 60; 106 if (mins > 0) 107 sb.append(mins + "M"); 108 if (secs > 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0))
|
/bionic/libc/netbsd/nameser/ |
ns_ttl.c | 57 int secs, mins, hours, days, weeks, x; local 61 mins = src % 60; src /= 60; 79 if (mins) { 80 T(fmt1(mins, 'M', &dst, &dstlen)); 83 if (secs || !(weeks || days || hours || mins)) {
|
/external/quake/quake/src/QW/server/ |
sv_move.c | 39 vec3_t mins, maxs, start, stop; local 44 VectorAdd (ent->v.origin, ent->v.mins, mins); 50 start[2] = mins[2] - 1; 54 start[0] = x ? maxs[0] : mins[0]; 55 start[1] = y ? maxs[1] : mins[1]; 68 start[2] = mins[2]; 71 start[0] = stop[0] = (mins[0] + maxs[0])*0.5; 72 start[1] = stop[1] = (mins[1] + maxs[1])*0.5; 84 start[0] = stop[0] = x ? maxs[0] : mins[0] [all...] |
world.c | 36 float *mins, *maxs; // size of the moving object member in struct:__anon14373 105 hull_t *SV_HullForBox (vec3_t mins, vec3_t maxs) 108 box_planes[1].dist = mins[0]; 110 box_planes[3].dist = mins[1]; 112 box_planes[5].dist = mins[2]; 123 Returns a hull that can be used for testing or clipping an object of mins/maxs 129 hull_t *SV_HullForEntity (edict_t *ent, vec3_t mins, vec3_t maxs, vec3_t offset) 147 VectorSubtract (maxs, mins, size); 156 VectorSubtract (hull->clip_mins, mins, offset); 162 VectorSubtract (ent->v.mins, maxs, hullmins) [all...] |
world.h | 68 // Needs to be called any time an entity changes origin, mins, maxs, or solid 79 trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict); 80 // mins and maxs are reletive
|
sv_phys.c | 266 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, false, ent); 405 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, MOVE_MISSILE, ent); 408 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, MOVE_NOMONSTERS, ent); 410 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, end, MOVE_NORMAL, ent); 432 vec3_t mins, maxs;
local 440 mins[i] = pusher->v.absmin[i] + move[i];
476 || check->v.absmax[0] <= mins[0]
477 || check->v.absmax[1] <= mins[1]
478 || check->v.absmax[2] <= mins[2] )
509 if (check->v.mins[0] == check->v.maxs[0]) [all...] |
model.c | 522 { // spread the mins / maxs by a pixel 523 out->mins[j] = LittleFloat (in->mins[j]) - 1; 635 float mins[2], maxs[2], val; local 641 mins[0] = mins[1] = 999999; 660 if (val < mins[j]) 661 mins[j] = val; 669 bmins[i] = floor(mins[i]/16); 788 out->minmaxs[j] = LittleShort (in->mins[j]) [all...] |
/external/quake/quake/src/WinQuake/ |
sv_move.cpp | 39 vec3_t mins, maxs, start, stop; local 44 VectorAdd (ent->u.v.origin, ent->u.v.mins, mins); 50 start[2] = mins[2] - 1; 54 start[0] = x ? maxs[0] : mins[0]; 55 start[1] = y ? maxs[1] : mins[1]; 68 start[2] = mins[2]; 71 start[0] = stop[0] = (mins[0] + maxs[0])*0.5; 72 start[1] = stop[1] = (mins[1] + maxs[1])*0.5; 84 start[0] = stop[0] = x ? maxs[0] : mins[0] [all...] |
world.h | 54 // Needs to be called any time an entity changes origin, mins, maxs, or solid
67 trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict);
68 // mins and maxs are reletive
|
world.cpp | 36 float *mins, *maxs; // size of the moving object member in struct:__anon14696 105 hull_t *SV_HullForBox (vec3_t mins, vec3_t maxs) 108 box_planes[1].dist = mins[0]; 110 box_planes[3].dist = mins[1]; 112 box_planes[5].dist = mins[2]; 123 Returns a hull that can be used for testing or clipping an object of mins/maxs 129 hull_t *SV_HullForEntity (edict_t *ent, vec3_t mins, vec3_t maxs, vec3_t offset) 147 VectorSubtract (maxs, mins, size); 156 VectorSubtract (hull->clip_mins, mins, offset); 162 VectorSubtract (ent->u.v.mins, maxs, hullmins) [all...] |
bspfile.h | 84 float mins[3], maxs[3];
member in struct:__anon14377 159 short mins[3]; // for sphere culling
member in struct:__anon14382 218 short mins[3]; // for frustum culling
member in struct:__anon14386
|
sv_phys.cpp | 260 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, false, ent); 416 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, MOVE_MISSILE, ent); 419 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, MOVE_NOMONSTERS, ent); 421 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, end, MOVE_NORMAL, ent); 443 vec3_t mins, maxs, move; local 458 mins[i] = pusher->u.v.absmin[i] + move[i]; 493 || check->u.v.absmax[0] <= mins[0] 494 || check->u.v.absmax[1] <= mins[1] 495 || check->u.v.absmax[2] <= mins[2] ) 521 if (check->u.v.mins[0] == check->u.v.maxs[0] 1434 vec3_t mins, maxs, point; local [all...] |
gl_model.cpp | 592 { // spread the mins / maxs by a pixel 593 out->mins[j] = LittleFloat (in->mins[j]) - 1; 707 float mins[2], maxs[2], val; local 713 mins[0] = mins[1] = 999999; 732 if (val < mins[j]) 733 mins[j] = val; 741 bmins[i] = (int) floorf(mins[i]/16); 865 out->minmaxs[j] = LittleShort (in->mins[j]) [all...] |
model.cpp | 601 { // spread the mins / maxs by a pixel 602 out->mins[j] = LittleFloat (in->mins[j]) - 1; 716 float mins[2], maxs[2], val; local 722 mins[0] = mins[1] = 999999; 741 if (val < mins[j]) 742 mins[j] = val; 750 bmins[i] = floor(mins[i]/16); 869 out->minmaxs[j] = LittleShort (in->mins[j]) [all...] |
gl_warp.cpp | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) 41 mins[0] = mins[1] = mins[2] = 9999; 47 if (*v < mins[j]) 48 mins[j] = *v; 57 vec3_t mins, maxs; local 70 BoundPoly (numverts, verts, mins, maxs); 74 m = (mins[i] + maxs[i]) * 0.5; 78 if (m - mins[i] < 8 [all...] |
/external/quake/quake/src/QW/client/ |
pmovetst.c | 74 hull_t *PM_HullForBox (vec3_t mins, vec3_t maxs)
77 box_planes[1].dist = mins[0];
79 box_planes[3].dist = mins[1];
81 box_planes[5].dist = mins[2];
320 vec3_t mins, maxs, test;
local 331 VectorSubtract (pe->mins, player_maxs, mins);
333 hull = PM_HullForBox (mins, maxs);
358 vec3_t mins, maxs;
local 374 VectorSubtract (pe->mins, player_maxs, mins); [all...] |
bspfile.h | 81 float mins[3], maxs[3]; member in struct:__anon14089 146 short mins[3]; // for sphere culling member in struct:__anon14094 205 short mins[3]; // for frustum culling member in struct:__anon14098
|
pmove.h | 44 vec3_t mins, maxs; // only for non-bsp models
member in struct:__anon14201
|
gl_model.c | 592 { // spread the mins / maxs by a pixel 593 out->mins[j] = LittleFloat (in->mins[j]) - 1; 707 float mins[2], maxs[2], val; local 713 mins[0] = mins[1] = 999999; 732 if (val < mins[j]) 733 mins[j] = val; 741 bmins[i] = floor(mins[i]/16); 865 out->minmaxs[j] = LittleShort (in->mins[j]) [all...] |
model.c | 583 { // spread the mins / maxs by a pixel 584 out->mins[j] = LittleFloat (in->mins[j]) - 1; 698 float mins[2], maxs[2], val; local 704 mins[0] = mins[1] = 999999; 723 if (val < mins[j]) 724 mins[j] = val; 732 bmins[i] = floor(mins[i]/16); 851 out->minmaxs[j] = LittleShort (in->mins[j]) [all...] |
gl_warp.c | 36 void BoundPoly (int numverts, float *verts, vec3_t mins, vec3_t maxs) 41 mins[0] = mins[1] = mins[2] = 9999; 47 if (*v < mins[j]) 48 mins[j] = *v; 57 vec3_t mins, maxs; local 70 BoundPoly (numverts, verts, mins, maxs); 74 m = (mins[i] + maxs[i]) * 0.5; 78 if (m - mins[i] < 8 [all...] |
gl_refrag.c | 180 r_emins[i] = ent->origin[i] + entmodel->mins[i];
|
/external/quake/quake/src/QW/progs/ |
progdefs.h | 79 vec3_t mins;
member in struct:__anon14313
|