Home
last modified time | relevance | path

Searched refs:prop_value (Results 1 – 22 of 22) sorted by relevance

/third_party/node/test/js-native-api/
Dcommon.c14 napi_value prop_value; in add_returned_status() local
27 &prop_value)); in add_returned_status()
32 prop_value)); in add_returned_status()
36 napi_value prop_value; in add_last_status() local
46 &prop_value)); in add_last_status()
50 prop_value)); in add_last_status()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-canonical.c92 jerry_value_t prop_value = jerry_create_number (TEST_VALUE); in main() local
93 jerry_release_value (jerry_set_property (result1, prop_name, prop_value)); in main()
94 jerry_release_value (prop_value); in main()
96 prop_value = jerry_get_property (result2, prop_name); in main()
97 TEST_ASSERT (jerry_get_number_value (prop_value) == TEST_VALUE); in main()
98 jerry_release_value (prop_value); in main()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-error-prototype.c57 ecma_value_t prop_value = ecma_op_object_get_by_magic_id (obj_p, property_id); in ecma_builtin_error_prototype_object_to_string_helper() local
59 if (ECMA_IS_VALUE_ERROR (prop_value)) in ecma_builtin_error_prototype_object_to_string_helper()
64 if (ecma_is_value_undefined (prop_value)) in ecma_builtin_error_prototype_object_to_string_helper()
69 ecma_string_t *ret_str_p = ecma_op_to_string (prop_value); in ecma_builtin_error_prototype_object_to_string_helper()
70 ecma_free_value (prop_value); in ecma_builtin_error_prototype_object_to_string_helper()
Decma-builtin-object.c1021 ecma_value_t prop_value = ecma_op_object_get (from_obj_p, property_name_p); in ecma_builtin_object_object_assign() local
1024 if (ECMA_IS_VALUE_ERROR (prop_value)) in ecma_builtin_object_object_assign()
1026 ret_value = prop_value; in ecma_builtin_object_object_assign()
1031 ecma_value_t status = ecma_op_object_put (target_p, property_name_p, prop_value, true); in ecma_builtin_object_object_assign()
1040 ecma_free_value (prop_value); in ecma_builtin_object_object_assign()
/third_party/jerryscript/tests/unit-core/
Dtest-has-property.c37 jerry_value_t prop_value = jerry_create_boolean (true); in main() local
50 assert_boolean_and_release (jerry_set_property (proto_object, prop_name, prop_value), true); in main()
57 assert_boolean_and_release (jerry_set_property (object, prop_name, prop_value), true); in main()
65 jerry_release_value (prop_value); in main()
Dtest-typedarray.c121 jerry_value_t prop_value = jerry_get_property (global_obj_val, prop_name); in test_typedarray_queries() local
122 TEST_ASSERT (!jerry_value_is_error (prop_value)); in test_typedarray_queries()
125 jerry_value_t typedarray = jerry_construct_object (prop_value, &length_arg, 1); in test_typedarray_queries()
128 jerry_release_value (prop_value); in test_typedarray_queries()
/third_party/grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc73 const char* prop_value; in grpc_auth_json_key_create_from_json() local
84 prop_value = grpc_json_get_string_property(json, "type", &error); in grpc_auth_json_key_create_from_json()
86 if (prop_value == nullptr || in grpc_auth_json_key_create_from_json()
87 strcmp(prop_value, GRPC_AUTH_JSON_TYPE_SERVICE_ACCOUNT) != 0) { in grpc_auth_json_key_create_from_json()
100 prop_value = grpc_json_get_string_property(json, "private_key", &error); in grpc_auth_json_key_create_from_json()
102 if (prop_value == nullptr) { in grpc_auth_json_key_create_from_json()
106 success = BIO_puts(bio, prop_value); in grpc_auth_json_key_create_from_json()
107 if ((success < 0) || (static_cast<size_t>(success) != strlen(prop_value))) { in grpc_auth_json_key_create_from_json()
/third_party/gstreamer/gstplugins_bad/tests/examples/opencv/
Dgstmotioncells_dynamic_test.c134 gchar *prop_name, *prop_value; in main() local
147 prop_value = strchr (input_buf, '='); in main()
148 if (prop_value == NULL) { in main()
152 *prop_value++ = '\0'; in main()
155 gst_util_set_object_arg (G_OBJECT (mcells), prop_name, prop_value); in main()
/third_party/grpc/src/core/lib/security/util/
Djson_util.cc66 const char* prop_value = in grpc_copy_json_string_property() local
69 if (prop_value == nullptr) return false; in grpc_copy_json_string_property()
70 *copied_value = gpr_strdup(prop_value); in grpc_copy_json_string_property()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-module.c323 ecma_value_t prop_value = ecma_op_object_find_own (ecma_make_object_value (object_p), in ecma_module_resolve_export() local
326 if (ecma_is_value_found (prop_value)) in ecma_module_resolve_export()
331 ecma_free_value (prop_value); in ecma_module_resolve_export()
507 ecma_value_t prop_value = ecma_op_get_value_lex_env_base (record.module_p->scope_p, in ecma_module_namespace_object_add_export_if_needed() local
518 prop_value); in ecma_module_namespace_object_add_export_if_needed()
520 ecma_free_value (prop_value); in ecma_module_namespace_object_add_export_if_needed()
765 ecma_value_t prop_value = ecma_op_object_find_own (ecma_make_object_value (object_p), in ecma_module_connect_imports() local
768 JERRY_ASSERT (ecma_is_value_found (prop_value)); in ecma_module_connect_imports()
773 prop_value, in ecma_module_connect_imports()
776 ecma_free_value (prop_value); in ecma_module_connect_imports()
[all …]
/third_party/jerryscript/docs/
D06.REFERENCE-COUNTING.md56 jerry_value_t prop_value = jerry_get_property (...);
58 /* The prop_value must be released later because both the base
59 * object and the prop_value have an independent reference to
61 * prop_value contains a live reference to an error object.
64 if (jerry_value_is_error (prop_value))
75 /* The prop_value must be released. */
76 jerry_release_value (prop_value);
D03.API-EXAMPLE.md515 jerry_value_t prop_value = jerry_create_string ((const jerry_char_t *) "Hello from C!");
518 jerry_value_t set_result = jerry_set_property (global_object, prop_name, prop_value);
527 jerry_release_value (prop_value);
D02.API-REFERENCE.md5331 jerry_value_t prop_value = jerry_get_property (global_object, prop_name);
5333 /* use "prop_value" then release it. */
5335 jerry_release_value (prop_value);
5448 jerry_value_t prop_value = jerry_get_internal_property (global_object, prop_name);
5450 /* use "prop_value" then release it. */
5452 jerry_release_value (prop_value);
6525 const jerry_value_t prop_value,
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c876 gi->dev_desc->idVendor[0] = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
877 gi->dev_desc->idVendor[1] = (uint8_t)(desc_info->prop.prop_value >> 8); in change_dev_descritor_info()
881 gi->dev_desc->idProduct[0] = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
882 gi->dev_desc->idProduct[1] = (uint8_t)(desc_info->prop.prop_value >> 8); in change_dev_descritor_info()
886 gi->dev_desc->bDeviceClass = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
890 gi->dev_desc->bDeviceSubClass = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
894 gi->dev_desc->bDeviceProtocol = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
898 gi->dev_desc->bMaxPacketSize = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
902 gi->dev_desc->bNumConfigurations = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
906 gi->dev_desc->bcdUSB[0] = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-proxy-object.c701 ecma_value_t prop_value = ecma_make_prop_name_value (prop_name_p); in ecma_proxy_object_get_own_property_descriptor() local
702 ecma_value_t args[] = { target, prop_value }; in ecma_proxy_object_get_own_property_descriptor()
881 ecma_value_t prop_value = ecma_make_prop_name_value (prop_name_p); in ecma_proxy_object_define_own_property() local
883 ecma_value_t args[] = {target, prop_value, desc_obj_value}; in ecma_proxy_object_define_own_property()
1024 ecma_value_t prop_value = ecma_make_prop_name_value (prop_name_p); in ecma_proxy_object_has() local
1025 ecma_value_t args[] = {target, prop_value}; in ecma_proxy_object_has()
1128 ecma_value_t prop_value = ecma_make_prop_name_value (prop_name_p); in ecma_proxy_object_get() local
1129 ecma_value_t args[] = { target, prop_value, receiver }; in ecma_proxy_object_get()
1639 ecma_value_t prop_value = ecma_make_prop_name_value (prop_name_p); in ecma_proxy_object_own_property_keys() local
1644 ecma_collection_push_back (target_non_configurable_keys, prop_value); in ecma_proxy_object_own_property_keys()
[all …]
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dusbd_config.h162 uint16_t prop_value; member
168 const char *prop_value; member
/third_party/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc62 const char* prop_value; in grpc_auth_refresh_token_create_from_json() local
73 prop_value = grpc_json_get_string_property(json, "type", &error); in grpc_auth_refresh_token_create_from_json()
75 if (prop_value == nullptr || in grpc_auth_refresh_token_create_from_json()
76 strcmp(prop_value, GRPC_AUTH_JSON_TYPE_AUTHORIZED_USER) != 0) { in grpc_auth_refresh_token_create_from_json()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvtenc.c1313 CFTypeRef prop_value; in gst_vtenc_session_dump_property() local
1325 status = VTSessionCopyProperty (dpc->session, prop_name, NULL, &prop_value); in gst_vtenc_session_dump_property()
1329 value_str = gst_vtutil_object_to_string (prop_value); in gst_vtenc_session_dump_property()
1333 if (prop_value != NULL) in gst_vtenc_session_dump_property()
1334 CFRelease (prop_value); in gst_vtenc_session_dump_property()
/third_party/glib/glib/pcre/
Dpcre_exec.c546 #define prop_value frame->Xprop_value in match() macro
603 int prop_value; in match()
658 prop_value = 0; in match()
4049 prop_value = *ecode++; in match()
4107 if ((UCD_CATEGORY(c) == prop_value) == prop_fail_result) in match()
4121 if ((UCD_CHARTYPE(c) == prop_value) == prop_fail_result) in match()
4135 if ((UCD_SCRIPT(c) == prop_value) == prop_fail_result) in match()
4887 if ((UCD_CATEGORY(c) == prop_value) == prop_fail_result) in match()
4904 if ((UCD_CHARTYPE(c) == prop_value) == prop_fail_result) in match()
4921 if ((UCD_SCRIPT(c) == prop_value) == prop_fail_result) in match()
[all …]
Dpcre_compile.c4893 int prop_type, prop_value; in compile_branch() local
4909 prop_value = previous[2]; in compile_branch()
4911 else prop_type = prop_value = -1; in compile_branch()
4996 *code++ = prop_value; in compile_branch()
5020 *code++ = prop_value; in compile_branch()
5055 *code++ = prop_value; in compile_branch()
/third_party/glib/gobject/
Dgobject.c2747 GValue *prop_value, tmp_value = G_VALUE_INIT; in g_object_get_property() local
2753 prop_value = value; in g_object_get_property()
2759 prop_value = value; in g_object_get_property()
2773 prop_value = &tmp_value; in g_object_get_property()
2775 object_get_property (object, pspec, prop_value); in g_object_get_property()
2776 if (prop_value != value) in g_object_get_property()
2778 g_value_transform (prop_value, value); in g_object_get_property()
/third_party/pcre2/pcre2/src/
Dpcre2_compile.c7414 int prop_type, prop_value; in compile_branch() local
7425 prop_value = previous[2]; in compile_branch()
7431 prop_type = prop_value = -1; in compile_branch()
7510 *code++ = prop_value; in compile_branch()
7547 *code++ = prop_value; in compile_branch()