Home
last modified time | relevance | path

Searched refs:str_val (Results 1 – 25 of 38) sorted by relevance

12

/third_party/jerryscript/jerry-ext/handler/
Dhandler-print.c54 jerry_value_t str_val; in jerryx_handler_print() local
58 str_val = jerry_get_symbol_descriptive_string (args_p[arg_index]); in jerryx_handler_print()
62 str_val = jerry_value_to_string (args_p[arg_index]); in jerryx_handler_print()
65 if (jerry_value_is_error (str_val)) in jerryx_handler_print()
68 ret_val = str_val; in jerryx_handler_print()
72 jerry_length_t length = jerry_get_utf8_string_length (str_val); in jerryx_handler_print()
78 jerry_size_t substr_size = jerry_substring_to_utf8_char_buffer (str_val, in jerryx_handler_print()
119 jerry_release_value (str_val); in jerryx_handler_print()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgsttracerrecord.c104 gchar *str_val; in GST_START_TEST() local
139 "string", G_TYPE_STRING, &str_val, in GST_START_TEST()
144 fail_unless_equals_string (str_val, "test"); in GST_START_TEST()
147 g_free (str_val); in GST_START_TEST()
Dgstvalue.c2761 GValue value = G_VALUE_INIT, str_val = G_VALUE_INIT; in _test_serialize_deserialize_boxed_in_structure() local
2769 g_value_init (&str_val, G_TYPE_STRING); in _test_serialize_deserialize_boxed_in_structure()
2773 g_value_set_string (&str_val, first_str_val); in _test_serialize_deserialize_boxed_in_structure()
2774 gst_structure_set_value (s, "first", &str_val); in _test_serialize_deserialize_boxed_in_structure()
2776 g_value_set_string (&str_val, second_str_val); in _test_serialize_deserialize_boxed_in_structure()
2777 gst_structure_set_value (s, "second", &str_val); in _test_serialize_deserialize_boxed_in_structure()
2813 g_value_unset (&str_val); in _test_serialize_deserialize_boxed_in_structure()
/third_party/ffmpeg/libavformat/
Dflvdec.c409 char str_val[256]; in parse_keyframes_index() local
426 amf_get_string(ioc, str_val, sizeof(str_val)) > 0) { in parse_keyframes_index()
438 if (!strcmp(KEYFRAMES_TIMESTAMP_TAG , str_val) && !times) { in parse_keyframes_index()
441 } else if (!strcmp(KEYFRAMES_BYTEOFFSET_TAG, str_val) && in parse_keyframes_index()
503 char str_val[1024]; in amf_parse_object() local
524 if (amf_get_string(ioc, str_val, sizeof(str_val)) < 0) { in amf_parse_object()
538 amf_get_string(ioc, str_val, sizeof(str_val)) > 0) in amf_parse_object()
539 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object()
556 amf_get_string(ioc, str_val, sizeof(str_val)) > 0) in amf_parse_object()
559 if (amf_parse_object(s, astream, vstream, str_val, max_pos, in amf_parse_object()
[all …]
/third_party/gn/src/gn/
Dvalue.cc45 Value::Value(const ParseNode* origin, std::string str_val) in Value() argument
46 : type_(STRING), origin_(origin), string_value_(std::move(str_val)) {} in Value()
48 Value::Value(const ParseNode* origin, const char* str_val) in Value() argument
49 : type_(STRING), origin_(origin), string_value_(str_val) {} in Value()
Dvalue.h35 Value(const ParseNode* origin, std::string str_val);
36 Value(const ParseNode* origin, const char* str_val);
/third_party/grpc/src/php/ext/grpc/
Dcall.c70 char *str_val; in grpc_parse_metadata_array() local
81 str_val = ecalloc(GRPC_SLICE_LENGTH(elem->value) + 1, sizeof(char)); in grpc_parse_metadata_array()
82 memcpy(str_val, GRPC_SLICE_START_PTR(elem->value), in grpc_parse_metadata_array()
91 efree(str_val); in grpc_parse_metadata_array()
95 php_grpc_add_next_index_stringl(data, str_val, in grpc_parse_metadata_array()
101 php_grpc_add_next_index_stringl(inner_array, str_val, in grpc_parse_metadata_array()
107 efree(str_val); in grpc_parse_metadata_array()
/third_party/mksh/
Deval.c373 x.str = str_val(&v); in expand()
434 str_val(x.var), in expand()
476 beg = str_val(st->var); in expand()
530 strdupx(s, str_val(st->var), ATEMP); in expand()
753 x.str = trimsub(str_val(st->var), in expand()
796 x.str = str_val(st->var); in expand()
811 (unsigned int)hash(str_val(st->var))); in expand()
817 print_value_quoted(&shf, str_val(st->var)); in expand()
1325 p = str_val(global(sp)); in varsub()
1363 p = str_val(global(sp)); in varsub()
[all …]
Dvar.c201 strdup2x(cp, str_val(vp), p); in array_index_calc()
385 str_val(struct tbl *vp) in str_val() function
519 setstr(vq, str_val(vtemp), KSH_RETURN_ERROR); in setint()
864 qval = str_val(vp); in vtypeset()
906 qval = str_val(vp); in vtypeset()
973 s = str_val(t); in vtypeset()
1024 strdup2x(tvar, str_val(vp), val); in vtypeset()
1196 val = str_val(vp); in makenv()
1342 s = str_val(vp); in setspec()
1357 setextlibpath(vp->name, str_val(vp)); in setspec()
[all …]
Dmain.c436 cp = str_val(vp); in main_init()
464 (!ksheuid && !strchr(str_val(vp), '#'))) in main_init()
643 ccp = str_val(global("LC_ALL")); in main_init()
645 ccp = str_val(global("LC_CTYPE")); in main_init()
647 ccp = str_val(global("LANG")); in main_init()
2148 ccp = str_val(global("LC_ALL")); in recheck_ctype()
2150 ccp = str_val(global("LC_CTYPE")); in recheck_ctype()
2152 ccp = str_val(global("LANG")); in recheck_ctype()
Dexec.c880 sh = str_val(global(TEXECSHELL)); in scriptexec()
995 sh = str_val(global("OS2_SHELL")); in scriptexec()
1195 if ((fpath = str_val(global(TFPATH))) == null) { in findcom()
1240 (fpath = str_val(global(TFPATH))) != null && in findcom()
1693 if (print_menu || !*str_val(global(TREPLY))) in do_selectargs()
1695 shellf(Tf_s, str_val(global("PS3"))); in do_selectargs()
1699 if (*(s = str_val(global(TREPLY)))) in do_selectargs()
Dexpr.c166 setstr(vp, str_val(v), error_ok); in v_evaluate()
187 s = str_val(es->val); in evalerr()
695 v_evaluate(vq, str_val(vp), KSH_UNWIND_ERROR, es->arith); in intvar()
Dmisc.c364 shf_puts(substitute(str_val(global("PS4")), 0), shl_xtrace); in change_xtrace()
2200 if ((dir = str_val(global("HOME"))) == null) { in c_cd()
2207 dir = str_val(oldpwd_s); in c_cd()
2273 cdpath = str_val(global("CDPATH")); in c_cd()
/third_party/grpc/third_party/upb/upb/
Djson_encode.c330 upb_strview type_url = upb_msg_get(msg, type_url_f).str_val; in jsonenc_any()
331 upb_strview value = upb_msg_get(msg, value_f).str_val; in jsonenc_any()
399 jsonenc_fieldpath(e, upb_array_get(paths, i).str_val); in jsonenc_fieldmask()
422 jsonenc_string(e, key.str_val); in jsonenc_struct()
472 jsonenc_string(e, val.str_val); in jsonenc_value()
551 jsonenc_string(e, val.str_val); in jsonenc_scalar()
554 jsonenc_bytes(e, val.str_val); in jsonenc_scalar()
585 jsonenc_stringbody(e, val.str_val); in jsonenc_mapkey()
Djson_decode.c780 val.str_val = jsondec_string(d); in jsondec_strfield()
782 val.str_val.size = jsondec_base64(d, val.str_val); in jsondec_strfield()
1151 key.str_val = jsondec_string(d); in jsondec_struct()
1175 val.str_val = jsondec_string(d); in jsondec_wellknownvalue()
1259 val.str_val = jsondec_mask(d, ptr, elem_end); in jsondec_fieldmask()
1262 val.str_val = jsondec_mask(d, ptr, end); in jsondec_fieldmask()
1295 val.str_val = type_url; in jsondec_typeurl()
1373 encoded.str_val.data = upb_encode(any_msg, upb_msgdef_layout(any_m), d->arena, in jsondec_any()
1374 &encoded.str_val.size); in jsondec_any()
Dreflection.c143 val.str_val.data = upb_fielddef_defaultstr(f, &val.str_val.size); in upb_msg_get()
237 test.str_val.data = NULL; in upb_msg_next()
Dreflection.h22 upb_strview str_val; member
Dtext_encode.c152 txtenc_string(e, val.str_val, false); in txtenc_field()
155 txtenc_string(e, val.str_val, true); in txtenc_field()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideotimecode.c27 gst_video_time_code_gvalue_to_string (const GValue * tc_val, GValue * str_val);
29 gst_video_time_code_gvalue_from_string (const GValue * str_val,
640 gst_video_time_code_gvalue_from_string (const GValue * str_val, GValue * tc_val) in gst_video_time_code_gvalue_from_string() argument
642 const gchar *tc_str = g_value_get_string (str_val); in gst_video_time_code_gvalue_from_string()
650 gst_video_time_code_gvalue_to_string (const GValue * tc_val, GValue * str_val) in gst_video_time_code_gvalue_to_string() argument
656 g_value_take_string (str_val, tc_str); in gst_video_time_code_gvalue_to_string()
/third_party/jerryscript/jerry-main/
Dmain-unix.c833 jerry_value_t str_val = jerry_value_to_string (abort_value); in main() local
834 jerry_size_t str_size = jerry_get_string_size (str_val); in main()
839 jerry_string_to_char_buffer (str_val, str_buf, str_size); in main()
847 jerry_release_value (str_val); in main()
/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.c330 upb_strview str_val; member
517 decode_verifyutf8(d, val.str_val.data, val.str_val.size); in decode_toarray()
535 decode_tosubmsg(d, submsg, layout, field, val.str_val); in decode_toarray()
544 size_t count = val.str_val.size >> lg2; in decode_toarray()
545 if ((val.str_val.size & mask) != 0) { in decode_toarray()
551 memcpy(mem, val.str_val.data, val.str_val.size); in decode_toarray()
560 const char *ptr = val.str_val.data; in decode_toarray()
561 const char *end = ptr + val.str_val.size; in decode_toarray()
612 decode_tosubmsg(d, &ent.k, layout, field, val.str_val); in decode_tomap()
649 decode_tosubmsg(d, submsg, layout, field, val.str_val); in decode_tomsg()
[all …]
Dconvert.c407 upb_val->str_val = upb_strview_make(ptr, size); in Convert_PhpToUpb()
465 upb_strview str = upb_val.str_val; in Convert_UpbToPhp()
/third_party/ltp/metadata/
Dmetaparse.c736 static void convert_str2int(struct data_node *res, const char *id, const char *str_val) in convert_str2int() argument
742 val = strtol(str_val, &endptr, 10); in convert_str2int()
745 fprintf(stderr, "Cannot convert %s value %s to int!\n", id, str_val); in convert_str2int()
/third_party/grpc/third_party/upb/upb/bindings/lua/
Dmsg.c272 ret.str_val = upb_strview_make(data, len); in lupb_tomsgval()
276 ret.str_val = upb_strview_make(ptr, len); in lupb_tomsgval()
320 lua_pushlstring(L, val.str_val.data, val.str_val.size); in lupb_pushmsgval()
/third_party/node/test/js-native-api/test_object/
Dtest_object.c302 const char* str_val = "test string"; in New() local
303 size_t str_len = strlen(str_val); in New()
304 NAPI_CALL(env, napi_create_string_utf8(env, str_val, str_len, &str)); in New()

12