/third_party/musl/libc-test/src/functional/ |
H A D | strtol.c | 32 TEST(l, strtol("2147483647", 0, 0), 2147483647L, "max 32bit signed %ld != %ld"); in main() 36 TEST(l, strtol(s="2147483648", &c, 0), 2147483647L, "uncaught overflow %ld != %ld"); in main() 39 TEST(l, strtol(s="-2147483649", &c, 0), -2147483647L-1, "uncaught overflow %ld != %ld"); in main() 61 TEST(l, strtol(s="9223372036854775808", &c, 0), 9223372036854775807L, "uncaught overflow %ld != %ld"); in main() 64 TEST(l, strtol(s="-9223372036854775809", &c, 0), -9223372036854775807L-1, "uncaught overflow %ld != %ld"); in main() 118 TEST(l, strtol("z", 0, 36), 35, "%ld != %ld"); in main() 119 TEST(l, strtol("00010010001101000101011001111000", 0, 2), 0x12345678, "%ld != %ld"); in main() 120 TEST(l, strtol(s="0F5F", &c, 16), 0x0f5f, "%ld != %ld"); in main() 122 TEST(l, strtol(s="0xz", &c, 16), 0, "%ld != %ld"); in main() 125 TEST(l, strtol( in main() [all...] |
/third_party/backends/sanei/ |
H A D | sanei_config2.c | 110 bus = strtol (name, &end, 10); in sanei_config_attach_matching_devices() 118 channel = strtol (name, &end, 10); in sanei_config_attach_matching_devices() 126 id = strtol (name, &end, 10); in sanei_config_attach_matching_devices() 134 lun = strtol (name, &end, 10); in sanei_config_attach_matching_devices()
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_cache_entity.cpp | 97 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 106 return std::strtol(maxStale_.c_str(), nullptr, DECIMAL); in GetMaxStaleSeconds() 114 return std::strtol(minFresh_.c_str(), nullptr, DECIMAL); in GetMinFreshSeconds() 256 return std::strtol(age_.c_str(), nullptr, DECIMAL); in GetAgeSeconds() 264 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 272 return std::strtol(sMaxAge_.c_str(), nullptr, DECIMAL); in GetSMaxAgeSeconds()
|
/third_party/mesa3d/src/freedreno/afuc/ |
H A D | asm.h | 85 ret = strtol(str + 1, &retstr, 16); in parse_reg() 101 ret = strtol(str + 1, &retstr, 16); in parse_literal() 114 return strtol(str + 1, NULL, 10); in parse_bit()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | overlay_params.c | 72 return strtol(str, NULL, 0) * 1000; in parse_fps_sampling_period() 78 return strtol(str, NULL, 0) != 0; in parse_no_display() 84 return strtol(str, NULL, 0); in parse_unsigned() 183 strtol(value, NULL, 0); \ in parse_overlay_env()
|
/third_party/libcoap/tests/ |
H A D | test_tls.c | 74 p1 = strtol(vers, &endptr, 10); in t_tls2() 76 p2 = strtol(endptr+1, &endptr, 10); in t_tls2() 78 p3 = strtol(endptr+1, &endptr, 10); in t_tls2()
|
/drivers/peripheral/usb/sample/host/liteos_test/src/ |
H A D | usbhost_speed_test.c | 203 writeOrRead = (int32_t)strtol(buffer, NULL, STRTOL_BASE); in GetWriteOrReadFlag() 221 speedTest->busNum = (int32_t)strtol(argv[2], NULL, STRTOL_BASE); // 2 is argv third element in CheckParam() 222 speedTest->devAddr = (int32_t)strtol(argv[3], NULL, STRTOL_BASE); // 3 is argv fourth element in CheckParam() 223 speedTest->ifaceNum = (int32_t)strtol(argv[4], NULL, STRTOL_BASE); // 4 is argv fifth element in CheckParam() 234 speedTest->ifaceNum = (int32_t)strtol(argv[2], NULL, STRTOL_BASE); // 2 is argv third element in CheckParam()
|
/third_party/ffmpeg/libavformat/ |
H A D | rtpproto.c | 122 rtcp_port = strtol(buf, NULL, 10); in ff_rtp_set_remote_url() 249 s->ttl = strtol(buf, NULL, 10); in rtp_open() 252 s->rtcp_port = strtol(buf, NULL, 10); in rtp_open() 255 s->local_rtpport = strtol(buf, NULL, 10); in rtp_open() 258 s->local_rtpport = strtol(buf, NULL, 10); in rtp_open() 261 s->local_rtcpport = strtol(buf, NULL, 10); in rtp_open() 264 s->pkt_size = strtol(buf, NULL, 10); in rtp_open() 267 s->connect = strtol(buf, NULL, 10); in rtp_open() 270 s->write_to_source = strtol(buf, NULL, 10); in rtp_open() 273 s->dscp = strtol(bu in rtp_open() [all...] |
H A D | libsrt.c | 546 s->pbkeylen = strtol(buf, NULL, 10); in libsrt_open() 554 s->enforced_encryption = strtol(buf, NULL, 10); in libsrt_open() 557 s->kmrefreshrate = strtol(buf, NULL, 10); in libsrt_open() 560 s->kmpreannounce = strtol(buf, NULL, 10); in libsrt_open() 567 s->mss = strtol(buf, NULL, 10); in libsrt_open() 570 s->ffs = strtol(buf, NULL, 10); in libsrt_open() 573 s->ipttl = strtol(buf, NULL, 10); in libsrt_open() 576 s->iptos = strtol(buf, NULL, 10); in libsrt_open() 582 s->oheadbw = strtol(buf, NULL, 10); in libsrt_open() 597 s->tlpktdrop = strtol(bu in libsrt_open() [all...] |
H A D | udp.c | 407 return strtol(sbuf, NULL, 10); in udp_port() 446 s->is_connected = strtol(buf, NULL, 10); in ff_udp_set_remote_url() 677 s->reuse_socket = strtol(buf, &endptr, 10); in udp_open() 684 s->overrun_nonfatal = strtol(buf, &endptr, 10); in udp_open() 694 s->ttl = strtol(buf, NULL, 10); in udp_open() 702 s->udplite_coverage = strtol(buf, NULL, 10); in udp_open() 705 s->local_port = strtol(buf, NULL, 10); in udp_open() 708 s->pkt_size = strtol(buf, NULL, 10); in udp_open() 711 s->buffer_size = strtol(buf, NULL, 10); in udp_open() 714 s->is_connected = strtol(bu in udp_open() [all...] |
/third_party/alsa-lib/src/control/ |
H A D | ctlparse.c | 65 val = strtol(s, &p, 0); in get_integer() 68 (void)strtol(p, &p, 10); in get_integer() 93 val = strtol(s, &p, 0); in get_integer64() 96 (void)strtol(p, &p, 10); in get_integer64()
|
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/ |
H A D | label_classify.cpp | 276 settings.accel = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 282 settings.loopCount = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 294 settings.numberOfResults = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 303 settings.verbose = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 306 settings.numberOfWarmupRuns = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 309 settings.printResult = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings()
|
/third_party/mbedtls/programs/util/ |
H A D | strerror.c | 53 val = strtol(argv[1], &end, 10); in main() 55 val = strtol(argv[1], &end, 16); in main()
|
/third_party/elfutils/tests/ |
H A D | dwelf_elf_e_machine_string.c | 47 val = strtol (&argv[i][2], NULL, 16); in main() 49 val = strtol (argv[i], NULL, 10); in main() 54 perror ("strtol"); in main()
|
/third_party/musl/porting/liteos_m/kernel/src/stdlib/ |
H A D | strtol.c | 36 long strtol(const char *restrict s, char **restrict p, int base) in strtol() function 41 weak_alias(strtol, __strtol_internal);
|
/third_party/musl/porting/uniproton/kernel/src/stdlib/ |
H A D | strtol.c | 36 long strtol(const char *restrict s, char **restrict p, int base) in strtol() function 41 weak_alias(strtol, __strtol_internal);
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/ |
H A D | http_cache_request.cpp | 97 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 106 return std::strtol(maxStale_.c_str(), nullptr, DECIMAL); in GetMaxStaleSeconds() 114 return std::strtol(minFresh_.c_str(), nullptr, DECIMAL); in GetMinFreshSeconds()
|
H A D | http_cache_response.cpp | 132 return std::strtol(age_.c_str(), nullptr, DECIMAL); in GetAgeSeconds() 140 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 148 return std::strtol(sMaxAge_.c_str(), nullptr, DECIMAL); in GetSMaxAgeSeconds()
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_query_renderer.c | 35 v[0] = strtol(ver, &endptr, 10); in driQueryRendererIntegerCommon() 40 v[1] = strtol(endptr + 1, &endptr, 10); in driQueryRendererIntegerCommon() 45 v[2] = strtol(endptr + 1, &endptr, 10); in driQueryRendererIntegerCommon()
|
/third_party/ffmpeg/libavcodec/ |
H A D | pnm.c | 116 w = strtol(buf1, NULL, 10); in ff_pnm_decode_header() 119 h = strtol(buf1, NULL, 10); in ff_pnm_decode_header() 122 depth = strtol(buf1, NULL, 10); in ff_pnm_decode_header() 125 maxval = strtol(buf1, NULL, 10); in ff_pnm_decode_header()
|
/drivers/peripheral/usb/sample/host/src/ |
H A D | usbhost_sdkapi_speed.c | 306 busNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam() 307 devAddr = (int32_t)strtol(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); in CheckParam() 308 ifaceNum = (int32_t)strtol(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); in CheckParam() 314 busNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam() 315 devAddr = (int32_t)strtol(argv[TEST_TWO_TYPE], NULL, STRTOL_BASE); in CheckParam() 316 ifaceNum = (int32_t)strtol(argv[TEST_THREE_TYPE], NULL, STRTOL_BASE); in CheckParam() 319 ifaceNum = (int32_t)strtol(argv[TEST_ONE_TYPE], NULL, STRTOL_BASE); in CheckParam()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | time_util.cpp | 39 milliseconds = strtol(time, nullptr, DEC); in ParseToMilliseconds() 64 (int32_t)(strtol(buffer, nullptr, DEC)); in ParseToMilliseconds()
|
/third_party/musl/porting/liteos_a/kernel/src/stdlib/ |
H A D | strtol.c | 36 long strtol(const char *restrict s, char **restrict p, int base) in strtol() function 51 weak_alias(strtol, __strtol_internal);
|
/third_party/ltp/testcases/lib/ |
H A D | tst_random.c | 55 max = strtol(argv[1], &end, 10); in main() 64 min = strtol(argv[2], &end, 10); in main()
|
/third_party/ffmpeg/tools/ |
H A D | venc_data_dump.c | 83 stream_idx = strtol(argv[2], NULL, 0); in main() 84 max_frames = strtol(argv[3], NULL, 0); in main()
|