Home
last modified time | relevance | path

Searched refs:i2 (Results 1 – 25 of 135) sorted by relevance

123456

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_compression_store.c111 i2(const void *p_)
121 return (i2(p) | (i2(p + 2) << 16)); in i4()
155 assertEqualInt(i2(p + 4), 0); in verify_uncompressed_contents()
157 assertEqualInt(i2(p + 6), 0); in verify_uncompressed_contents()
159 assertEqualInt(i2(p + 8), i2(p + 10)); in verify_uncompressed_contents()
164 assertEqualInt(i2(p + 20), 0); in verify_uncompressed_contents()
174 assertEqualInt(i2(p + 4), 3 * 256 + 10); /* Version made by */ in verify_uncompressed_contents()
175 assertEqualInt(i2( in verify_uncompressed_contents()
112 i2(const void *p_) i2() function
[all...]
H A Dtest_write_format_zip_file_zip64.c67 static unsigned i2(const unsigned char *p) { return ((p[0] & 0xff) | ((p[1] & 0xff) << 8)); }
68 static unsigned i4(const unsigned char *p) { return (i2(p) | (i2(p + 2) << 16)); } in i2() function
137 assertEqualInt(i2(p + 4), 0); in DEFINE_TEST()
139 assertEqualInt(i2(p + 6), 0); in DEFINE_TEST()
141 assertEqualInt(i2(p + 8), i2(p + 10)); in DEFINE_TEST()
144 assertEqualInt(i2(p + 20), 0); in DEFINE_TEST()
154 assertEqualInt(i2(p + 4), 3 * 256 + zip_version); /* Version made by */ in DEFINE_TEST()
155 assertEqualInt(i2( in DEFINE_TEST()
[all...]
H A Dtest_write_format_zip_file.c67 static unsigned i2(const unsigned char *p) { return ((p[0] & 0xff) | ((p[1] & 0xff) << 8)); }
68 static unsigned i4(const unsigned char *p) { return (i2(p) | (i2(p + 2) << 16)); } in i2() function
134 assertEqualInt(i2(p + 4), 0); in DEFINE_TEST()
136 assertEqualInt(i2(p + 6), 0); in DEFINE_TEST()
138 assertEqualInt(i2(p + 8), i2(p + 10)); in DEFINE_TEST()
141 assertEqualInt(i2(p + 20), 0); in DEFINE_TEST()
151 assertEqualInt(i2(p + 4), 3 * 256 + zip_version); /* Version made by */ in DEFINE_TEST()
152 assertEqualInt(i2( in DEFINE_TEST()
[all...]
H A Dtest_write_format_zip_stream.c63 static unsigned i2(const unsigned char *p) { return ((p[0] & 0xff) | ((p[1] & 0xff) << 8)); } in i2() function
64 static unsigned i4(const unsigned char *p) { return (i2(p) | (i2(p + 2) << 16)); } in i4()
123 assertEqualInt(i2(p + 4), 0); in DEFINE_TEST()
125 assertEqualInt(i2(p + 6), 0); in DEFINE_TEST()
127 assertEqualInt(i2(p + 8), i2(p + 10)); in DEFINE_TEST()
130 assertEqualInt(i2(p + 20), 0); in DEFINE_TEST()
140 assertEqualInt(i2(p + 4), 3 * 256 + zip_version); /* Version made by */ in DEFINE_TEST()
141 assertEqualInt(i2(p + 6), zip_version); /* Version needed to extract */ in DEFINE_TEST()
142 assertEqualInt(i2(p + 8), 8); /* Flags */ in DEFINE_TEST()
143 assertEqualInt(i2(p + 10), zip_compression); /* Compression method */ in DEFINE_TEST()
[all …]
H A Dtest_write_format_zip_entry_size_unset.c46 static unsigned i2(const char *p) { return ((p[0] & 0xff) | ((p[1] & 0xff) << 8)); } in i2() function
47 static unsigned i4(const char *p) { return (i2(p) | (i2(p + 2) << 16)); } in i4()
119 assertEqualInt(i2(end_of_central_dir + 4), 0); in verify_contents()
121 assertEqualInt(i2(end_of_central_dir + 6), 0); in verify_contents()
123 assertEqualInt(i2(end_of_central_dir + 8), 2); in verify_contents()
125 assertEqualInt(i2(end_of_central_dir + 10), 2); in verify_contents()
130 assertEqualInt(i2(end_of_central_dir + 20), 0); in verify_contents()
138 assertEqualInt(i2(central_directory + 4), 3 * 256 + 10); in verify_contents()
140 assertEqualInt(i2(central_directory + 6), 10); in verify_contents()
142 assertEqualInt(i2(central_directory + 8), ZIP_ENTRY_FLAG_LENGTH_AT_END); in verify_contents()
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daes-armv4.pl67 $i2="r8";
325 and $i2,lr,$s0,lsr#8
331 ldr $t2,[$tbl,$i2,lsl#2] @ Te2[s0>>8]
332 and $i2,lr,$s1
339 ldr $i2,[$tbl,$i2,lsl#2] @ Te3[s1>>0]
344 eor $t2,$t2,$i2,ror#8
345 and $i2,lr,$s2,lsr#16 @ i1
350 ldr $i2,[$tbl,$i2,lsl#2] @ Te1[s2>>16]
357 eor $s1,$s1,$i2,ror#8
358 and $i2,lr,$s3,lsr#8 @ i1
[all …]
H A Daes-mips.pl124 my ($i0,$i1,$i2,$i3)=($at,$t0,$t1,$t2);
153 ext $i2,$s3,16,8
159 lwxs $t2,$i2($Tbl) # Te1[s3>>16]
160 ext $i2,$s0,8,8
168 lwxs $t6,$i2($Tbl) # Te2[s0>>8]
169 ext $i2,$s1,0,8
177 lwxs $t10,$i2($Tbl) # Te3[s1]
178 ext $i2,$s2,24,8
197 lwxs $t6,$i2($Tbl) # Te0[s2>>24]
235 move $i2,$Tbl
[all …]
H A Daes-s390x.pl115 $i2="%r6";
315 sllg $i2,$s1,`0+3`
320 ngr $i2,$mask
330 x $t2,1($i2,$tbl) # Te3[s1>>0]
334 srlg $i2,$s2,`16-3` # i1
336 nr $i2,$mask
350 x $s1,3($i2,$tbl) # Te1[s2>>16]
384 sllg $i2,$s1,`0+3`
385 ngr $i2,$mask
402 llgc $i2,2($i2,$tbl) # Te4[s1>>0]
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dstrrevcmp.c36 register int i1, i2; local
39 i2 = strlen(s2) - 1;
40 while (i1 >= 0 && i2 >= 0 &&
42 charmap[(unsigned char) s2[i2]])
45 --i2;
49 if (i2 < 0)
56 if (i2 < 0)
60 charmap[(unsigned char) s2[i2]]);
78 register int i1, i2; local
81 i2 = strlen(s2) - 1;
[all …]
/freebsd/share/misc/
H A Dscsi_modes79 {Ready AEN Holdoff Period} i2
80 {Busy Timeout Period} i2
81 {Extended Self-Test Completion Time} i2
98 {Bus Inactivity Limit} i2
99 {Disconnect Time Limit} i2
100 {Connect Time Limit} i2
101 {Maximum Burst Size} i2
114 {Interface Identifier} i2
146 {Reserved} *i2
171 {Background Medium Scan Interval Time} i2
[all …]
/freebsd/contrib/bzip2/
H A Dblocksort.c348 UInt32 i2, in mainGtU() argument
358 AssertD ( i1 != i2, "mainGtU" ); in mainGtU()
360 c1 = block[i1]; c2 = block[i2]; in mainGtU()
362 i1++; i2++; in mainGtU()
364 c1 = block[i1]; c2 = block[i2]; in mainGtU()
366 i1++; i2++; in mainGtU()
368 c1 = block[i1]; c2 = block[i2]; in mainGtU()
370 i1++; i2++; in mainGtU()
372 c1 = block[i1]; c2 = block[i2]; in mainGtU()
374 i1++; i2++; in mainGtU()
[all …]
/freebsd/contrib/ntp/sntp/m4/
H A Dax_c99_struct_init.m414 # Given: struct foo_s {int i1; int i2; int i3;};
17 # # define FOO_INIT(a, b, c) { .i1 = a, .i2 = b, .i3 = c }
49 struct foo_s {int i1; int i2;};
50 …int main() { struct foo_s foo[] = { { .i1 = 1, .i2 = 1 }, { .i1 = 2, .i2 = 2 }, { .i1 = 0, .i2 = 0…
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DX86DisassemblerTables.cpp685 unsigned &i1, unsigned &i2, in emitModRMDecision() argument
770 unsigned &i1, unsigned &i2, in emitOpcodeDecision() argument
774 ++i2; in emitOpcodeDecision()
786 --i2; in emitOpcodeDecision()
791 o2.indent(i2); in emitOpcodeDecision()
795 emitModRMDecision(o1, o2, i1, i2, ModRMTableNum, in emitOpcodeDecision()
803 o2.indent(i2) << "}\n"; in emitOpcodeDecision()
804 --i2; in emitOpcodeDecision()
805 o2.indent(i2) << "},\n"; in emitOpcodeDecision()
810 unsigned &i1, unsigned &i2, in emitContextDecision() argument
[all …]
H A DX86DisassemblerTables.h95 unsigned &i2, unsigned &ModRMTableNum,
123 unsigned &i2, unsigned &ModRMTableNum,
157 unsigned &i2, unsigned &ModRMTableNum,
218 unsigned &i2, unsigned &ModRMTableNum) const;
/freebsd/contrib/ntp/libntp/lib/isc/win32/
H A Dtime.c206 ULARGE_INTEGER i1, i2; in isc_time_microdiff() local
213 i2.LowPart = t2->absolute.dwLowDateTime; in isc_time_microdiff()
214 i2.HighPart = t2->absolute.dwHighDateTime; in isc_time_microdiff()
216 if (i1.QuadPart <= i2.QuadPart) in isc_time_microdiff()
222 i3 = (i1.QuadPart - i2.QuadPart) / 10; in isc_time_microdiff()
231 ULARGE_INTEGER i1, i2; in isc_time_seconds() local
238 i2.LowPart = temp.dwLowDateTime; in isc_time_seconds()
239 i2.HighPart = temp.dwHighDateTime; in isc_time_seconds()
241 i3 = (i1.QuadPart - i2.QuadPart) / 10000000; in isc_time_seconds()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bitvector.h147 uptr i2 = idx2(idx); in setBit() local
152 bool res = l2_[i0][i1].setBit(i2); in setBit()
162 uptr i2 = idx2(idx); in clearBit() local
165 res = l2_[i0][i1].clearBit(i2); in clearBit()
176 uptr i2 = idx2(idx); in getBit() local
178 return l1_[i0].getBit(i1) && l2_[i0][i1].getBit(i2); in getBit()
185 uptr i2 = l2_[i0][i1].getAndClearFirstOne(); in getAndClearFirstOne() local
188 uptr res = i0 * BV::kSize * BV::kSize + i1 * BV::kSize + i2; in getAndClearFirstOne()
308 uptr i2 = it2_.next(); in next() local
309 uptr res = i0_ * BV::kSize * BV::kSize + i1_ * BV::kSize + i2; in next()
/freebsd/crypto/heimdal/lib/asn1/
H A Dcheck-der.c552 heim_integer i2; in test_heim_integer() local
575 ret = der_get_heim_integer(NULL, 0, &i2, &size); in test_heim_integer()
578 if (i2.length != 0) in test_heim_integer()
580 der_free_heim_integer(&i2); in test_heim_integer()
603 heim_integer i2; in test_boolean() local
626 ret = der_get_heim_integer(NULL, 0, &i2, &size); in test_boolean()
629 if (i2.length != 0) in test_boolean()
631 der_free_heim_integer(&i2); in test_boolean()
790 heim_integer i2; in check_heim_integer_same() local
801 ret = der_parse_hex_heim_integer(str, &i2); in check_heim_integer_same()
[all …]
/freebsd/bin/sh/tests/expansion/
H A Difs3.08 i2=$((i^2))
10 c2=$(printf \\"$(printf %o "$i2")")
15 echo "Bad results for separator $i (word $i2)" >&2
H A Difs2.07 i2=$((i^2+(i==2)))
12 c2=$(printf \\"$(printf %o@ "$i2")")
18 echo "Bad results for separator $i (word $i2)" >&2
H A Dplus-minus6.011 i2=$((i^2+(i==2)))
16 c2=$(printf \\"$(printf %o@ "$i2")")
28 echo "Bad results for separator $i (word $i2)" >&2
/freebsd/contrib/atf/atf-c/detail/
H A Dmap.c106 const atf_map_citer_t i2) in atf_equal_map_citer_map_citer() argument
108 return i1.m_map == i2.m_map && i1.m_entry == i2.m_entry; in atf_equal_map_citer_map_citer()
150 const atf_map_iter_t i2) in atf_equal_map_iter_map_iter() argument
152 return i1.m_map == i2.m_map && i1.m_entry == i2.m_entry; in atf_equal_map_iter_map_iter()
H A Dlist.c144 const atf_list_citer_t i2) in atf_equal_list_citer_list_citer() argument
146 return i1.m_list == i2.m_list && i1.m_entry == i2.m_entry; in atf_equal_list_citer_list_citer()
181 const atf_list_iter_t i2) in atf_equal_list_iter_list_iter() argument
183 return i1.m_list == i2.m_list && i1.m_entry == i2.m_entry; in atf_equal_list_iter_list_iter()
/freebsd/crypto/openssl/crypto/asn1/
H A Da_time.c82 int n, i, i2, l, o, min_l = 11, strict = 0, end = 6, btz = 5, md; in ossl_asn1_time_to_tm() local
147 i2 = (d->type == V_ASN1_UTCTIME) ? i + 1 : i; in ossl_asn1_time_to_tm()
149 if ((n < min[i2]) || (n > max[i2])) in ossl_asn1_time_to_tm()
151 switch (i2) { in ossl_asn1_time_to_tm()
239 i2 = (d->type == V_ASN1_UTCTIME) ? i + 1 : i; in ossl_asn1_time_to_tm()
240 if ((n < min[i2]) || (n > max[i2])) in ossl_asn1_time_to_tm()
/freebsd/contrib/kyua/engine/
H A Dfilters.cpp326 for (std::set< test_filter >::const_iterator i2 = filters.begin(); in check_disjoint_filters() local
327 i2 != filters.end(); i2++) { in check_disjoint_filters()
329 const test_filter& filter2 = *i2; in check_disjoint_filters()
331 if (i1 != i2 && filter1.contains(filter2)) { in check_disjoint_filters()
/freebsd/contrib/unbound/smallapp/
H A Dunbound-checkconf.c342 int i, j, i2, j2; in interfacechecks() local
356 for(i2=0; i2<i; i2++) { in interfacechecks()
357 if(strcmp(cfg->ifs[i], cfg->ifs[i2]) == 0) { in interfacechecks()
390 for(i2=0; i2<i; i2++) { in interfacechecks()
391 for(j2=0; j2<num_resif[i2]; j2++) { in interfacechecks()
392 if(strcmp(resif[i][j], resif[i2][j2]) in interfacechecks()
398 if(strcmp(cfg->ifs[i2], resif[i2][j2]) != 0) in interfacechecks()
399 snprintf(info2, sizeof(info2), "address %s from interface: %s", resif[i2][j2], cfg->ifs[i2]); in interfacechecks()
400 else snprintf(info2, sizeof(info2), "interface: %s", cfg->ifs[i2]); in interfacechecks()

123456