/third_party/mindspore/test/utils/ |
H A D | common.cpp | 120 * atol: 125 float atol = 1e-08, bool isquant = false) { in allclose() 146 sum = sum + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose() 147 sum_all = sum_all + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose() 148 maximum = std::max(maximum, fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i]))); in allclose() 149 minimum = std::min(minimum, fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i]))); in allclose() 156 } else if (fabs(a[i] - b[i]) > (atol + rtol * fabs(b[i]))) { in allclose() 201 printf("\n *** These data compare failed: atol = %f, rtol = %f\n", atol, in allclose() 215 float atol in allclose_int8() [all...] |
H A D | common.h | 30 float atol, bool isquant); 31 bool allclose_int8(int8_t *a, int8_t *b, uint64_t count, float rtol, float atol, 35 float atol, bool isquant);
|
H A D | model_utils.h | 41 void CompareResult(OH_AI_TensorHandleArray outputs, std::string modelName, float atol = 0.01, float rtol = 0.01);
|
H A D | model_utils.cpp | 141 void CompareResult(OH_AI_TensorHandleArray outputs, std::string modelName, float atol, float rtol) { in CompareResult() argument 155 bool result = compFp32WithTData(outputData, outputFile, atol, rtol, false); in CompareResult()
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | reiser_fract_tree.c | 478 bytes_to_consume = atol(argv[1]); in main() 479 max_file_size = atol(argv[3]); in main() 480 median_file_size = atol(argv[2]); in main() 489 stats = atol(argv[10]); in main() 490 median_dir_branching = atol(argv[6]); in main() 491 max_dir_branching = atol(argv[7]); in main() 492 median_dir_nr_files = atol(argv[4]); in main() 493 max_dir_nr_files = atol(argv[5]); in main()
|
H A D | summ.c | 20 n = atol(str); in main()
|
/third_party/zlib/contrib/testzlib/ |
H A D | testzlib.c | 175 BlockSizeCompress=atol(argv[2]);
in main() 178 BlockSizeUncompress=atol(argv[3]);
in main() 181 cprLevel=(int)atol(argv[4]);
in main()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_smd/ |
H A D | main.c | 201 how_many_msg = (unsigned int)atol(p); in main() 204 usec_interval = (unsigned int)atol(p); in main()
|
/third_party/cups-filters/filter/ |
H A D | bannertopdf.c | 135 media_limits[0] = atol(val) * 72.0 / 2540.0; in get_pagesize() 138 media_limits[1] = atol(val) * 72.0 / 2540.0; in get_pagesize() 141 media_limits[2] = *width - atol(val) * 72.0 / 2540.0; in get_pagesize() 144 media_limits[3] = *length - atol(val) * 72.0 / 2540.0; in get_pagesize()
|
/third_party/toybox/toys/other/ |
H A D | usleep.c | 21 long delay = atol(*toys.optargs); in usleep_main()
|
/third_party/musl/porting/uniproton/kernel/src/stdlib/ |
H A D | atol.c | 4 long atol(const char *s) in atol() function
|
/third_party/musl/porting/liteos_m/kernel/src/stdlib/ |
H A D | atol.c | 4 long atol(const char *s) in atol() function
|
/third_party/musl/src/stdlib/ |
H A D | atol.c | 4 long atol(const char *s) in atol() function
|
/third_party/libunwind/libunwind/tests/ |
H A D | Gperf-simple.c | 245 maxlevel = atol (argv[1]); in main() 247 iterations = atol (argv[2]); in main()
|
H A D | Gperf-trace.c | 231 maxlevel = atol (argv[1]); in main() 233 iterations = atol (argv[2]); in main()
|
H A D | forker.c | 42 count = atol (argv[1]); in main()
|
H A D | Gtest-exc.c | 159 depth = atol (argv[1]); in main()
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/ |
H A D | minimal-secure-streams-smd.c | 272 how_many_msg = (unsigned int)atol(p); in main() 275 usec_interval = (unsigned int)atol(p); in main()
|
/third_party/skia/third_party/externals/libpng/contrib/examples/ |
H A D | pngpixel.c | 153 long x = atol(argv[1]); in main() 154 long y = atol(argv[2]); in main()
|
/third_party/libwebsockets/lib/secure-streams/ |
H A D | policy-json.c | 589 a->curr[LTY_METRICS].m->us_decay_unit = (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb() 664 a->curr[LTY_POLICY].p->proxy_buflen = (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb() 669 (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb() 673 (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb() 677 a->curr[LTY_POLICY].p->client_buflen = (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb() 682 (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb() 686 (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb()
|
/third_party/cups-filters/cupsfilters/ |
H A D | raster.c | 507 h->MediaWeight = atol(val); in cupsRasterParseIPPOptions() 551 h->NumCopies = atol(val); in cupsRasterParseIPPOptions() 674 size = atol(val) * 72.0 / 2540.0; in cupsRasterParseIPPOptions() 688 size = atol(val) * 72.0 / 2540.0; in cupsRasterParseIPPOptions() 702 size = atol(val) * 72.0 / 2540.0; in cupsRasterParseIPPOptions() 714 size = atol(val) * 72.0 / 2540.0; in cupsRasterParseIPPOptions()
|
/third_party/libwebsockets/lib/roles/http/server/ |
H A D | lejp-conf.c | 853 a->info->ssl_options_set |= atol(ctx->buf); in lejp_vhosts_cb() 856 a->info->ssl_options_clear |= atol(ctx->buf); in lejp_vhosts_cb() 861 a->info->ssl_client_options_set |= atol(ctx->buf); in lejp_vhosts_cb() 864 a->info->ssl_client_options_clear |= atol(ctx->buf); in lejp_vhosts_cb()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | stdlib.h | 22 long atol (const char *);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | stdlib.h | 22 long atol (const char *);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | stdlib.h | 24 long atol (const char *);
|