Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 25 of 1526) sorted by relevance

12345678910>>...62

/third_party/jerryscript/tests/jerry/es2015/
Dregexp-unicode.js15 var result = /\0/.exec("\u0000");
19 result = /\0/u.exec("\u0000");
23 result = /\000/.exec("\u0000");
28 new RegExp("\\000", 'u').exec("\u0000");
34 result = /\0000/.exec("\u0000\u0030");
38 result = /\377/.exec("\u00ff");
43 new RegExp("\\377", 'u').exec("\u00ff");
49 result = /\3777/.exec("\u00ff\u0037");
54 new RegExp("\\3777", 'u').exec("\u00ff\u0037");
60 result = /\400/.exec("\u0020\u0030");
[all …]
Dregexp-flags.js17 var m = r.exec("��");
22 assert (r.exec("E��E")[0] === 'E');
23 assert (r.exec("E��E")[0] === '��');
24 assert (r.exec("E��E")[0] === 'E');
33 assert (/\udc96/.exec("\ud803\udc96")[0] === '\udc96');
34 assert (/\udc96/u.exec("\ud803\udc96") === null);
35 assert (/\udc96/u.exec("\udc96")[0] === '\udc96');
37 assert (/\ud803/.exec("\ud803\udc96")[0] === '\ud803');
38 assert (/\ud803/u.exec("\ud803\udc96") === null);
39 assert (/\ud803/u.exec("\ud803")[0] === '\ud803');
[all …]
/third_party/jerryscript/tests/jerry/
Dregexp-backtrack.js15 assert (JSON.stringify (/(?:(a)*){3,}/.exec("aaaab")) === '["aaaa",null]');
16 assert (JSON.stringify (/((a)*){3,}/.exec("aaaab")) === '["aaaa","",null]');
17 assert (JSON.stringify (/((a)+){3,}/.exec("aaaab")) === '["aaaa","a","a"]');
18 assert (JSON.stringify (/((.)*){3,}/.exec("abcd")) === '["abcd","",null]');
19 assert (JSON.stringify (/((.)+){3,}/.exec("abcd")) === '["abcd","d","d"]');
21 assert (JSON.stringify (/((.){1,2}){1,2}/.exec("abc")) === '["abc","c","c"]');
22 assert (JSON.stringify (/(?:(a)*?)asd/.exec("aaasd")) === '["aaasd","a"]');
23 assert (JSON.stringify (/(?:(a)*)asd/.exec("aaasd")) === '["aaasd","a"]');
25 assert (JSON.stringify (/(.)*((a)*|(b)*)/.exec("ab")) === '["ab","b","",null,null]');
26 assert (JSON.stringify (/(.)*((x)|(y))+/.exec("xy")) === '["xy","x","y",null,"y"]');
[all …]
Dregexp-capture-groups.js19 assert (r.exec ("a") == ",");
22 assert (r.exec ("a") == "a,a");
25 assert (r.exec ("abc") == "abc,ab,a");
28 assert (r.exec ("b")[0] == "");
29 assert (r.exec ("b")[1] == undefined);
30 assert (r.exec ("aaaa") == "aaaa,a");
33 assert (r.exec ("aaaa") == "aaaa,a");
36 assert (r.exec ("aaaa") == "aaaa,a");
39 assert (r.exec ("a") == "a,a");
40 assert (r.exec ("aa") == "aa,a");
[all …]
Dregexp-non-capture-groups.js19 assert (r.exec ("a") == "");
22 assert (r.exec ("a") == "a");
25 assert (r.exec ("abc") == "abc");
28 assert (r.exec ("b") == "");
29 assert (r.exec ("aaaa") == "aaaa");
32 assert (r.exec ("aaaa") == "aaaa");
35 assert (r.exec ("aaaa") == "aaaa");
38 assert (r.exec ("a") == "a");
39 assert (r.exec ("aa") == "aa");
40 assert (r.exec ("aaaa") == "aa");
[all …]
Dregexp-simple-atom-and-iterations.js18 assert (r.exec ("a") == "a");
19 assert (r.exec ("b") == undefined);
22 assert (r.exec ("abc") == "abc");
25 assert (r.exec ("aaa") == "aaa");
26 assert (r.exec ("b") == "");
29 assert (r.exec ("aaa") == "aaa");
30 assert (r.exec ("b") == undefined);
33 assert (r.exec ("a") == "a");
34 assert (r.exec ("ab") == "ab");
35 assert (r.exec ("abbbb") == "abbbb");
[all …]
Dregexp-assertions.js17 t = new RegExp ("^alma$").exec("alma");
20 t = new RegExp ("^alma$").exec("almaa");
23 t = new RegExp ("^alma$").exec("aalma");
26 t = new RegExp ("^alma").exec("alma");
29 t = new RegExp ("^alma").exec("almaa");
32 t = new RegExp ("^alma").exec("aalma");
35 t = new RegExp ("alma$").exec("alma");
38 t = new RegExp ("alma$").exec("almaa");
41 t = new RegExp ("alma$").exec("aalma");
44 t = new RegExp ("\\bis\\b").exec("This island is beautiful");
[all …]
Dregexp-character-class.js17 r = new RegExp ("[abc]*").exec("aaabbcccabcacbacabacbacab");
20 r = new RegExp ("[abc]*").exec("aaabbcccabdcacb");
23 r = new RegExp ("[abc]*").exec("defghjklmnopqrstuvwxyz");
26 r = new RegExp ("[a-z]*").exec("abcdefghjklmnopqrstuvwxyz");
29 r = new RegExp ("[A-Z]*").exec("abcdefghjklmnopqrstuvwxyz");
32 r = new RegExp ("[^a-z]*").exec("abcdefghjklmnopqrstuvwxyz");
35 r = new RegExp ("[^A-Z]*").exec("abcdefghjklmnopqrstuvwxyz");
38 r = new RegExp ("\\d*").exec("abcdefghjklmnopqrstuvwxyz");
41 r = new RegExp ("\\D*").exec("abcdefghjklmnopqrstuvwxyz");
44 r = new RegExp ("\\w*").exec("abcdefghjklmnopqrstuvwxyz");
[all …]
Dregexp-alternatives.js18 assert (r.exec("a") == "a");
21 assert (r.exec("b") == "b");
24 assert (r.exec("b") == "b");
27 assert (r.exec("c") == "c");
30 assert (r.exec("") == undefined);
33 assert (r.exec("a") == "a");
36 assert (r.exec("b") == "b");
39 assert (r.exec("c") == "c");
42 assert (r.exec("d") == "d");
45 assert (r.exec("e") == undefined);
[all …]
/third_party/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c44 vbo_exec_debug_verts(struct vbo_exec_context *exec) in vbo_exec_debug_verts() argument
46 GLuint count = exec->vtx.vert_count; in vbo_exec_debug_verts()
52 exec->vtx.prim_count, in vbo_exec_debug_verts()
53 exec->vtx.vertex_size); in vbo_exec_debug_verts()
55 for (i = 0 ; i < exec->vtx.prim_count ; i++) { in vbo_exec_debug_verts()
58 _mesa_lookup_prim_by_nr(exec->vtx.mode[i]), in vbo_exec_debug_verts()
59 exec->vtx.draw[i].start, in vbo_exec_debug_verts()
60 exec->vtx.draw[i].start + exec->vtx.draw[i].count, in vbo_exec_debug_verts()
61 exec->vtx.markers[i].begin ? "BEGIN" : "(wrap)", in vbo_exec_debug_verts()
62 exec->vtx.markers[i].end ? "END" : "(wrap)"); in vbo_exec_debug_verts()
[all …]
Dvbo_exec_api.c67 vbo_reset_all_attr(struct vbo_exec_context *exec);
76 vbo_exec_wrap_buffers(struct vbo_exec_context *exec) in vbo_exec_wrap_buffers() argument
78 if (exec->vtx.prim_count == 0) { in vbo_exec_wrap_buffers()
79 exec->vtx.copied.nr = 0; in vbo_exec_wrap_buffers()
80 exec->vtx.vert_count = 0; in vbo_exec_wrap_buffers()
81 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_buffers()
84 struct gl_context *ctx = gl_context_from_vbo_exec(exec); in vbo_exec_wrap_buffers()
85 unsigned last = exec->vtx.prim_count - 1; in vbo_exec_wrap_buffers()
86 struct pipe_draw_start_count_bias *last_draw = &exec->vtx.draw[last]; in vbo_exec_wrap_buffers()
87 const bool last_begin = exec->vtx.markers[last].begin; in vbo_exec_wrap_buffers()
[all …]
Dvbo_exec_eval.c37 static void clear_active_eval1( struct vbo_exec_context *exec, GLuint attr ) in clear_active_eval1() argument
39 assert(attr < ARRAY_SIZE(exec->eval.map1)); in clear_active_eval1()
40 exec->eval.map1[attr].map = NULL; in clear_active_eval1()
43 static void clear_active_eval2( struct vbo_exec_context *exec, GLuint attr ) in clear_active_eval2() argument
45 assert(attr < ARRAY_SIZE(exec->eval.map2)); in clear_active_eval2()
46 exec->eval.map2[attr].map = NULL; in clear_active_eval2()
49 static void set_active_eval1( struct vbo_exec_context *exec, GLuint attr, GLuint dim, in set_active_eval1() argument
52 assert(attr < ARRAY_SIZE(exec->eval.map1)); in set_active_eval1()
53 if (!exec->eval.map1[attr].map) { in set_active_eval1()
54 exec->eval.map1[attr].map = map; in set_active_eval1()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_gem.c33 vc4_get_bcl(struct drm_device *dev, struct vc4_exec_info *exec) in vc4_get_bcl() argument
35 struct drm_vc4_submit_cl *args = exec->args; in vc4_get_bcl()
71 exec->shader_rec_u = temp + shader_rec_offset; in vc4_get_bcl()
72 exec->uniforms_u = temp + uniforms_offset; in vc4_get_bcl()
73 exec->shader_state = temp + exec_size; in vc4_get_bcl()
74 exec->shader_state_size = args->shader_rec_count; in vc4_get_bcl()
84 ret = copy_from_user(exec->shader_rec_u, in vc4_get_bcl()
92 ret = copy_from_user(exec->uniforms_u, in vc4_get_bcl()
100 exec->exec_bo = drm_gem_cma_create(dev, exec_size); in vc4_get_bcl()
102 if (IS_ERR(exec->exec_bo)) { in vc4_get_bcl()
[all …]
Dvc4_validate.c46 struct vc4_exec_info *exec, \
97 vc4_use_bo(struct vc4_exec_info *exec, uint32_t hindex) in vc4_use_bo() argument
102 if (hindex >= exec->bo_count) { in vc4_use_bo()
104 hindex, exec->bo_count); in vc4_use_bo()
107 obj = exec->bo[hindex]; in vc4_use_bo()
120 vc4_use_handle(struct vc4_exec_info *exec, uint32_t gem_handles_packet_index) in vc4_use_handle() argument
122 return vc4_use_bo(exec, exec->bo_index[gem_handles_packet_index]); in vc4_use_handle()
126 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
131 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
150 vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_cma_object *fbo, in vc4_check_tex_size() argument
[all …]
/third_party/boost/libs/asio/test/execution/
Dset_value.cpp22 namespace exec = boost::asio::execution;
404 BOOST_ASIO_CONSTEXPR bool b1 = exec::can_set_value< in test_can_set_value()
408 BOOST_ASIO_CONSTEXPR bool b2 = exec::can_set_value< in test_can_set_value()
412 BOOST_ASIO_CONSTEXPR bool b3 = exec::can_set_value< in test_can_set_value()
416 BOOST_ASIO_CONSTEXPR bool b4 = exec::can_set_value< in test_can_set_value()
420 BOOST_ASIO_CONSTEXPR bool b5 = exec::can_set_value< in test_can_set_value()
424 BOOST_ASIO_CONSTEXPR bool b6 = exec::can_set_value< in test_can_set_value()
428 BOOST_ASIO_CONSTEXPR bool b7 = exec::can_set_value< in test_can_set_value()
432 BOOST_ASIO_CONSTEXPR bool b8 = exec::can_set_value< in test_can_set_value()
436 BOOST_ASIO_CONSTEXPR bool b9 = exec::can_set_value< in test_can_set_value()
[all …]
Dconnect.cpp22 namespace exec = boost::asio::execution;
57 struct no_connect_2 : exec::sender_base
91 struct const_member_connect : exec::sender_base
126 struct free_connect_const_receiver : exec::sender_base
162 struct non_const_member_connect : exec::sender_base
193 struct free_connect_non_const_receiver : exec::sender_base
352 BOOST_ASIO_CONSTEXPR bool b1 = exec::can_connect< in test_can_connect()
356 BOOST_ASIO_CONSTEXPR bool b2 = exec::can_connect< in test_can_connect()
360 BOOST_ASIO_CONSTEXPR bool b3 = exec::can_connect< in test_can_connect()
364 BOOST_ASIO_CONSTEXPR bool b4 = exec::can_connect< in test_can_connect()
[all …]
Dexecute.cpp30 namespace exec = boost::asio::execution;
225 struct sender : exec::sender_base
241 exec::set_value(BOOST_ASIO_MOVE_CAST(R)(r)); in submit()
279 BOOST_ASIO_CONSTEXPR bool b1 = exec::can_execute< in test_can_execute()
280 no_execute&, exec::invocable_archetype>::value; in test_can_execute()
283 BOOST_ASIO_CONSTEXPR bool b2 = exec::can_execute< in test_can_execute()
284 const no_execute&, exec::invocable_archetype>::value; in test_can_execute()
287 BOOST_ASIO_CONSTEXPR bool b3 = exec::can_execute< in test_can_execute()
288 const_member_execute&, exec::invocable_archetype>::value; in test_can_execute()
291 BOOST_ASIO_CONSTEXPR bool b4 = exec::can_execute< in test_can_execute()
[all …]
Dschedule.cpp27 namespace exec = boost::asio::execution;
56 struct sender : exec::sender_base
73 exec::set_value(tmp); in submit()
293 BOOST_ASIO_CONSTEXPR bool b1 = exec::can_schedule< in test_can_schedule()
297 BOOST_ASIO_CONSTEXPR bool b2 = exec::can_schedule< in test_can_schedule()
301 BOOST_ASIO_CONSTEXPR bool b3 = exec::can_schedule< in test_can_schedule()
305 BOOST_ASIO_CONSTEXPR bool b4 = exec::can_schedule< in test_can_schedule()
309 BOOST_ASIO_CONSTEXPR bool b5 = exec::can_schedule< in test_can_schedule()
313 BOOST_ASIO_CONSTEXPR bool b6 = exec::can_schedule< in test_can_schedule()
317 BOOST_ASIO_CONSTEXPR bool b7 = exec::can_schedule< in test_can_schedule()
[all …]
Dbulk_execute.cpp22 namespace exec = boost::asio::execution;
53 struct sender : exec::sender_base
226 BOOST_ASIO_CONSTEXPR bool b1 = exec::can_bulk_execute< in test_can_bulk_execute()
227 no_bulk_execute&, exec::invocable_archetype, std::size_t>::value; in test_can_bulk_execute()
230 BOOST_ASIO_CONSTEXPR bool b2 = exec::can_bulk_execute< in test_can_bulk_execute()
231 const no_bulk_execute&, exec::invocable_archetype, std::size_t>::value; in test_can_bulk_execute()
234 BOOST_ASIO_CONSTEXPR bool b3 = exec::can_bulk_execute< in test_can_bulk_execute()
235 const_member_bulk_execute&, exec::invocable_archetype, std::size_t>::value; in test_can_bulk_execute()
238 BOOST_ASIO_CONSTEXPR bool b4 = exec::can_bulk_execute< in test_can_bulk_execute()
240 exec::invocable_archetype, std::size_t>::value; in test_can_bulk_execute()
[all …]
Dsubmit.cpp22 namespace exec = boost::asio::execution;
57 struct no_submit_2 : exec::sender_base
90 struct const_member_submit : exec::sender_base
143 struct free_submit_const_receiver : exec::sender_base
198 struct non_const_member_submit : exec::sender_base
251 struct free_submit_non_const_receiver : exec::sender_base
430 BOOST_ASIO_CONSTEXPR bool b1 = exec::can_submit< in test_can_submit()
434 BOOST_ASIO_CONSTEXPR bool b2 = exec::can_submit< in test_can_submit()
438 BOOST_ASIO_CONSTEXPR bool b3 = exec::can_submit< in test_can_submit()
442 BOOST_ASIO_CONSTEXPR bool b4 = exec::can_submit< in test_can_submit()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_insert_exec_mask.cpp83 exec; /* Vector of exec masks. Either a temporary or const -1. */ member
342 return Operand(exec, t.regClass()); in get_exec_op()
350 if (ctx.info[idx].exec.back().second & mask_type_wqm) in transition_to_WQM()
352 if (ctx.info[idx].exec.back().second & mask_type_global) { in transition_to_WQM()
353 Operand exec_mask = ctx.info[idx].exec.back().first; in transition_to_WQM()
355 exec_mask = bld.pseudo(aco_opcode::p_parallelcopy, bld.def(bld.lm), Operand(exec, bld.lm)); in transition_to_WQM()
356 ctx.info[idx].exec.back().first = exec_mask; in transition_to_WQM()
359 exec_mask = bld.sop1(Builder::s_wqm, Definition(exec, bld.lm), bld.def(s1, scc), in transition_to_WQM()
361 ctx.info[idx].exec.emplace_back(exec_mask, mask_type_global | mask_type_wqm); in transition_to_WQM()
365 ctx.info[idx].exec.pop_back(); in transition_to_WQM()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ditmajor.cpp45 if(exec) { \
52 void MajorTestLevel::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par ) in runIndexedTest() argument
56 if (exec) { in runIndexedTest()
65 if (exec) { in runIndexedTest()
75 if (exec) { in runIndexedTest()
85 if (exec) { in runIndexedTest()
95 if (exec) { in runIndexedTest()
105 if (exec) { in runIndexedTest()
115 if (exec) { in runIndexedTest()
124 if (exec) { in runIndexedTest()
[all …]
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlregexp.c3109 xmlFARegDebugExec(xmlRegExecCtxtPtr exec) { in xmlFARegDebugExec() argument
3110 printf("state: %d:%d:idx %d", exec->state->no, exec->transno, exec->index); in xmlFARegDebugExec()
3111 if (exec->inputStack != NULL) { in xmlFARegDebugExec()
3114 for (i = 0;(i < 3) && (i < exec->inputStackNr);i++) in xmlFARegDebugExec()
3116 exec->inputStack[exec->inputStackNr - (i + 1)].value); in xmlFARegDebugExec()
3118 printf(": %s", &(exec->inputString[exec->index])); in xmlFARegDebugExec()
3125 xmlFARegExecSave(xmlRegExecCtxtPtr exec) { in xmlFARegExecSave() argument
3128 exec->transno++; in xmlFARegExecSave()
3129 xmlFARegDebugExec(exec); in xmlFARegExecSave()
3130 exec->transno--; in xmlFARegExecSave()
[all …]
/third_party/libxml2/
Dxmlregexp.c3152 xmlFARegDebugExec(xmlRegExecCtxtPtr exec) { in xmlFARegDebugExec() argument
3153 printf("state: %d:%d:idx %d", exec->state->no, exec->transno, exec->index); in xmlFARegDebugExec()
3154 if (exec->inputStack != NULL) { in xmlFARegDebugExec()
3157 for (i = 0;(i < 3) && (i < exec->inputStackNr);i++) in xmlFARegDebugExec()
3159 exec->inputStack[exec->inputStackNr - (i + 1)].value); in xmlFARegDebugExec()
3161 printf(": %s", &(exec->inputString[exec->index])); in xmlFARegDebugExec()
3168 xmlFARegExecSave(xmlRegExecCtxtPtr exec) { in xmlFARegExecSave() argument
3171 exec->transno++; in xmlFARegExecSave()
3172 xmlFARegDebugExec(exec); in xmlFARegExecSave()
3173 exec->transno--; in xmlFARegExecSave()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DAsNode.h28 static ANGLE_INLINE TIntermNode *exec(TIntermNode *node) { return node; }
34 static ANGLE_INLINE TIntermTyped *exec(TIntermNode *node)
43 static ANGLE_INLINE TIntermSymbol *exec(TIntermNode *node)
52 static ANGLE_INLINE TIntermConstantUnion *exec(TIntermNode *node)
61 static ANGLE_INLINE TIntermFunctionPrototype *exec(TIntermNode *node)
70 static ANGLE_INLINE TIntermPreprocessorDirective *exec(TIntermNode *node)
79 static ANGLE_INLINE TIntermSwizzle *exec(TIntermNode *node)
88 static ANGLE_INLINE TIntermBinary *exec(TIntermNode *node)
97 static ANGLE_INLINE TIntermUnary *exec(TIntermNode *node)
106 static ANGLE_INLINE TIntermTernary *exec(TIntermNode *node)
[all …]

12345678910>>...62