Lines Matching refs:capture
39991 JSValue capture, name, s;
40071 capture = JS_GetPropertyValue(ctx, namedCaptures, name);
40072 if (JS_IsException(capture))
40074 if (!JS_IsUndefined(capture)) {
40075 if (string_buffer_concat_value_free(b, capture))
41853 uint8_t **capture, *str_buf;
41876 capture = NULL;
41878 capture = js_malloc(ctx, sizeof(capture[0]) * capture_count * 2);
41879 if (!capture) {
41889 ret = lre_exec(capture, re_bytecode,
41910 JS_NewInt32(ctx, (capture[1] - str_buf) >> shift)) < 0)
41930 if (capture[2 * i] == NULL ||
41931 capture[2 * i + 1] == NULL) {
41934 start = (capture[2 * i] - str_buf) >> shift;
41935 end = (capture[2 * i + 1] - str_buf) >> shift;
41958 JS_NewInt32(ctx, (capture[0] - str_buf) >> shift), prop_flags) < 0)
41963 js_free(ctx, capture);
41970 js_free(ctx, capture);
41982 uint8_t **capture, *str_buf;
41993 capture = NULL;
42009 capture = js_malloc(ctx, sizeof(capture[0]) * capture_count * 2);
42010 if (!capture)
42020 ret = lre_exec(capture, re_bytecode,
42035 start = (capture[0] - str_buf) >> shift;
42036 end = (capture[1] - str_buf) >> shift;
42061 js_free(ctx, capture);
42065 js_free(ctx, capture);