/third_party/benchmark/test/ |
H A D | string_util_gtest.cc | 16 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); in TEST() 17 EXPECT_EQ(1ul, pos); in TEST() 21 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); in TEST() 22 EXPECT_EQ(1ul, pos); in TEST() 26 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); in TEST() 27 EXPECT_EQ(3ul, pos); in TEST() 33 EXPECT_EQ(10ul, pos); in TEST() 40 EXPECT_EQ(20ul, pos); in TEST() 45 EXPECT_EQ(10ul, benchmark::stoul("1010", &pos, 2)); in TEST() 46 EXPECT_EQ(4ul, po in TEST() [all...] |
/third_party/backends/backend/ |
H A D | plustek-pp_p48xx.c | 114 ULong adder, ul, cntr; in p48xxDoTest() local 142 for (ul = 0; ul < _TEST_SZ / sizeof(ULong); ul++) in p48xxDoTest() 143 buffer[ul] = ul + adder + _START_VAL; in p48xxDoTest() 160 for (ul = 0; ul < _TEST_SZ / sizeof(ULong); ul++) { in p48xxDoTest() 161 if (buffer[ul] ! in p48xxDoTest() 299 ULong ul; p48xxCheck4800Memory() local [all...] |
H A D | plustek-pp_io.c | 505 ULong ul; in ioP98ReadWriteTest() local 517 for( ul = 0; ul < _MEMTEST_SIZE; ul++ ) in ioP98ReadWriteTest() 518 buffer[ul] = (UChar)ul; in ioP98ReadWriteTest() 554 for( ul = 0; ul < _MEMTEST_SIZE; ul++ ) { in ioP98ReadWriteTest() 555 if( buffer[ul] ! in ioP98ReadWriteTest() [all...] |
/third_party/openssl/test/ |
H A D | test_test.c | 150 if (!TEST(1, TEST_ulong_eq(919ul, 919ul)) in test_ulong() 151 || !TEST(0, TEST_ulong_eq(919ul, 10234ul)) in test_ulong() 152 || !TEST(1, TEST_ulong_ne(8190ul, 66ul)) in test_ulong() 153 || !TEST(0, TEST_ulong_ne(10555ul, 10555ul)) in test_ulong() 154 || !TEST(1, TEST_ulong_lt(10234ul, 1000000ul)) in test_ulong() 454 unsigned long ul = 500; test_single_eval() local [all...] |
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | ls.c | 232 static unsigned long next_column(unsigned long ul, unsigned long dtlen, in next_column() argument 240 *xpos = ul % columns; in next_column() 241 return ul; in next_column() 260 if (ul < transition) { in next_column() 261 *xpos = ul % columns; in next_column() 262 return (*xpos*height) + (ul/columns); in next_column() 265 ul -= transition; in next_column() 266 *xpos = ul % (columns-1); in next_column() 268 return (*xpos*height) + widecols + (ul/(columns-1)); in next_column() 300 unsigned long dtlen, ul in listfiles() local [all...] |
/third_party/toybox/toys/posix/ |
H A D | ls.c | 242 static unsigned long next_column(unsigned long ul, unsigned long dtlen, in next_column() argument 250 *xpos = ul % columns; in next_column() 251 return ul; in next_column() 270 if (ul < transition) { in next_column() 271 *xpos = ul % columns; in next_column() 272 return (*xpos*height) + (ul/columns); in next_column() 275 ul -= transition; in next_column() 276 *xpos = ul % (columns-1); in next_column() 278 return (*xpos*height) + widecols + (ul/(columns-1)); in next_column() 310 unsigned long dtlen, ul in listfiles() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/idea/ |
H A D | idea_local.h | 10 #define idea_mul(r,a,b,ul) \ 11 ul=(unsigned long)a*b; \ 12 if (ul != 0) \ 14 r=(ul&0xffff)-(ul>>16); \ 88 idea_mul(x1,x1,*p,ul); p++; \ 92 idea_mul(x4,x4,*p,ul); p++; \ 94 idea_mul(t0,t0,*p,ul); p++; \ 96 idea_mul(t1,t1,*p,ul); p++; \ 100 ul [all...] |
/third_party/openssl/crypto/idea/ |
H A D | idea_local.h | 10 #define idea_mul(r,a,b,ul) \ 11 ul=(unsigned long)a*b; \ 12 if (ul != 0) \ 14 r=(ul&0xffff)-(ul>>16); \ 88 idea_mul(x1,x1,*p,ul); p++; \ 92 idea_mul(x4,x4,*p,ul); p++; \ 94 idea_mul(t0,t0,*p,ul); p++; \ 96 idea_mul(t1,t1,*p,ul); p++; \ 100 ul [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | wcstol.c | 20 unsigned long ul; in main() local 25 TEST(ul, wcstoul(L"4294967295", 0, 0), 4294967295UL, "max 32bit unsigned %lu != %lu"); in main() 34 TEST(ul, wcstoul(s=L"4294967296", &c, 0), 4294967295UL, "uncaught overflow %lu != %lu"); in main() 37 TEST(ul, wcstoul(s=L"-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main() 40 TEST(ul, wcstoul(s=L"-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in main() 43 TEST(ul, wcstoul(s=L"-2147483648", &c, 0), -2147483648UL, "rejected negative %lu != %lu"); in main() 46 TEST(ul, wcstoul(s=L"-2147483649", &c, 0), -2147483649UL, "rejected negative %lu != %lu"); in main() 56 TEST(ul, wcstoul(s=L"18446744073709551616", &c, 0), 18446744073709551615UL, "uncaught overflow %lu != %lu"); in main() 59 TEST(ul, wcstoul(s=L"-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main() 62 TEST(ul, wcstou in main() [all...] |
H A D | strtol.c | 25 unsigned long ul; in main() local 33 TEST(ul, strtoul("4294967295", 0, 0), 4294967295UL, "max 32bit unsigned %lu != %lu"); in main() 42 TEST(ul, strtoul(s="4294967296", &c, 0), 4294967295UL, "uncaught overflow %lu != %lu"); in main() 45 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main() 48 TEST(ul, strtoul(s="-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in main() 51 TEST(ul, strtoul(s="-2147483648", &c, 0), -2147483648UL, "rejected negative %lu != %lu"); in main() 54 TEST(ul, strtoul(s="-2147483649", &c, 0), -2147483649UL, "rejected negative %lu != %lu"); in main() 57 TEST(ul, strtoul(s="-4294967296", &c, 0), 4294967295UL, "uncaught negative overflow %lu != %lu"); in main() 67 TEST(ul, strtoul(s="18446744073709551616", &c, 0), 18446744073709551615UL, "uncaught overflow %lu != %lu"); in main() 70 TEST(ul, strtou in main() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
H A D | WritableFontData.java | 308 * @param ul the ULONG 312 public int writeULong(int index, long ul) { in writeULong() argument 313 this.writeByte(index, (byte) ((ul >> 24) & 0xff)); in writeULong() 314 this.writeByte(index + 1, (byte) ((ul >> 16) & 0xff)); in writeULong() 315 this.writeByte(index + 2, (byte) ((ul >> 8) & 0xff)); in writeULong() 316 this.writeByte(index + 3, (byte) (ul & 0xff)); in writeULong() 324 * @param ul the ULONG 328 public int writeULongLE(int index, long ul) { in writeULongLE() argument 329 this.array.put(index, (byte) (ul & 0xff)); in writeULongLE() 330 this.array.put(index + 1, (byte) ((ul >> in writeULongLE() [all...] |
H A D | FontOutputStream.java | 175 * @param ul ULong value 178 public void writeULong(long ul) throws IOException { in writeULong() argument 179 this.write((byte) ((ul >> 24) & 0xff)); in writeULong() 180 this.write((byte) ((ul >> 16) & 0xff)); in writeULong() 181 this.write((byte) ((ul >> 8) & 0xff)); in writeULong() 182 this.write((byte) (ul & 0xff)); in writeULong()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
H A D | writable_font_data.cc | 131 int32_t WritableFontData::WriteULong(int32_t index, int64_t ul) { in WriteULong() argument 132 WriteByte(index, (uint8_t)((ul >> 24) & 0xff)); in WriteULong() 133 WriteByte(index + 1, (uint8_t)((ul >> 16) & 0xff)); in WriteULong() 134 WriteByte(index + 2, (uint8_t)((ul >> 8) & 0xff)); in WriteULong() 135 WriteByte(index + 3, (uint8_t)(ul & 0xff)); in WriteULong() 139 int32_t WritableFontData::WriteULongLE(int32_t index, int64_t ul) { in WriteULongLE() argument 140 WriteByte(index, (uint8_t)(ul & 0xff)); in WriteULongLE() 141 WriteByte(index + 1, (uint8_t)((ul >> 8) & 0xff)); in WriteULongLE() 142 WriteByte(index + 2, (uint8_t)((ul >> 16) & 0xff)); in WriteULongLE() 143 WriteByte(index + 3, (uint8_t)((ul >> 2 in WriteULongLE() [all...] |
H A D | font_output_stream.cc | 96 void FontOutputStream::WriteULong(int64_t ul) { in WriteULong() argument 97 Write((uint8_t)((ul >> 24) & 0xff)); in WriteULong() 98 Write((uint8_t)((ul >> 16) & 0xff)); in WriteULong() 99 Write((uint8_t)((ul >> 8) & 0xff)); in WriteULong() 100 Write((uint8_t)(ul & 0xff)); in WriteULong()
|
/third_party/libwebsockets/lib/plat/windows/ |
H A D | windows-resolv.c | 31 unsigned long ul; in lws_plat_asyncdns_init() local 36 ul = sizeof(fi); in lws_plat_asyncdns_init() 39 fi = (FIXED_INFO *)lws_malloc(ul, __func__); in lws_plat_asyncdns_init() 43 dw = GetNetworkParams(fi, &ul); in lws_plat_asyncdns_init()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | mathutil_unittest.cpp | 281 EXPECT_EQ(0ul, gl::ScanForward(1u)); 282 EXPECT_EQ(16ul, gl::ScanForward(0x80010000u)); 283 EXPECT_EQ(31ul, gl::ScanForward(0x80000000u)); 285 EXPECT_EQ(0ul, gl::ScanForward(static_cast<uint64_t>(1ull))); 286 EXPECT_EQ(16ul, gl::ScanForward(static_cast<uint64_t>(0x80010000ull))); 287 EXPECT_EQ(31ul, gl::ScanForward(static_cast<uint64_t>(0x80000000ull))); 289 EXPECT_EQ(32ul, gl::ScanForward(static_cast<uint64_t>(0x100000000ull))); 290 EXPECT_EQ(48ul, gl::ScanForward(static_cast<uint64_t>(0x8001000000000000ull))); 291 EXPECT_EQ(63ul, gl::ScanForward(static_cast<uint64_t>(0x8000000000000000ull))); 297 EXPECT_EQ(0ul, g [all...] |
H A D | bitset_utils_unittest.cpp | 460 EXPECT_EQ(testBitSet.bits(0), (1ul << 1ul)); in TYPED_TEST() 462 EXPECT_EQ(testBitSet.bits(0), (1ul << 1ul) | (1ul << 3ul)); in TYPED_TEST() 464 EXPECT_EQ(testBitSet.bits(0), (1ul << 1ul) | (1ul << 3ul) | ( in TYPED_TEST() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | TimerQueriesTest.cpp | 161 EXPECT_LT(0ul, result1); in TEST_P() 162 EXPECT_LT(0ul, result2); in TEST_P() 167 EXPECT_LT(result1, 1000000000ul); in TEST_P() 168 EXPECT_LT(result2, 1000000000ul); in TEST_P() 228 EXPECT_LT(0ul, result); in TEST_P() 231 EXPECT_LT(result, 1000000000ul); in TEST_P() 414 EXPECT_LT(0ul, result1); in TEST_P() 415 EXPECT_LT(0ul, result2); in TEST_P() 416 EXPECT_LT(result1, 1000000000ul); in TEST_P() 417 EXPECT_LT(result2, 1000000000ul); in TEST_P() [all...] |
/third_party/ltp/tools/sparse/sparse-src/validation/linear/ |
H A D | fp2i-cast.c | 10 typedef unsigned long long ul; typedef 18 ul f2ul(float a) { return a; } in f2ul() 22 ul d2ul(double a) { return a; } in d2ul()
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_keeprefs.py | 48 _fields_ = [("ul", POINT), ("lr", POINT)] 51 r.ul.x = 0 52 r.ul.y = 1 59 r.ul = pt 61 r.ul.x = 22 62 r.ul.y = 44
|
/third_party/curl/src/ |
H A D | tool_progress.c | 145 curl_off_t ul; member 233 speedstore[i].ul = all_ulnow; in progress_meter() 243 curl_off_t ul; in progress_meter() local 250 ul = all_ulnow - speedstore[speedindex].ul; in progress_meter() 256 ul = all_ulnow; in progress_meter() 261 uls = (curl_off_t)((double)ul / ((double)deltams/1000.0)); in progress_meter()
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | nocast.c | 92 unsigned long ul = 1; in implicit_assign_to() local 97 t = ul; /* implicit to nocast from same type: OK? */ in implicit_assign_to() 105 unsigned long ul = 1; in bad_implicit_arg_to() local 110 use_val(ul); /* implicit to nocast from same type: OK? */ in bad_implicit_arg_to()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | Math.cpp | 31 unsigned long firstBitIndex = 0ul; in ScanForward() 43 unsigned long firstBitIndex = 0ul; in Log2() 56 unsigned long firstBitIndex = 0ul; in Log2() 61 unsigned long firstBitIndex = 0ul; in Log2()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfstruncate.c | 233 unsigned long ul; in parse_options() local 235 ul = strtoul(s, &s2, 0); in parse_options() 236 if (*s2 || !ul || (ul >= ULONG_MAX && errno == ERANGE)) in parse_options() 239 attr_type = cpu_to_le32(ul); in parse_options() 709 unsigned long mnt_flags, ul; in main() local 743 ul = NTFS_MNT_RDONLY; in main() 745 ul = 0; in main() 746 vol = ntfs_mount(dev_name, ul); in main()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | excessiveStackDepthFlatArray.js | 23 ul: React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>; 33 <ul> 38 </ul> 58 return (React.createElement("ul", null,
|