Home
last modified time | relevance | path

Searched refs:end_of_value (Results 1 – 4 of 4) sorted by relevance

/external/marisa-trie/tools/
Dmarisa-build.cc47 char *end_of_value; in read_keys() local
48 weight = (float)std::strtod(&line[delim_pos + 1], &end_of_value); in read_keys()
49 if (*end_of_value == '\0') { in read_keys()
145 char *end_of_value; in main() local
146 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
147 if ((*end_of_value != '\0') || (value <= 0) || in main()
173 char *end_of_value; in main() local
174 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
175 if ((*end_of_value != '\0') || (value < 1) || (value > 5)) { in main()
Dmarisa-benchmark.cc140 char *end_of_value; in read_keys() local
141 weight = (float)std::strtod(&line[delim_pos + 1], &end_of_value); in read_keys()
142 if (*end_of_value == '\0') { in read_keys()
333 char *end_of_value; in main() local
334 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
335 if ((*end_of_value != '\0') || (value <= 0) || in main()
345 char *end_of_value; in main() local
346 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
347 if ((*end_of_value != '\0') || (value <= 0) || in main()
373 char *end_of_value; in main() local
[all …]
Dmarisa-common-prefix-search.cc112 char *end_of_value; in main() local
113 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
114 if ((*end_of_value != '\0') || (value < 0)) { in main()
Dmarisa-predictive-search.cc112 char *end_of_value; in main() local
113 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
114 if ((*end_of_value != '\0') || (value < 0)) { in main()