Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 2003) sorted by relevance

12345678910>>...81

/external/quake/quake/src/WinQuake/
Dsv_phys.cpp72 if (check->u.v.movetype == MOVETYPE_PUSH in SV_CheckAllEnts()
73 || check->u.v.movetype == MOVETYPE_NONE in SV_CheckAllEnts()
75 || check->u.v.movetype == MOVETYPE_FOLLOW in SV_CheckAllEnts()
77 || check->u.v.movetype == MOVETYPE_NOCLIP) in SV_CheckAllEnts()
99 if (IS_NAN(ent->u.v.velocity[i])) in SV_CheckVelocity()
101 Con_Printf ("Got a NaN velocity on %s\n", pr_strings + ent->u.v.classname); in SV_CheckVelocity()
102 ent->u.v.velocity[i] = 0; in SV_CheckVelocity()
104 if (IS_NAN(ent->u.v.origin[i])) in SV_CheckVelocity()
106 Con_Printf ("Got a NaN origin on %s\n", pr_strings + ent->u.v.classname); in SV_CheckVelocity()
107 ent->u.v.origin[i] = 0; in SV_CheckVelocity()
[all …]
Dr_aclip.cpp55 if (pfv0->v[1] >= pfv1->v[1]) in R_Alias_clip_z()
64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale; in R_Alias_clip_z()
65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale; in R_Alias_clip_z()
66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale; in R_Alias_clip_z()
77 out->v[2] = pfv1->v[2] + (pfv0->v[2] - pfv1->v[2]) * scale; in R_Alias_clip_z()
78 out->v[3] = pfv1->v[3] + (pfv0->v[3] - pfv1->v[3]) * scale; in R_Alias_clip_z()
79 out->v[4] = pfv1->v[4] + (pfv0->v[4] - pfv1->v[4]) * scale; in R_Alias_clip_z()
84 if (out->v[0] < r_refdef.aliasvrect.x) in R_Alias_clip_z()
86 if (out->v[1] < r_refdef.aliasvrect.y) in R_Alias_clip_z()
88 if (out->v[0] > r_refdef.aliasvrectright) in R_Alias_clip_z()
[all …]
Dsv_move.cpp44 VectorAdd (ent->u.v.origin, ent->u.v.mins, mins); in SV_CheckBottom()
45 VectorAdd (ent->u.v.origin, ent->u.v.maxs, maxs); in SV_CheckBottom()
119 VectorCopy (ent->u.v.origin, oldorg); in SV_movestep()
120 VectorAdd (ent->u.v.origin, move, neworg); in SV_movestep()
123 if ( (int)ent->u.v.flags & (FL_SWIM | FL_FLY) ) in SV_movestep()
128 VectorAdd (ent->u.v.origin, move, neworg); in SV_movestep()
129 enemy = PROG_TO_EDICT(ent->u.v.enemy); in SV_movestep()
132 dz = ent->u.v.origin[2] - PROG_TO_EDICT(ent->u.v.enemy)->u.v.origin[2]; in SV_movestep()
138 trace = SV_Move (ent->u.v.origin, ent->u.v.mins, ent->u.v.maxs, neworg, false, ent); in SV_movestep()
142 if ( ((int)ent->u.v.flags & FL_SWIM) && SV_PointContents(trace.endpos) == CONTENTS_EMPTY ) in SV_movestep()
[all …]
Dworld.cpp137 if (ent->u.v.solid == SOLID_BSP) in SV_HullForEntity()
139 if (ent->u.v.movetype != MOVETYPE_PUSH) in SV_HullForEntity()
142 model = sv.models[ (int)ent->u.v.modelindex ]; in SV_HullForEntity()
157 VectorAdd (offset, ent->u.v.origin, offset); in SV_HullForEntity()
162 VectorSubtract (ent->u.v.mins, maxs, hullmins); in SV_HullForEntity()
163 VectorSubtract (ent->u.v.maxs, mins, hullmaxs); in SV_HullForEntity()
166 VectorCopy (ent->u.v.origin, offset); in SV_HullForEntity()
290 if (!touch->u.v.touch || touch->u.v.solid != SOLID_TRIGGER) in SV_TouchLinks()
292 if (ent->u.v.absmin[0] > touch->u.v.absmax[0] in SV_TouchLinks()
293 || ent->u.v.absmin[1] > touch->u.v.absmax[1] in SV_TouchLinks()
[all …]
/external/webkit/JavaScriptCore/qt/tests/qscriptvalue/
Dtst_qscriptvalue.cpp62 QScriptValue v; in ctor() local
63 QCOMPARE(v.isValid(), false); in ctor()
64 QCOMPARE(v.engine(), (QScriptEngine*)0); in ctor()
67 QScriptValue v(&eng, QScriptValue::UndefinedValue); in ctor() local
68 QCOMPARE(v.isValid(), true); in ctor()
69 QCOMPARE(v.isUndefined(), true); in ctor()
70 QCOMPARE(v.isObject(), false); in ctor()
71 QCOMPARE(v.engine(), &eng); in ctor()
74 QScriptValue v(&eng, QScriptValue::NullValue); in ctor() local
75 QCOMPARE(v.isValid(), true); in ctor()
[all …]
/external/quake/quake/src/QW/client/
Dr_aclip.c55 if (pfv0->v[1] >= pfv1->v[1]) in R_Alias_clip_z()
64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale; in R_Alias_clip_z()
65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale; in R_Alias_clip_z()
66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale; in R_Alias_clip_z()
77 out->v[2] = pfv1->v[2] + (pfv0->v[2] - pfv1->v[2]) * scale; in R_Alias_clip_z()
78 out->v[3] = pfv1->v[3] + (pfv0->v[3] - pfv1->v[3]) * scale; in R_Alias_clip_z()
79 out->v[4] = pfv1->v[4] + (pfv0->v[4] - pfv1->v[4]) * scale; in R_Alias_clip_z()
84 if (out->v[0] < r_refdef.aliasvrect.x) in R_Alias_clip_z()
86 if (out->v[1] < r_refdef.aliasvrect.y) in R_Alias_clip_z()
88 if (out->v[0] > r_refdef.aliasvrectright) in R_Alias_clip_z()
[all …]
/external/quake/quake/src/QW/server/
Dsv_phys.c75 if (check->v.movetype == MOVETYPE_PUSH in SV_CheckAllEnts()
76 || check->v.movetype == MOVETYPE_NONE in SV_CheckAllEnts()
77 || check->v.movetype == MOVETYPE_NOCLIP) in SV_CheckAllEnts()
99 if (IS_NAN(ent->v.velocity[i])) in SV_CheckVelocity()
101 Con_Printf ("Got a NaN velocity on %s\n", PR_GetString(ent->v.classname)); in SV_CheckVelocity()
102 ent->v.velocity[i] = 0; in SV_CheckVelocity()
104 if (IS_NAN(ent->v.origin[i])) in SV_CheckVelocity()
106 Con_Printf ("Got a NaN origin on %s\n", PR_GetString(ent->v.classname)); in SV_CheckVelocity()
107 ent->v.origin[i] = 0; in SV_CheckVelocity()
109 if (ent->v.velocity[i] > sv_maxvelocity.value) in SV_CheckVelocity()
[all …]
Dsv_move.c44 VectorAdd (ent->v.origin, ent->v.mins, mins); in SV_CheckBottom()
45 VectorAdd (ent->v.origin, ent->v.maxs, maxs); in SV_CheckBottom()
119 VectorCopy (ent->v.origin, oldorg); in SV_movestep()
120 VectorAdd (ent->v.origin, move, neworg); in SV_movestep()
123 if ( (int)ent->v.flags & (FL_SWIM | FL_FLY) ) in SV_movestep()
128 VectorAdd (ent->v.origin, move, neworg); in SV_movestep()
129 enemy = PROG_TO_EDICT(ent->v.enemy); in SV_movestep()
132 dz = ent->v.origin[2] - PROG_TO_EDICT(ent->v.enemy)->v.origin[2]; in SV_movestep()
138 trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, neworg, false, ent); in SV_movestep()
142 if ( ((int)ent->v.flags & FL_SWIM) && SV_PointContents(trace.endpos) == CONTENTS_EMPTY ) in SV_movestep()
[all …]
/external/stlport/test/unit/
Dvector_test.cpp156 vector<int> v(4); in vec_test_4() local
158 v[0] = 1; in vec_test_4()
159 v[1] = 4; in vec_test_4()
160 v[2] = 9; in vec_test_4()
161 v[3] = 16; in vec_test_4()
163 CPPUNIT_ASSERT( v.front() == 1 ); in vec_test_4()
164 CPPUNIT_ASSERT( v.back() == 16 ); in vec_test_4()
166 v.push_back(25); in vec_test_4()
168 CPPUNIT_ASSERT( v.back() == 25 ); in vec_test_4()
169 CPPUNIT_ASSERT( v.size() == 5 ); in vec_test_4()
[all …]
Dfill_test.cpp32 vector <int> v(10); in fill1() local
33 fill(v.begin(), v.end(), 42); in fill1()
35 CPPUNIT_ASSERT(v[0]==42); in fill1()
36 CPPUNIT_ASSERT(v[1]==42); in fill1()
37 CPPUNIT_ASSERT(v[2]==42); in fill1()
38 CPPUNIT_ASSERT(v[3]==42); in fill1()
39 CPPUNIT_ASSERT(v[4]==42); in fill1()
40 CPPUNIT_ASSERT(v[5]==42); in fill1()
41 CPPUNIT_ASSERT(v[6]==42); in fill1()
42 CPPUNIT_ASSERT(v[7]==42); in fill1()
[all …]
Dheap_test.cpp73 vector<int> v; in pheap1() local
75 v.push_back(1); in pheap1()
76 v.push_back(20); in pheap1()
77 v.push_back(4); in pheap1()
78 make_heap(v.begin(), v.end()); in pheap1()
80 v.push_back(7); in pheap1()
81 push_heap(v.begin(), v.end()); in pheap1()
83 sort_heap(v.begin(), v.end()); in pheap1()
85 CPPUNIT_ASSERT(v[0]==1); in pheap1()
86 CPPUNIT_ASSERT(v[1]==4); in pheap1()
[all …]
Dfunc_test.cpp45 vector<int>v; in func1() local
46 v.push_back(4); in func1()
47 v.push_back(1); in func1()
48 v.push_back(5); in func1()
49 int n = count_if(v.begin(), v.end(), bigger); in func1()
55 vector<int> v; in func2() local
56 v.push_back(4); in func2()
57 v.push_back(1); in func2()
58 v.push_back(5); in func2()
59 sort(v.begin(), v.end(), bigger_than); in func2()
[all …]
Dswap_test.cpp68 v( 0 ) in Obj()
71 v( 1 ) in Obj()
75 { v = 2; return *this; } in operator =()
77 int v; member in Obj
94 v1.back().v = -1; in swap_container_non_spec()
96 v1.back().v = -2; in swap_container_non_spec()
99 v2.back().v = 10; in swap_container_non_spec()
101 v2.back().v = 11; in swap_container_non_spec()
103 v2.back().v = 12; in swap_container_non_spec()
114 CPPUNIT_CHECK( v1.front().v == 1 || v1.front().v == 2 ); in swap_container_non_spec()
[all …]
/external/kernel-headers/original/asm-arm/
Datomic.h22 #define atomic_read(v) ((v)->counter) argument
33 static inline void atomic_set(atomic_t *v, int i) in atomic_set() argument
43 : "r" (&v->counter), "r" (i) in atomic_set()
47 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() argument
59 : "r" (&v->counter), "Ir" (i) in atomic_add_return()
65 static inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() argument
77 : "r" (&v->counter), "Ir" (i) in atomic_sub_return()
124 #define atomic_set(v,i) (((v)->counter) = (i)) argument
126 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() argument
132 val = v->counter; in atomic_add_return()
[all …]
/external/tremolo/Tremolo/
Ddsp.c46 int vorbis_dsp_restart(vorbis_dsp_state *v){ in vorbis_dsp_restart() argument
47 if(!v)return -1; in vorbis_dsp_restart()
49 vorbis_info *vi=v->vi; in vorbis_dsp_restart()
56 v->out_end=-1; in vorbis_dsp_restart()
57 v->out_begin=-1; in vorbis_dsp_restart()
59 v->granulepos=-1; in vorbis_dsp_restart()
60 v->sequence=-1; in vorbis_dsp_restart()
61 v->sample_count=-1; in vorbis_dsp_restart()
66 int vorbis_dsp_init(vorbis_dsp_state *v,vorbis_info *vi){ in vorbis_dsp_init() argument
71 v->vi=vi; in vorbis_dsp_init()
[all …]
/external/webkit/JavaScriptCore/runtime/
DJSNumberCell.h101 inline bool isNumberCell(JSValue v) in isNumberCell() argument
103 return v.isCell() && v.asCell()->isNumber(); in isNumberCell()
106 inline JSNumberCell* asNumberCell(JSValue v) in asNumberCell() argument
108 ASSERT(isNumberCell(v)); in asNumberCell()
109 return static_cast<JSNumberCell*>(v.asCell()); in asNumberCell()
119 JSValue v = JSImmediate::from(d); in JSValue() local
120 *this = v ? v : jsNumberCell(exec, d); in JSValue()
125 JSValue v = JSImmediate::from(i); in JSValue() local
126 *this = v ? v : jsNumberCell(exec, i); in JSValue()
131 JSValue v = JSImmediate::from(i); in JSValue() local
[all …]
DJSImmediate.h195 static ALWAYS_INLINE bool isImmediate(JSValue v) in isImmediate() argument
197 return rawValue(v) & TagMask; in isImmediate()
200 static ALWAYS_INLINE bool isNumber(JSValue v) in isNumber() argument
202 return rawValue(v) & TagTypeNumber; in isNumber()
205 static ALWAYS_INLINE bool isIntegerNumber(JSValue v) in isIntegerNumber() argument
208 return (rawValue(v) & TagTypeNumber) == TagTypeNumber; in isIntegerNumber()
210 return isNumber(v); in isIntegerNumber()
215 static ALWAYS_INLINE bool isDouble(JSValue v) in isDouble() argument
217 return isNumber(v) && !isIntegerNumber(v); in isDouble()
221 static ALWAYS_INLINE bool isPositiveIntegerNumber(JSValue v) in isPositiveIntegerNumber() argument
[all …]
/external/kernel-headers/original/asm-x86/
Datomic_32.h28 #define atomic_read(v) ((v)->counter) argument
37 #define atomic_set(v,i) (((v)->counter) = (i)) argument
46 static __inline__ void atomic_add(int i, atomic_t *v) in atomic_add() argument
50 :"+m" (v->counter) in atomic_add()
61 static __inline__ void atomic_sub(int i, atomic_t *v) in atomic_sub() argument
65 :"+m" (v->counter) in atomic_sub()
78 static __inline__ int atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() argument
84 :"+m" (v->counter), "=qm" (c) in atomic_sub_and_test()
95 static __inline__ void atomic_inc(atomic_t *v) in atomic_inc() argument
99 :"+m" (v->counter)); in atomic_inc()
[all …]
/external/freetype/src/base/
Dfttrigon.c49 FT_Int64 v; in ft_trig_downscale() local
55 v = ( val * (FT_Int64)FT_TRIG_SCALE ) + 0x100000000UL; in ft_trig_downscale()
56 val = (FT_Fixed)( v >> 32 ); in ft_trig_downscale()
335 FT_Vector v; in FT_Cos() local
338 v.x = FT_TRIG_COSCALE >> 2; in FT_Cos()
339 v.y = 0; in FT_Cos()
340 ft_trig_pseudo_rotate( &v, angle ); in FT_Cos()
342 return v.x / ( 1 << 12 ); in FT_Cos()
360 FT_Vector v; in FT_Tan() local
363 v.x = FT_TRIG_COSCALE >> 2; in FT_Tan()
[all …]
/external/qemu/
Dcpu-all.h216 static inline void stb_p(void *ptr, int v) in stb_p() argument
218 *(uint8_t *)ptr = v; in stb_p()
272 static inline void stw_le_p(void *ptr, int v) in stw_le_p() argument
275 __asm__ __volatile__ ("sthbrx %1,0,%2" : "=m" (*(uint16_t *)ptr) : "r" (v), "r" (ptr)); in stw_le_p()
278 p[0] = v; in stw_le_p()
279 p[1] = v >> 8; in stw_le_p()
283 static inline void stl_le_p(void *ptr, int v) in stl_le_p() argument
286 __asm__ __volatile__ ("stwbrx %1,0,%2" : "=m" (*(uint32_t *)ptr) : "r" (v), "r" (ptr)); in stl_le_p()
289 p[0] = v; in stl_le_p()
290 p[1] = v >> 8; in stl_le_p()
[all …]
Dbswap.h85 #define be_bswap(v, size) (v) argument
86 #define le_bswap(v, size) bswap ## size(v) argument
87 #define be_bswaps(v, size) argument
90 #define le_bswap(v, size) (v) argument
91 #define be_bswap(v, size) bswap ## size(v) argument
92 #define le_bswaps(v, size) argument
97 static inline type endian ## size ## _to_cpu(type v)\
99 return endian ## _bswap(v, size);\
102 static inline type cpu_to_ ## endian ## size(type v)\
104 return endian ## _bswap(v, size);\
[all …]
/external/srec/config/en.us/audio/v139/
Dv139_024.nwv10v�z�|�{�v�u�y�y�{��{�w�x����|�������������~�����������������������������������������������������…
12 ���/�G�D�H�j���m�j�����v�w�d�M�M�@�(������������k�O�7�4�7�%�
15 �����������������������������������p�v����������������������2�����o���������-�4��qN�_…
19 �<���t��,v��%0n���)���x�;�P�u�c�Q���C���
23v�k����&  �H:��X�fKC�������r� �����z�b�J�?�C�=�H�z���������0�{��������3�/�-�T�…
25 ���J'��0���7�����������������l���d�v�������>]�������M��������|�m�����������������…
Dv139_254.nwv10vv�m�c�f�f�`�e�i�a�[�_�d�`�d�k�c�a�j�f�g�t�q�p�s�m�n�u�y�r�m�t�s�v�{�w�}�}�y�����{���������������…
12v�R�~�������B�K�������4��t�����~�O���������E�S�������?��g�����m�T���������.�<�����m���`�����a�…
15v�������l�2�l�����V��1�������R�Y�������M�(�a�����K��3�������I�Q�������J��\�����E��2������K�V�…
18v�b�d�E�#�.�@�B�K�.��������������������h�}���}�c��������������P�2��7�E�\�����[�����Y�w�o�`…
26 …����������O�#������x�u�c�%�����������������q�r�������������������$�;�@�U�v��������������������…
30 ����������� �'�8�,�;�]�:�0�i�x�S�+�D�~�U��+�i���v�N�Z���������|�������������������������`�C��� �…
31 ���D�&�%�����������`���g� �����$�W�|� �����v���f�t����������������u�a�x���R�������������������…
32 …~�1�������������������������"����C�5� �'������5�O�6�6�F�:�E�{���{�����z�v���������M�RI�…
/external/openssl/crypto/conf/
Dkeysets.pl19 $v=0;
21 $v|=$NUMBER if ($c =~ /[0-9]/);
22 $v|=$UPPER if ($c =~ /[A-Z]/);
23 $v|=$LOWER if ($c =~ /[a-z]/);
24 $v|=$UNDER if ($c =~ /_/);
25 $v|=$PUNCTUATION if ($c =~ /[!\.%&\*\+,\/;\?\@\^\~\|-]/);
26 $v|=$WS if ($c =~ /[ \t\r\n]/);
27 $v|=$ESC if ($c =~ /\\/);
28 $v|=$QUOTE if ($c =~ /['`"]/); # for emacs: "`'}/)
29 $v|=$COMMENT if ($c =~ /\#/);
[all …]
/external/openssl/crypto/asn1/
Dt_x509.c306 int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v) in ASN1_STRING_print() argument
312 if (v == NULL) return(0); in ASN1_STRING_print()
314 p=(const char *)v->data; in ASN1_STRING_print()
315 for (i=0; i<v->length; i++) in ASN1_STRING_print()
353 char *v; in ASN1_GENERALIZEDTIME_print() local
361 v=(char *)tm->data; in ASN1_GENERALIZEDTIME_print()
364 if (v[i-1] == 'Z') gmt=1; in ASN1_GENERALIZEDTIME_print()
366 if ((v[i] > '9') || (v[i] < '0')) goto err; in ASN1_GENERALIZEDTIME_print()
367 y= (v[0]-'0')*1000+(v[1]-'0')*100 + (v[2]-'0')*10+(v[3]-'0'); in ASN1_GENERALIZEDTIME_print()
368 M= (v[4]-'0')*10+(v[5]-'0'); in ASN1_GENERALIZEDTIME_print()
[all …]

12345678910>>...81