/third_party/boost/libs/program_options/test/ |
D | split_test.cpp | 31 vector< string > tokens = split_unix(cmdline, " \t\n\r"); in split_whitespace() local 33 BOOST_REQUIRE(tokens.size() == 7); in split_whitespace() 35 check_value(tokens[0], "prg"); in split_whitespace() 36 check_value(tokens[1], "--input"); in split_whitespace() 37 check_value(tokens[2], "input.txt"); in split_whitespace() 38 check_value(tokens[3], "--optimization"); in split_whitespace() 39 check_value(tokens[4], "4"); in split_whitespace() 40 check_value(tokens[5], "--opt"); in split_whitespace() 41 check_value(tokens[6], "option"); in split_whitespace() 44 store(command_line_parser(tokens).options(description).run(), vm); in split_whitespace() [all …]
|
/third_party/boost/libs/algorithm/string/test/ |
D | split_test.cpp | 49 vector<string> tokens; in iterator_test() local 54 tokens, in iterator_test() 58 BOOST_REQUIRE( tokens.size()==2 ); in iterator_test() 59 BOOST_CHECK( tokens[0]==string("xx") ); in iterator_test() 60 BOOST_CHECK( tokens[1]==string("xx") ); in iterator_test() 63 tokens, in iterator_test() 67 BOOST_REQUIRE( tokens.size()==3 ); in iterator_test() 68 BOOST_CHECK( tokens[0]==string("Xx") ); in iterator_test() 69 BOOST_CHECK( tokens[1]==string("xX") ); in iterator_test() 70 BOOST_CHECK( tokens[2]==string("xx") ); in iterator_test() [all …]
|
/third_party/boost/boost/local_function/detail/preprocessor/keyword/ |
D | const_bind.hpp | 29 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_CONST_BIND_FRONT_(tokens) \ argument 31 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_CONST_REMOVE_FRONT(tokens)) 33 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_CONST_BIND_FRONT(tokens) \ argument 34 BOOST_PP_IIF(BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_CONST_FRONT(tokens),\ 38 )(tokens) 40 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_CONST_BIND_BACK_(tokens) \ argument 42 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_BIND_REMOVE_BACK(tokens)) 44 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_CONDT_BIND_BACK(tokens) \ argument 45 BOOST_PP_IIF(BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_BIND_BACK(tokens) \ 49 )(tokens) [all …]
|
D | recursive.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_RECURSIVE_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 31 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_RECURSIVE_BACK(tokens) \ argument 32 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_BACK(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_RECURSIVE_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_RECURSIVE_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_RECURSIVE_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ [all …]
|
D | bind.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_BIND_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 31 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_BIND_BACK(tokens) \ argument 32 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_BACK(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_BIND_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_BIND_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_BIND_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ [all …]
|
D | auto.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_AUTO_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_AUTO_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_AUTO_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_AUTO_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ 53 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_AUTO_ADD_BACK(tokens) \ argument 54 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
|
D | default.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_DEFAULT_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_DEFAULT_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_DEFAULT_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_DEFAULT_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ 53 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_DEFAULT_ADD_BACK(tokens) \ argument 54 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
|
D | void.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_VOID_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_VOID_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_VOID_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_VOID_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ 53 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_VOID_ADD_BACK(tokens) \ argument 54 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
|
D | return.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_RETURN_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_RETURN_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_RETURN_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_RETURN_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ 53 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_RETURN_ADD_BACK(tokens) \ argument 54 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
|
D | inline.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_INLINE_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_INLINE_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_INLINE_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_INLINE_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ 53 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_INLINE_ADD_BACK(tokens) \ argument 54 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
|
D | const.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_CONST_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_CONST_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_CONST_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_CONST_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ 53 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_CONST_ADD_BACK(tokens) \ argument 54 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
|
D | register.hpp | 27 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_IS_REGISTER_FRONT(tokens) \ argument 28 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_FRONT(tokens, \ 37 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_REGISTER_REMOVE_FRONT(tokens) \ argument 38 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_FRONT(tokens, \ 42 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_REGISTER_REMOVE_BACK(tokens) \ argument 43 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_REMOVE_BACK(tokens, \ 49 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_REGISTER_ADD_FRONT(tokens) \ argument 50 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_FRONT(tokens, \ 53 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_REGISTER_ADD_BACK(tokens) \ argument 54 BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_ADD_BACK(tokens, \
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 141 struct src_tokens tokens; in init_rc_normal_src() local 152 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 153 tokens.Negate.Length = match_length(matches, 1); in init_rc_normal_src() 154 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src() 155 tokens.Abs.Length = match_length(matches, 2); in init_rc_normal_src() 156 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src() 157 tokens.File.Length = match_length(matches, 3); in init_rc_normal_src() 158 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src() 159 tokens.Index.Length = match_length(matches, 4); in init_rc_normal_src() 160 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | uncaughtCompilerError1.types | 2 declare var index, lineTokens, token, tokens; 6 >tokens : any 11 …if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type =… 12 >lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type === '… 31 >tokens[index - 1].type === 'attribute.name.html' : boolean 32 >tokens[index - 1].type : any 33 >tokens[index - 1] : any 34 >tokens : any 41 if (index === (tokens.length - 1)) { 42 >index === (tokens.length - 1) : boolean [all …]
|
D | uncaughtCompilerError1.symbols | 2 declare var index, lineTokens, token, tokens; 6 >tokens : Symbol(tokens, Decl(uncaughtCompilerError1.ts, 0, 37)) 11 …if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type =… 16 >tokens : Symbol(tokens, Decl(uncaughtCompilerError1.ts, 0, 37)) 19 if (index === (tokens.length - 1)) { 21 >tokens : Symbol(tokens, Decl(uncaughtCompilerError1.ts, 0, 37)) 27 … else if (tokens[index + 1].type !== 'attribute.value.html' && tokens[index + 1].type !== '') { 28 >tokens : Symbol(tokens, Decl(uncaughtCompilerError1.ts, 0, 37)) 30 >tokens : Symbol(tokens, Decl(uncaughtCompilerError1.ts, 0, 37))
|
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/ |
D | huffman_encode_utils.c | 262 HuffmanTreeToken* tokens, in CodeRepeatedValues() argument 266 tokens->code = value; in CodeRepeatedValues() 267 tokens->extra_bits = 0; in CodeRepeatedValues() 268 ++tokens; in CodeRepeatedValues() 275 tokens->code = value; in CodeRepeatedValues() 276 tokens->extra_bits = 0; in CodeRepeatedValues() 277 ++tokens; in CodeRepeatedValues() 281 tokens->code = 16; in CodeRepeatedValues() 282 tokens->extra_bits = repetitions - 3; in CodeRepeatedValues() 283 ++tokens; in CodeRepeatedValues() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | huffman_encode_utils.c | 262 HuffmanTreeToken* tokens, in CodeRepeatedValues() argument 266 tokens->code = value; in CodeRepeatedValues() 267 tokens->extra_bits = 0; in CodeRepeatedValues() 268 ++tokens; in CodeRepeatedValues() 275 tokens->code = value; in CodeRepeatedValues() 276 tokens->extra_bits = 0; in CodeRepeatedValues() 277 ++tokens; in CodeRepeatedValues() 281 tokens->code = 16; in CodeRepeatedValues() 282 tokens->extra_bits = repetitions - 3; in CodeRepeatedValues() 283 ++tokens; in CodeRepeatedValues() [all …]
|
/third_party/python/Tools/scripts/ |
D | abitype.py | 16 for t,v in tokens: 40 if tokens[pos][1] == 'static': 45 name = tokens[pos][1] 47 while tokens[pos][1] != '{': 51 while tokens[pos][0] in ('ws', 'comment'): 53 if tokens[pos][1] != 'PyVarObject_HEAD_INIT': 55 while tokens[pos][1] != ')': 61 while tokens[pos][0] in ('ws', 'comment'): 64 while tokens[end][1] not in ',}': 65 if tokens[end][1] == '(': [all …]
|
/third_party/mesa3d/src/gallium/targets/graw-null/ |
D | graw_util.c | 19 struct tgsi_token tokens[1024]; in graw_parse_geometry_shader() local 22 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) in graw_parse_geometry_shader() 26 state.tokens = tokens; in graw_parse_geometry_shader() 34 struct tgsi_token tokens[1024]; in graw_parse_vertex_shader() local 37 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) in graw_parse_vertex_shader() 41 state.tokens = tokens; in graw_parse_vertex_shader() 49 struct tgsi_token tokens[1024]; in graw_parse_fragment_shader() local 52 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) in graw_parse_fragment_shader() 56 state.tokens = tokens; in graw_parse_fragment_shader()
|
/third_party/boost/libs/spirit/test/lex/ |
D | token_moretypes.cpp | 103 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids() argument 105 BOOST_FOREACH(Token const& t, tokens) in test_token_ids() 122 test_token_states(std::size_t const* states, std::vector<Token> const& tokens) in test_token_states() argument 124 BOOST_FOREACH(Token const& t, tokens) in test_token_states() 147 std::vector<Token> const& tokens) in test_token_positions() argument 149 BOOST_FOREACH(Token const& t, tokens) in test_token_positions() 175 test_token_values(boost::optional<T> const* values, std::vector<Token> const& tokens) in test_token_values() argument 177 BOOST_FOREACH(Token const& t, tokens) in test_token_values() 226 std::vector<token_type> tokens; in main() local 231 , phoenix::push_back(phoenix::ref(tokens), _1))); in main() [all …]
|
D | token_onetype.cpp | 103 test_token_ids(int const* ids, std::vector<Token> const& tokens) in test_token_ids() argument 105 BOOST_FOREACH(Token const& t, tokens) in test_token_ids() 122 test_token_states(std::size_t const* states, std::vector<Token> const& tokens) in test_token_states() argument 124 BOOST_FOREACH(Token const& t, tokens) in test_token_states() 147 std::vector<Token> const& tokens) in test_token_positions() argument 149 BOOST_FOREACH(Token const& t, tokens) in test_token_positions() 175 test_token_values(double const* values, std::vector<Token> const& tokens) in test_token_values() argument 177 BOOST_FOREACH(Token const& t, tokens) in test_token_values() 214 std::vector<token_type> tokens; in main() local 219 , phoenix::push_back(phoenix::ref(tokens), _1))); in main() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | token_enc.c | 114 VP8TBuffer* const tokens) { in VP8RecordCoeffTokens() argument 122 if (!AddToken(tokens, last >= 0, base_id + 0, s + 0)) { in VP8RecordCoeffTokens() 130 if (!AddToken(tokens, v != 0, base_id + 1, s + 1)) { in VP8RecordCoeffTokens() 135 if (!AddToken(tokens, v > 1, base_id + 2, s + 2)) { in VP8RecordCoeffTokens() 139 if (!AddToken(tokens, v > 4, base_id + 3, s + 3)) { in VP8RecordCoeffTokens() 140 if (AddToken(tokens, v != 2, base_id + 4, s + 4)) { in VP8RecordCoeffTokens() 141 AddToken(tokens, v == 4, base_id + 5, s + 5); in VP8RecordCoeffTokens() 143 } else if (!AddToken(tokens, v > 10, base_id + 6, s + 6)) { in VP8RecordCoeffTokens() 144 if (!AddToken(tokens, v > 6, base_id + 7, s + 7)) { in VP8RecordCoeffTokens() 145 AddConstantToken(tokens, v == 6, 159); in VP8RecordCoeffTokens() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | token_enc.c | 114 VP8TBuffer* const tokens) { in VP8RecordCoeffTokens() argument 122 if (!AddToken(tokens, last >= 0, base_id + 0, s + 0)) { in VP8RecordCoeffTokens() 130 if (!AddToken(tokens, v != 0, base_id + 1, s + 1)) { in VP8RecordCoeffTokens() 135 if (!AddToken(tokens, v > 1, base_id + 2, s + 2)) { in VP8RecordCoeffTokens() 139 if (!AddToken(tokens, v > 4, base_id + 3, s + 3)) { in VP8RecordCoeffTokens() 140 if (AddToken(tokens, v != 2, base_id + 4, s + 4)) { in VP8RecordCoeffTokens() 141 AddToken(tokens, v == 4, base_id + 5, s + 5); in VP8RecordCoeffTokens() 143 } else if (!AddToken(tokens, v > 10, base_id + 6, s + 6)) { in VP8RecordCoeffTokens() 144 if (!AddToken(tokens, v > 6, base_id + 7, s + 7)) { in VP8RecordCoeffTokens() 145 AddConstantToken(tokens, v == 6, 159); in VP8RecordCoeffTokens() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/ |
D | parsehelper.c | 66 TokenizeHelper(char* str, char** tokens, int num_tokens, int max_token_len) in TokenizeHelper() argument 75 if(!tokens) in TokenizeHelper() 92 tokens[num_tokens] = NULL; in TokenizeHelper() 95 tokens[index] = (char*)SDL_malloc(max_token_len); in TokenizeHelper() 96 if(!tokens[index]) in TokenizeHelper() 101 SDL_free(tokens[i]); in TokenizeHelper() 104 tokens[index][0] = '\0'; in TokenizeHelper() 140 tokens[token_index][i - st_index] = str[i]; in TokenizeHelper() 142 tokens[token_index][i - st_index] = '\0'; in TokenizeHelper() 161 tokens[token_index][i - st_index] = str[i]; in TokenizeHelper() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 241 struct tgsi_token tokens[1024]; in si_create_clear_buffer_rmw_cs() local 247 if (!tgsi_text_translate(final_text, tokens, ARRAY_SIZE(tokens))) { in si_create_clear_buffer_rmw_cs() 253 state.prog = tokens; in si_create_clear_buffer_rmw_cs() 454 struct tgsi_token tokens[1024]; in si_create_query_result_cs() local 462 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) { in si_create_query_result_cs() 468 state.prog = tokens; in si_create_query_result_cs() 499 struct tgsi_token tokens[1024]; in si_create_copy_image_compute_shader() local 502 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) { in si_create_copy_image_compute_shader() 508 state.prog = tokens; in si_create_copy_image_compute_shader() 538 struct tgsi_token tokens[1024]; in si_create_copy_image_compute_shader_1d_array() local [all …]
|