str 56 source/common/param.cpp static char* strtok_r(char* str, const char* delim, char** nextp) str 58 source/common/param.cpp if (!str) str 59 source/common/param.cpp str = *nextp; str 61 source/common/param.cpp str += strspn(str, delim); str 63 source/common/param.cpp if (!*str) str 66 source/common/param.cpp char *ret = str; str 68 source/common/param.cpp str += strcspn(str, delim); str 70 source/common/param.cpp if (*str) str 71 source/common/param.cpp *str++ = '\0'; str 73 source/common/param.cpp *nextp = str; str 516 source/common/param.cpp static int x265_atobool(const char* str, bool& bError) str 518 source/common/param.cpp if (!strcmp(str, "1") || str 519 source/common/param.cpp !strcmp(str, "true") || str 520 source/common/param.cpp !strcmp(str, "yes")) str 522 source/common/param.cpp if (!strcmp(str, "0") || str 523 source/common/param.cpp !strcmp(str, "false") || str 524 source/common/param.cpp !strcmp(str, "no")) str 542 source/common/param.cpp #define atoi(str) x265_atoi(str, bError) str 543 source/common/param.cpp #define atof(str) x265_atof(str, bError) str 544 source/common/param.cpp #define atobool(str) (bNameWasBool = true, x265_atobool(str, bError)) str 993 source/common/param.cpp int x265_atoi(const char* str, bool& bError) str 996 source/common/param.cpp int v = strtol(str, &end, 0); str 998 source/common/param.cpp if (end == str || *end != '\0') str 1003 source/common/param.cpp double x265_atof(const char* str, bool& bError) str 1006 source/common/param.cpp double v = strtod(str, &end); str 1008 source/common/param.cpp if (end == str || *end != '\0') str 34 source/common/param.h int x265_atoi(const char *str, bool& bError); str 35 source/common/param.h double x265_atof(const char *str, bool& bError); str 216 source/compat/getopt/getopt.c my_index (str, chr) str 217 source/compat/getopt/getopt.c const char *str; str 220 source/compat/getopt/getopt.c while (*str) str 222 source/compat/getopt/getopt.c if (*str == chr) str 223 source/compat/getopt/getopt.c return (char *) str; str 224 source/compat/getopt/getopt.c str++; str 344 source/dynamicHDR10/json11/json11.cpp const string &str; str 371 source/dynamicHDR10/json11/json11.cpp while (str[i] == ' ' || str[i] == '\r' || str[i] == '\n' || str[i] == '\t') str 381 source/dynamicHDR10/json11/json11.cpp if (str[i] == '/') { str 383 source/dynamicHDR10/json11/json11.cpp if (i == str.size()) str 385 source/dynamicHDR10/json11/json11.cpp if (str[i] == '/') { // inline comment str 387 source/dynamicHDR10/json11/json11.cpp if (i == str.size()) str 390 source/dynamicHDR10/json11/json11.cpp while (str[i] != '\n') { str 392 source/dynamicHDR10/json11/json11.cpp if (i == str.size()) str 397 source/dynamicHDR10/json11/json11.cpp else if (str[i] == '*') { // multiline comment str 399 source/dynamicHDR10/json11/json11.cpp if (i > str.size()-2) str 402 source/dynamicHDR10/json11/json11.cpp while (!(str[i] == '*' && str[i+1] == '/')) { str 404 source/dynamicHDR10/json11/json11.cpp if (i > str.size()-2) str 409 source/dynamicHDR10/json11/json11.cpp if (i == str.size()) str 443 source/dynamicHDR10/json11/json11.cpp if (i == str.size()) str 446 source/dynamicHDR10/json11/json11.cpp return str[i++]; str 482 source/dynamicHDR10/json11/json11.cpp if (i == str.size()) str 485 source/dynamicHDR10/json11/json11.cpp char ch = str[i++]; str 504 source/dynamicHDR10/json11/json11.cpp if (i == str.size()) str 507 source/dynamicHDR10/json11/json11.cpp ch = str[i++]; str 511 source/dynamicHDR10/json11/json11.cpp string esc = str.substr(i, 4); str 574 source/dynamicHDR10/json11/json11.cpp if (str[i] == '-') str 578 source/dynamicHDR10/json11/json11.cpp if (str[i] == '0') { str 580 source/dynamicHDR10/json11/json11.cpp if (in_range(str[i], '0', '9')) str 582 source/dynamicHDR10/json11/json11.cpp } else if (in_range(str[i], '1', '9')) { str 584 source/dynamicHDR10/json11/json11.cpp while (in_range(str[i], '0', '9')) str 587 source/dynamicHDR10/json11/json11.cpp return fail("invalid " + esc(str[i]) + " in number"); str 590 source/dynamicHDR10/json11/json11.cpp if (str[i] != '.' && str[i] != 'e' && str[i] != 'E' str 592 source/dynamicHDR10/json11/json11.cpp return std::atoi(str.c_str() + start_pos); str 596 source/dynamicHDR10/json11/json11.cpp if (str[i] == '.') { str 598 source/dynamicHDR10/json11/json11.cpp if (!in_range(str[i], '0', '9')) str 601 source/dynamicHDR10/json11/json11.cpp while (in_range(str[i], '0', '9')) str 606 source/dynamicHDR10/json11/json11.cpp if (str[i] == 'e' || str[i] == 'E') { str 609 source/dynamicHDR10/json11/json11.cpp if (str[i] == '+' || str[i] == '-') str 612 source/dynamicHDR10/json11/json11.cpp if (!in_range(str[i], '0', '9')) str 615 source/dynamicHDR10/json11/json11.cpp while (in_range(str[i], '0', '9')) str 619 source/dynamicHDR10/json11/json11.cpp return std::strtod(str.c_str() + start_pos, nullptr); str 630 source/dynamicHDR10/json11/json11.cpp if (str.compare(i, expected.length(), expected) == 0) { str 634 source/dynamicHDR10/json11/json11.cpp return fail("parse error: expected " + expected + ", got " + str.substr(i, expected.length())); str 412 source/encoder/api.cpp #define xstr(s) str(s) str 2826 source/test/pixelharness.cpp #define HEADER(str, ...) sprintf(header, str, __VA_ARGS__); printf("%22s", header); str 2974 source/test/pixelharness.cpp #define HEADER(str, ...) sprintf(header, str, __VA_ARGS__); printf("%22s", header); str 2975 source/test/pixelharness.cpp #define HEADER0(str) printf("%22s", str);