/third_party/jerryscript/jerry-ext/handler/ |
H A D | handler-print.c | 54 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/gn/src/gn/ |
H A D | ohos_components.cc | 375 static size_t GetWholeArchiveFlag(std::string str_val, int &whole_status) in GetWholeArchiveFlag() argument 377 size_t sep_whole = str_val.find("(--whole-archive)"); in GetWholeArchiveFlag() 381 sep_whole = str_val.find("(--no-whole-archive)"); in GetWholeArchiveFlag() 394 std::string str_val = dep.string_value(); in GetPrivateDepsLabel() local 395 size_t sep_whole = GetWholeArchiveFlag(str_val, whole_status); in GetPrivateDepsLabel() 398 label = str_val.substr(0, sep_whole); in GetPrivateDepsLabel() 400 label = str_val; in GetPrivateDepsLabel() 418 std::string str_val = external_dep.string_value(); in GetExternalDepsLabel() local 419 size_t sep = str_val.find(":"); in GetExternalDepsLabel() 426 std::string component_name = str_val in GetExternalDepsLabel() [all...] |
H A D | value.cc | 45 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()
|
H A D | value.h | 35 Value(const ParseNode* origin, std::string str_val); 36 Value(const ParseNode* origin, const char* str_val);
|
/third_party/node/deps/openssl/openssl/crypto/property/ |
H A D | property_query.c | 48 value = ossl_property_value_str(libctx, prop->v.str_val); in ossl_property_get_string_value() 78 && prop->v.str_val == OSSL_PROPERTY_TRUE) in ossl_property_is_enabled() 80 && prop->v.str_val != OSSL_PROPERTY_TRUE))); in ossl_property_is_enabled()
|
H A D | property_parse.c | 216 res->v.str_val = ossl_property_value(ctx, v, create); in parse_string() 248 else if ((res->v.str_val = ossl_property_value(ctx, v, create)) == 0) in parse_unquoted() 382 prop->v.str_val = OSSL_PROPERTY_TRUE; in ossl_parse_property() 441 prop->v.str_val = OSSL_PROPERTY_TRUE; in ossl_parse_query() 515 && q[i].v.str_val != OSSL_PROPERTY_FALSE) in ossl_property_match_count() 517 && q[i].v.str_val == OSSL_PROPERTY_FALSE)) { in ossl_property_match_count() 740 val = ossl_property_value_str(ctx, prop->v.str_val); in ossl_property_list_to_string()
|
H A D | property_local.h | 27 OSSL_PROPERTY_IDX str_val; /* String */ member
|
/third_party/openssl/crypto/property/ |
H A D | property_query.c | 48 value = ossl_property_value_str(libctx, prop->v.str_val); in ossl_property_get_string_value() 78 && prop->v.str_val == OSSL_PROPERTY_TRUE) in ossl_property_is_enabled() 80 && prop->v.str_val != OSSL_PROPERTY_TRUE))); in ossl_property_is_enabled()
|
H A D | property_parse.c | 186 res->v.str_val = ossl_property_value(ctx, v, create); in parse_string() 218 else if ((res->v.str_val = ossl_property_value(ctx, v, create)) == 0) in parse_unquoted() 352 prop->v.str_val = OSSL_PROPERTY_TRUE; in ossl_parse_property() 411 prop->v.str_val = OSSL_PROPERTY_TRUE; in ossl_parse_query() 485 && q[i].v.str_val != OSSL_PROPERTY_FALSE) in ossl_property_match_count() 487 && q[i].v.str_val == OSSL_PROPERTY_FALSE)) { in ossl_property_match_count() 684 val = ossl_property_value_str(ctx, prop->v.str_val); in ossl_property_list_to_string()
|
H A D | property_local.h | 27 OSSL_PROPERTY_IDX str_val; /* String */ member
|
/third_party/ffmpeg/libavformat/ |
H A D | flvdec.c | 455 char str_val[256]; in parse_keyframes_index() local 472 amf_get_string(ioc, str_val, sizeof(str_val)) > 0) { in parse_keyframes_index() 484 if (!strcmp(KEYFRAMES_TIMESTAMP_TAG , str_val) && !times) { in parse_keyframes_index() 487 } else if (!strcmp(KEYFRAMES_BYTEOFFSET_TAG, str_val) && in parse_keyframes_index() 553 char str_val[1024]; in amf_parse_object() local 574 if (amf_get_string(ioc, str_val, sizeof(str_val)) < 0) { in amf_parse_object() 588 amf_get_string(ioc, str_val, sizeof(str_val)) > in amf_parse_object() [all...] |
/third_party/mksh/ |
H A D | var.c | 201 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(v in setspec() [all...] |
H A D | eval.c | 373 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(globa in varsub() [all...] |
H A D | main.c | 436 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()
|
H A D | exec.c | 880 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()
|
H A D | expr.c | 166 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()
|
H A D | misc.c | 364 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()
|
H A D | lex.c | 1490 ps1 = str_val(global("PS1")); in set_prompt() 1524 prompt = str_val(global("PS2")); in set_prompt()
|
H A D | histrap.c | 780 if (((hname = str_val(global("HISTFILE"))) == NULL) || !*hname) { in hist_persist_init()
|
/third_party/jerryscript/jerry-main/ |
H A D | main-unix.c | 833 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/ltp/metadata/ |
H A D | metaparse.c | 736 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/protobuf/php/ext/google/protobuf/ |
H A D | php-upb.c | 330 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 in decode_toarray() [all...] |
H A D | convert.c | 407 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/node/test/js-native-api/test_object/ |
H A D | test_object.c | 412 const char* str_val = "test string"; in New() local 413 size_t str_len = strlen(str_val); in New() 414 NODE_API_CALL(env, napi_create_string_utf8(env, str_val, str_len, &str)); in New()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | upb.c | 315 upb_strview str_val; member 483 decode_tosubmsg(d, submsg, layout, field, val.str_val); in decode_toarray() 492 int count = val.str_val.size >> lg2; in decode_toarray() 493 if ((val.str_val.size & mask) != 0) { in decode_toarray() 499 memcpy(mem, val.str_val.data, count << op); in decode_toarray() 508 const char *ptr = val.str_val.data; in decode_toarray() 509 const char *end = ptr + val.str_val.size; in decode_toarray() 560 decode_tosubmsg(d, &ent.k, layout, field, val.str_val); in decode_tomap() 595 decode_tosubmsg(d, submsg, layout, field, val.str_val); in decode_tomsg() 663 val.str_val in decode_msg() [all...] |