Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 92) sorted by relevance

1234

/reactos/sdk/lib/ucrt/mbstring/
H A Dmbsnbicm.cpp50 unsigned short c1, c2; in _mbsnbicmp_l() local
65 c1 = *s1++; in _mbsnbicmp_l()
66 if ( _ismbblead_l(c1, _loc_update.GetLocaleT()) ) in _mbsnbicmp_l()
70 c1 = 0; /* 'naked' lead - end of string */ in _mbsnbicmp_l()
75 c1 = 0; in _mbsnbicmp_l()
77 c1 = ((c1<<8) | *s1++); in _mbsnbicmp_l()
81 c1 += _MBCASEDIFF1_MT(_loc_update.GetLocaleT()); in _mbsnbicmp_l()
88 c1 = _mbbtolower_l(c1, _loc_update.GetLocaleT()); in _mbsnbicmp_l()
116 if (c1 != c2) in _mbsnbicmp_l()
117 return( (c1 > c2) ? 1 : -1); in _mbsnbicmp_l()
[all …]
H A Dmbsnicmp.cpp48 unsigned short c1, c2; in _mbsnicmp_l() local
63 c1 = *s1++; in _mbsnicmp_l()
64 if ( _ismbblead_l(c1, _loc_update.GetLocaleT()) ) { in _mbsnicmp_l()
66 c1 = 0; in _mbsnicmp_l()
68 c1 = ((c1<<8) | *s1++); in _mbsnicmp_l()
72 c1 += _MBCASEDIFF1_MT(_loc_update.GetLocaleT()); in _mbsnicmp_l()
75 c1 += _MBCASEDIFF2_MT(_loc_update.GetLocaleT()); in _mbsnicmp_l()
79 c1 = _mbbtolower_l(c1, _loc_update.GetLocaleT()); in _mbsnicmp_l()
98 if (c1 != c2) in _mbsnicmp_l()
99 return( (c1 > c2) ? 1 : -1 ); in _mbsnicmp_l()
[all …]
H A Dmbsicmp.cpp48 unsigned short c1, c2; in _mbsicmp_l() local
62 c1 = *s1++; in _mbsicmp_l()
63 if ( _ismbblead_l(c1, _loc_update.GetLocaleT()) ) in _mbsicmp_l()
66 c1 = 0; in _mbsicmp_l()
81 c1 = szResult[0]; in _mbsicmp_l()
83 c1 = (szResult[0] << 8) + szResult[1]; in _mbsicmp_l()
93 c1 = _mbbtolower_l(c1, _loc_update.GetLocaleT()); in _mbsicmp_l()
128 if (c1 != c2) in _mbsicmp_l()
129 return( (c1 > c2) ? 1 : -1 ); in _mbsicmp_l()
131 if (c1 == 0) in _mbsicmp_l()
H A Dmbsnbcmp.cpp50 unsigned short c1, c2; in _mbsnbcmp_l() local
66 c1 = *s1++; in _mbsnbcmp_l()
67 if ( _ismbblead_l(c1, _loc_update.GetLocaleT()) ) in _mbsnbcmp_l()
71 c1 = 0; /* 'naked' lead - end of string */ in _mbsnbcmp_l()
75 c1 = ( (*s1 == '\0') ? 0 : ((c1<<8) | *s1++) ); in _mbsnbcmp_l()
90 if (c1 != c2) in _mbsnbcmp_l()
91 return( (c1 > c2) ? 1 : -1); in _mbsnbcmp_l()
93 if (c1 == 0) in _mbsnbcmp_l()
H A Dmbscmp.cpp53 unsigned short c1, c2; in _mbscmp_l() local
64 c1 = *s1++; in _mbscmp_l()
65 if ( _ismbblead_l(c1, _loc_update.GetLocaleT()) ) in _mbscmp_l()
66 c1 = ( (*s1 == '\0') ? 0 : ((c1<<8) | *s1++) ); in _mbscmp_l()
72 if (c1 != c2) in _mbscmp_l()
73 return (c1 > c2) ? 1 : -1; in _mbscmp_l()
75 if (c1 == 0) in _mbscmp_l()
H A Dmbsncmp.cpp52 unsigned short c1, c2; in _mbsncmp_l() local
67 c1 = *s1++; in _mbsncmp_l()
68 if ( _ismbblead_l(c1, _loc_update.GetLocaleT()) ) in _mbsncmp_l()
69 c1 = ( (*s1 == '\0') ? 0 : ((c1<<8) | *s1++) ); in _mbsncmp_l()
75 if (c1 != c2) in _mbsncmp_l()
76 return( (c1 > c2) ? 1 : -1); in _mbsncmp_l()
78 if (c1 == 0) in _mbsncmp_l()
/reactos/drivers/network/tcpip/lwip/src/core/
H A Ddef.c153 char c1, c2; in lwip_stricmp() local
156 c1 = *str1++; in lwip_stricmp()
158 if (c1 != c2) { in lwip_stricmp()
159 char c1_upc = c1 | 0x20; in lwip_stricmp()
174 } while (c1 != 0); in lwip_stricmp()
188 char c1, c2; in lwip_strnicmp() local
191 c1 = *str1++; in lwip_strnicmp()
193 if (c1 != c2) { in lwip_strnicmp()
194 char c1_upc = c1 | 0x20; in lwip_strnicmp()
210 } while ((len != 0) && (c1 != 0)); in lwip_strnicmp()
/reactos/dll/3rdparty/libjpeg/
H A Djquant2.c321 int c0,c1,c2; in update_box() local
332 for (c1 = c1min; c1 <= c1max; c1++) { in update_box()
343 for (c1 = c1min; c1 <= c1max; c1++) { in update_box()
353 for (c1 = c1min; c1 <= c1max; c1++) in update_box()
364 for (c1 = c1max; c1 >= c1min; c1--) in update_box()
378 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS) in update_box()
389 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS) in update_box()
413 for (c1 = c1min; c1 <= c1max; c1++) { in update_box()
430 int c0,c1,c2,cmax; in median_cut() local
508 int c0,c1,c2; in compute_color() local
[all …]
H A Drdjpgcom.c92 int c1, c2; in read_2_bytes() local
94 c1 = NEXTBYTE(); in read_2_bytes()
95 if (c1 == EOF) in read_2_bytes()
100 return (((unsigned int) c1) << 8) + ((unsigned int) c2); in read_2_bytes()
179 int c1, c2; in first_marker() local
181 c1 = NEXTBYTE(); in first_marker()
183 if (c1 != 0xFF || c2 != M_SOI) in first_marker()
H A Dwrjpgcom.c108 int c1, c2; in read_2_bytes() local
110 c1 = NEXTBYTE(); in read_2_bytes()
111 if (c1 == EOF) in read_2_bytes()
116 return (((unsigned int) c1) << 8) + ((unsigned int) c2); in read_2_bytes()
225 int c1, c2; in first_marker() local
227 c1 = NEXTBYTE(); in first_marker()
229 if (c1 != 0xFF || c2 != M_SOI) in first_marker()
H A Djchuff.c1258 int c1, c2, i, j; in jpeg_gen_optimal_table() local
1316 while ((c1 = others[256]) >= 0) { in jpeg_gen_optimal_table()
1317 v = freq[c1]; in jpeg_gen_optimal_table()
1326 c1 = c2; in jpeg_gen_optimal_table()
1346 c1 = -1; in jpeg_gen_optimal_table()
1351 c1 = i; in jpeg_gen_optimal_table()
1371 freq[c1] += freq[c2]; in jpeg_gen_optimal_table()
1375 codesize[c1]++; in jpeg_gen_optimal_table()
1376 while (others[c1] >= 0) { in jpeg_gen_optimal_table()
1377 c1 = others[c1]; in jpeg_gen_optimal_table()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/tools/
H A Dtest_trig.c104 double l, a, c1, s1; in test_atan2() local
111 c1 = l * cos(a); in test_atan2()
114 c2 = (FT_Fixed)(c1*65536.0); in test_atan2()
139 double a, c1, s1; in test_unit() local
145 c1 = cos(a); in test_unit()
147 c2 = (FT_Fixed)(c1*65536.0); in test_unit()
157 c1, s1 ); in test_unit()
216 c1 = l * cos(a); in test_rotate()
224 c3 = c1 * cra - s1 * sra; in test_rotate()
225 s3 = c1 * sra + s1 * cra; in test_rotate()
[all …]
/reactos/modules/rostests/apitests/atl/
H A DCComVariant.cpp96 ok(V_VT(&c1) == VT_I1, "Expected .vt to be VT_I1, was %u\n", V_VT(&c1)); in test_construction()
97 ok(V_I1(&c1) == (char)33, "Expected value to be 33, was: %d\n", V_I1(&c1)); in test_construction()
161 CComVariant c1(cy); in test_construction() local
162 ok(V_VT(&c1) == VT_CY, "Expected .vt to be VT_CY, was %u\n", V_VT(&c1)); in test_construction()
198 CComVariant c2(c1); in test_copyconstructor()
262 CComVariant c1(cy); in test_copyconstructor() local
263 CComVariant c2(c1); in test_copyconstructor()
305 ok(V_VT(&c1) == VT_I1, "Expected .vt to be VT_I1, was %u\n", V_VT(&c1)); in test_assign()
306 ok(V_I1(&c1) == (char)33, "Expected value to be 33, was: %d\n", V_I1(&c1)); in test_assign()
387 ok(V_VT(&c1) == VT_CY, "Expected .vt to be VT_I8, was %u\n", V_VT(&c1)); in test_assign()
[all …]
/reactos/drivers/bus/acpi/acpica/utilities/
H A Dutnonansi.c148 int c1; in AcpiUtStricmp() local
154 c1 = tolower ((int) *String1); in AcpiUtStricmp()
160 while ((c1 == c2) && (c1)); in AcpiUtStricmp()
162 return (c1 - c2); in AcpiUtStricmp()
/reactos/dll/win32/msi/
H A Dcreate.c149 const column_info *c1, *c2; in check_columns() local
152 for( c1 = col_info; c1; c1 = c1->next ) in check_columns()
153 for( c2 = c1->next; c2; c2 = c2->next ) in check_columns()
154 if (!wcscmp( c1->column, c2->column )) in check_columns()
/reactos/sdk/lib/3rdparty/libmpg123/
H A Dtabinit.c302 int c1; in make_conv16to8_table() local
308 c1 = 127 - (int) (log( 1.0 - 255.0 * (double) i*mul / 32768.0 ) * m); in make_conv16to8_table()
310 c1 = 255 - (int) (log( 1.0 + 255.0 * (double) i*mul / 32768.0 ) * m); in make_conv16to8_table()
311 if(c1 < 0 || c1 > 255) in make_conv16to8_table()
313 if(NOQUIET) error2("Converror %d %d",i,c1); in make_conv16to8_table()
316 if(c1 == 0) in make_conv16to8_table()
317 c1 = 2; in make_conv16to8_table()
318 fr->conv16to8[i] = (unsigned char) c1; in make_conv16to8_table()
H A Dsynth_i486.c27 #define FIR16_1(pos,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15) \ argument
30 sum=(c0)*b0[0]+(c1)*b0[1]+(c2)*b0[2]+(c3)*b0[3]+\
41 #define FIR16_2(pos1,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,\ argument
50 sum1+=(c1)*v;\
/reactos/sdk/tools/mkhive/
H A Drtl.c55 WCHAR c1, c2; in RtlCompareUnicodeString() local
61 c1 = RtlUpcaseUnicodeChar(String1->Buffer[i]); in RtlCompareUnicodeString()
66 c1 = String1->Buffer[i]; in RtlCompareUnicodeString()
70 if (c1 < c2) in RtlCompareUnicodeString()
72 else if (c1 > c2) in RtlCompareUnicodeString()
/reactos/sdk/lib/3rdparty/libxml2/
H A Dvalid.c1025 if (cur->c1 != NULL) in xmlCopyDocElementContent()
1026 ret->c1 = xmlCopyDocElementContent(doc, cur->c1); in xmlCopyDocElementContent()
1027 if (ret->c1 != NULL) in xmlCopyDocElementContent()
1028 ret->c1->parent = ret; in xmlCopyDocElementContent()
1057 tmp->c1 = xmlCopyDocElementContent(doc,cur->c1); in xmlCopyDocElementContent()
1059 tmp->c1->parent = ret; in xmlCopyDocElementContent()
1102 cur = (cur->c1 != NULL) ? cur->c1 : cur->c2; in xmlFreeDocElementContent()
4340 name = cur->c1->name; in xmlValidateElementDecl()
4362 (xmlStrEqual(next->c1->prefix, cur->c1->prefix))) { in xmlValidateElementDecl()
5022 CONT = CONT->c1; in xmlValidateElementType()
[all …]
/reactos/sdk/tools/winesync/d3dx9_staging/
H A D0006-d3dx9_36_tests__Add_additional_tests_for_special_cases.diff23 + 0x00000042, 0xb00f0000, 0xa0e40000, 0xa0e40001, /* texld t0, c0, c1
41 + 0x00000025, 0xb00f0000, 0xa0e40000, 0xa0e40001, 0xa0e40002, /* sincos t0, c0, c1, …
53 + 0x00000025, 0xb00f0000, 0xa0e40000, 0xa0e40001, 0xa0e40002, /* sincos a0, c0, c1, …
67 " dp3 r0, c1, c0\n"
77 + " texld t0, c0, c1\n"
86 + " sincos t0, c0, c1, c2\n"
92 + " sincos a0, c0, c1, c2\n"
H A D0005-d3dx9_36_tests__Add_initial_tests_for_D3DXDisassembleShader.diff14 + " dp4 oPos.y, v0, c1\n"
18 + " def c1, 1, 0, 0, 0\n"
20 + " dp3 r0, c1, c0\n"
/reactos/modules/rosapps/applications/net/ncftp/ncftp/
H A Dutil.c87 unsigned int c0, c1, c2; in ToBase64() local
97 c1 = *src++; in ToBase64()
99 c1 = 0; in ToBase64()
110 ch = ((c0 << 4) & 060) | ((c1 >> 4) & 017); in ToBase64()
113 ch = ((c1 << 2) & 074) | ((c2 >> 6) & 03); in ToBase64()
132 unsigned int c0, c1, c2, c3; in FromBase64() local
142 c1 = *src++; in FromBase64()
144 c1 = 0; in FromBase64()
157 ch = (((unsigned int) B64DecodeTable[c0]) << 2) | (((unsigned int) B64DecodeTable[c1]) >> 4); in FromBase64()
160 ch = (((unsigned int) B64DecodeTable[c1]) << 4) | (((unsigned int) B64DecodeTable[c2]) >> 2); in FromBase64()
/reactos/base/applications/network/telnet/src/
H A Dttelhndl.h21 void SendIAC(char c1, char c2);
23 void SendIACParams(char c1, char c2);
H A Dttelhndl.cpp121 void TTelnetHandler::SendIAC(char c1, char c2) { in SendIAC() argument
123 buf[1] = c1; buf[2] = c2; in SendIAC()
132 void TTelnetHandler::SendIACParams(char c1, char c2) { in SendIACParams() argument
134 buf[0] = c1; buf[1] = c2; in SendIACParams()
/reactos/sdk/lib/crt/mbstring/
H A Dmbsncoll.c13 int colldif(unsigned short c1, unsigned short c2) in colldif() argument
15 return c1 - c2; in colldif()

1234