Home
last modified time | relevance | path

Searched refs:strtol (Results 1 – 25 of 764) sorted by relevance

12345678910>>...31

/external/compiler-rt/test/asan/TestCases/
Dstrtol_strict.c33 long r = strtol(array, &endptr, 3); in test1()
41 long r = strtol(array, &endptr, 35); in test2()
59 long r = strtol(array + 1, NULL, -1); in test3()
75 long r = strtol(array + 3, NULL, 1); in test4()
84 long r = strtol(array, NULL, 0); in test5()
92 long r = strtol(array, &endptr, 0); in test6()
100 long r = strtol(array + 2, NULL, 0); in test7()
Dinterception_failure_test.cc13 extern "C" long strtol(const char *nptr, char **endptr, int base) { in strtol() function
21 return (int)strtol(x, 0, 10); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/
Dstrtol_strict.c34 long r = strtol(array, &endptr, 3); in test1()
42 long r = strtol(array, &endptr, 35); in test2()
60 long r = strtol(array + 1, NULL, -1); in test3()
76 long r = strtol(array + 3, NULL, 1); in test4()
85 long r = strtol(array, NULL, 0); in test5()
93 long r = strtol(array, &endptr, 0); in test6()
101 long r = strtol(array + 2, NULL, 0); in test7()
Dinterception_failure_test.cpp22 extern "C" long strtol(const char *nptr, char **endptr, int base) { in strtol() function
32 return (int)strtol(x, 0, 10); in main()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dstr-int-2.ll13 declare i64 @strtol(i8*, i8**, i32)
23 …%call = call i64 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
31 …%call = call i64 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
39 …%call = call i64 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
46 ; CHECK-NEXT: [[CALL:%.*]] = call i64 @strtol(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.…
50 …%call = call i64 @strtol(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i…
64 ; CHECK-NEXT: [[CALL:%.*]] = call i64 @strtol(i8* nocapture [[S:%.*]], i8** null, i32 10)
67 %call = call i64 @strtol(i8* %s, i8** null, i32 10) #3
82 ; CHECK-NEXT: [[CALL:%.*]] = call i64 @strtol(i8* nocapture getelementptr inbounds ([3 x i8], [3…
85 …%call = call i64 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
[all …]
Dstr-int.ll13 declare i32 @strtol(i8*, i8**, i32)
23 …%call = call i32 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
31 …%call = call i32 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
39 …%call = call i32 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
46 ; CHECK-NEXT: [[CALL:%.*]] = call i32 @strtol(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.…
50 …%call = call i32 @strtol(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i…
64 ; CHECK-NEXT: [[CALL:%.*]] = call i32 @strtol(i8* nocapture [[S:%.*]], i8** null, i32 10)
67 %call = call i32 @strtol(i8* %s, i8** null, i32 10) #3
82 ; CHECK-NEXT: [[CALL:%.*]] = call i32 @strtol(i8* nocapture getelementptr inbounds ([3 x i8], [3…
85 …%call = call i32 @strtol(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i32 0, i32 0), i8*…
[all …]
Dstrto-1.ll7 declare i64 @strtol(i8* %s, i8** %endptr, i32 %base)
8 ; CHECK: declare i64 @strtol(i8* readonly, i8** nocapture, i32)
30 call i64 @strtol(i8* %x, i8** null, i32 10)
31 ; CHECK-NEXT: call i64 @strtol(i8* nocapture %x, i8** null, i32 10)
79 call i64 @strtol(i8* %x, i8** %endptr, i32 10)
80 ; CHECK-NEXT: call i64 @strtol(i8* %x, i8** %endptr, i32 10)
/external/libwebm/
Dmkvmuxer_sample.cc243 output_video = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
245 output_audio = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
247 live_mode = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
249 output_cues = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
251 cues_before_clusters = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
253 cues_on_video_track = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
257 cues_on_audio_track = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
264 max_cluster_size = strtol(argv[++i], &end, 10); in main()
266 switch_tracks = strtol(argv[++i], &end, 10) == 0 ? false : true; in main()
268 audio_track_number = static_cast<int>(strtol(argv[++i], &end, 10)); in main()
[all …]
/external/rmi4utils/rmihidtool/
Dmain.cpp129 int mode = strtol(token, NULL, 0); in interactive()
142 unsigned int addr = strtol(token, NULL, 0); in interactive()
145 unsigned int len = strtol(token, NULL, 0); in interactive()
158 unsigned int addr = strtol(token, NULL, 0); in interactive()
164 report[index++] = strtol(token, NULL, 0); in interactive()
249 addr = strtol(optarg, NULL, 0); in main()
250 len = strtol(argv[optind++], NULL, 0); in main()
254 addr = strtol(optarg, NULL, 0); in main()
322 report[i++] = (unsigned char)strtol(token, NULL, 0); in main()
/external/perfetto/src/trace_processor/sqlite/
Dquery_constraints.cc116 long num_constraints = strtol(splitter.cur_token() + 1, nullptr, 10); in FromString()
119 int col = static_cast<int>(strtol(splitter.cur_token(), nullptr, 10)); in FromString()
122 static_cast<unsigned char>(strtol(splitter.cur_token(), nullptr, 10)); in FromString()
128 long num_order_by = strtol(splitter.cur_token() + 1, nullptr, 10); in FromString()
131 int col = static_cast<int>(strtol(splitter.cur_token(), nullptr, 10)); in FromString()
134 static_cast<unsigned char>(strtol(splitter.cur_token(), nullptr, 10)); in FromString()
/external/llvm/test/Transforms/InstCombine/
Dstrto-1.ll7 declare i64 @strtol(i8* %s, i8** %endptr, i32 %base)
8 ; CHECK: declare i64 @strtol(i8* readonly, i8** nocapture, i32)
30 call i64 @strtol(i8* %x, i8** null, i32 10)
31 ; CHECK-NEXT: call i64 @strtol(i8* nocapture %x, i8** null, i32 10)
79 call i64 @strtol(i8* %x, i8** %endptr, i32 10)
80 ; CHECK-NEXT: call i64 @strtol(i8* %x, i8** %endptr, i32 10)
/external/autotest/client/tests/rmaptest/src/
Drmap-test.c159 niters = strtol(optarg, NULL, 10); in main()
162 nvmas = strtol(optarg, NULL, 10); in main()
165 vmasize = strtol(optarg, NULL, 10); in main()
168 ntasks = strtol(optarg, NULL, 10); in main()
171 vmas_to_do = strtol(optarg, NULL, 10); in main()
/external/mesa3d/src/freedreno/afuc/
Dasm.h82 ret = strtol(str + 1, &retstr, 16); in parse_reg()
98 ret = strtol(str + 1, &retstr, 16); in parse_literal()
111 return strtol(str + 1, NULL, 10); in parse_bit()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc498 s.accel = strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
505 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
509 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
513 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
517 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
533 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
537 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
543 s.number_of_threads = strtol( // NOLINT(runtime/deprecated_fn) in Main()
548 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
552 strtol(optarg, nullptr, 10); // NOLINT(runtime/deprecated_fn) in Main()
[all …]
/external/mesa3d/src/vulkan/overlay-layer/
Doverlay_params.c72 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()
181 strtol(value, NULL, 0); \ in parse_overlay_env()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_sparse.c111 alignment = strtol(optarg, &endp, 0); in main()
115 writesize = strtol(optarg, &endp, 0); in main()
119 filesize = strtol(optarg, &endp, 0); in main()
123 offset = strtol(optarg, &endp, 0); in main()
/external/tensorflow/tensorflow/lite/testing/
Dsplit.h56 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split()
66 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split()
114 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split()
124 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split()
134 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split()
144 bool val = static_cast<bool>(strtol(s.data() + p.first, nullptr, 10)); in Split()
/external/dtc/tests/
Dappendprop_addrrange.c29 xac = strtol(argv[2], NULL, 10); in main()
30 xsc = strtol(argv[3], NULL, 10); in main()
31 num = strtol(argv[4], NULL, 10); in main()
/external/oss-fuzz/projects/cryptofuzz/
Dxxd.c138 extern long int strtol();
508 cols = (int)strtol(pp + 2, NULL, 0); in main()
513 cols = (int)strtol(argv[2], NULL, 0); in main()
521 octspergrp = (int)strtol(pp + 2, NULL, 0); in main()
526 octspergrp = (int)strtol(argv[2], NULL, 0); in main()
534 displayoff = (int)strtol(pp + 2, NULL, 0); in main()
539 displayoff = (int)strtol(argv[2], NULL, 0); in main()
556 seekoff = strtol(pp + 2+relseek+negseek, (char **)NULL, 0); in main()
568 seekoff = strtol(argv[2] + relseek+negseek, (char **)NULL, 0); in main()
576 length = strtol(pp + 2, (char **)NULL, 0); in main()
[all …]
/external/dtc/
Ddtc.c192 outversion = strtol(optarg, NULL, 0); in main()
198 reservenum = strtol(optarg, NULL, 0); in main()
201 minsize = strtol(optarg, NULL, 0); in main()
204 padsize = strtol(optarg, NULL, 0); in main()
207 alignsize = strtol(optarg, NULL, 0); in main()
/external/mesa3d/src/freedreno/ir3/
Dir3_lexer.l54 num += strtol(str, (char **)&str, 10) << 3; in parse_reg()
96 "(rpt"[0-7]")" ir3_yylval.num = strtol(yytext+4, NULL, 10); return T_RPT;
97 "(nop"[0-7]")" ir3_yylval.num = strtol(yytext+4, NULL, 10); return T_NOP;
104 "s#"[0-9]+ ir3_yylval.num = strtol(yytext+2, NULL, 10); return T_SAMP;
105 "t#"[0-9]+ ir3_yylval.num = strtol(yytext+2, NULL, 10); return T_TEX;
297 "base"[0-9]+ ir3_yylval.num = strtol(yytext+4, NULL, 10); return T_BASE;
/external/iptables/extensions/
Dlibebt_arp.c104 onebyte = strtol(p, &end, 10); in undot_ip()
111 onebyte = strtol(p, &end, 10); in undot_ip()
127 bits = strtol(mask, &end, 10); in ip_mask()
181 i = strtol(optarg, &end, 10); in brarp_parse()
198 i = strtol(optarg, &end, 10); in brarp_parse()
215 i = strtol(optarg, &end, 16); in brarp_parse()
/external/compiler-rt/test/asan/TestCases/Linux/
Dinterception_test.cc11 extern "C" long strtol(const char *nptr, char **endptr, int base) { in strtol() function
19 return (int)strtol(x, 0, 10); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dinterception_test.cpp11 extern "C" long strtol(const char *nptr, char **endptr, int base) { in strtol() function
19 return (int)strtol(x, 0, 10); in main()
/external/libusb/examples/
Dhotplugtest.c86 vendor_id = (argc > 1) ? (int)strtol (argv[1], NULL, 0) : 0x045a; in main()
87 product_id = (argc > 2) ? (int)strtol (argv[2], NULL, 0) : 0x5005; in main()
88 class_id = (argc > 3) ? (int)strtol (argv[3], NULL, 0) : LIBUSB_HOTPLUG_MATCH_ANY; in main()

12345678910>>...31