/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/ |
H A D | DiagBigDecimalTest.java | 13 package ohos.global.icu.dev.test.bigdec; 21 import ohos.global.icu.dev.test.TestFmwk; 22 import ohos.global.icu.dev.test.TestUtil; 23 import ohos.global.icu.dev.test.TestUtil.JavaVendor; 24 import ohos.global.icu.math.BigDecimal; 78 /* 2000.03.27 1.00 move to ohos.global.icu.math package; open source release; */ 86 * <code>ohos.global.icu.math.BigDecimal</code> and 87 * <code>ohos.global.icu.math.MathContext</code> classes (or, by changing the 98 * @see ohos.global.icu.math.BigDecimal 99 * @see ohos.global [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wifi_display.c | 22 int wifi_display_init(struct wpa_global *global) in wifi_display_init() argument 24 global->wifi_display = 1; in wifi_display_init() 29 void wifi_display_deinit(struct wpa_global *global) in wifi_display_deinit() argument 33 wpabuf_free(global->wfd_subelem[i]); in wifi_display_deinit() 34 global->wfd_subelem[i] = NULL; in wifi_display_deinit() 39 struct wpabuf * wifi_display_get_wfd_ie(struct wpa_global *global) in wifi_display_get_wfd_ie() argument 45 if (global->p2p == NULL) in wifi_display_get_wfd_ie() 50 if (global->wfd_subelem[i]) in wifi_display_get_wfd_ie() 51 len += wpabuf_len(global->wfd_subelem[i]); in wifi_display_get_wfd_ie() 59 if (global in wifi_display_get_wfd_ie() 67 wifi_display_update_wfd_ie(struct wpa_global *global) wifi_display_update_wfd_ie() argument 229 wifi_display_enable(struct wpa_global *global, int enabled) wifi_display_enable() argument 238 wifi_display_subelem_set(struct wpa_global *global, char *cmd) wifi_display_subelem_set() argument 298 wifi_display_subelem_set_from_ies(struct wpa_global *global, struct wpabuf *ie) wifi_display_subelem_set_from_ies() argument 352 wifi_display_subelem_get(struct wpa_global *global, char *cmd, char *buf, size_t buflen) wifi_display_subelem_get() argument [all...] |
H A D | p2p_supplicant.c | 216 if (p2p_supported_freq(wpa_s->global->p2p, freqs[i].freq)) in wpas_p2p_valid_oper_freqs() 231 if (wpa_s->global->p2p_disabled || wpa_s->global->p2p == NULL) in wpas_p2p_set_own_freq_preference() 235 wpa_s = wpa_s->global->p2p_init_wpa_s; in wpas_p2p_set_own_freq_preference() 244 p2p_set_own_freq_preference(wpa_s->global->p2p, freq); in wpas_p2p_set_own_freq_preference() 259 if (wpa_s->global->p2p_disabled || wpa_s->global->p2p == NULL) in wpas_p2p_scan_res_handler() 287 if (p2p_scan_res_handler(wpa_s->global->p2p, bss->bssid, in wpas_p2p_scan_res_handler() 293 p2p_scan_res_handled(wpa_s->global->p2p); in wpas_p2p_scan_res_handler() 325 p2p_notify_scan_trigger_status(wpa_s->global in wpas_p2p_trigger_scan_cb() 951 struct wpa_global *global; wpas_p2p_group_delete() local 3335 wpas_p2p_disallowed_freq(struct wpa_global *global, unsigned int freq) wpas_p2p_disallowed_freq() argument 3413 has_channel(struct wpa_global *global, struct hostapd_hw_modes *mode, u8 chan, int *flags) has_channel() argument 4441 wpas_p2p_init(struct wpa_global *global, struct wpa_supplicant *wpa_s) wpas_p2p_init() argument 4685 wpas_p2p_deinit_global(struct wpa_global *global) wpas_p2p_deinit_global() argument 5745 struct wpa_global *global = wpa_s->global; wpas_p2p_group_remove() local 7157 struct wpa_global *global = wpa_s->global; wpas_p2p_invite_group() local 7831 struct wpa_global *global = wpa_s->global; wpas_p2p_cancel() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wifi_display.c | 22 int wifi_display_init(struct wpa_global *global) in wifi_display_init() argument 24 global->wifi_display = 1; in wifi_display_init() 29 void wifi_display_deinit(struct wpa_global *global) in wifi_display_deinit() argument 33 wpabuf_free(global->wfd_subelem[i]); in wifi_display_deinit() 34 global->wfd_subelem[i] = NULL; in wifi_display_deinit() 39 struct wpabuf * wifi_display_get_wfd_ie(struct wpa_global *global) in wifi_display_get_wfd_ie() argument 45 if (global->p2p == NULL) in wifi_display_get_wfd_ie() 50 if (global->wfd_subelem[i]) in wifi_display_get_wfd_ie() 51 len += wpabuf_len(global->wfd_subelem[i]); in wifi_display_get_wfd_ie() 59 if (global in wifi_display_get_wfd_ie() 67 wifi_display_update_wfd_ie(struct wpa_global *global) wifi_display_update_wfd_ie() argument 229 wifi_display_enable(struct wpa_global *global, int enabled) wifi_display_enable() argument 238 wifi_display_subelem_set(struct wpa_global *global, char *cmd) wifi_display_subelem_set() argument 298 wifi_display_subelem_set_from_ies(struct wpa_global *global, struct wpabuf *ie) wifi_display_subelem_set_from_ies() argument 352 wifi_display_subelem_get(struct wpa_global *global, char *cmd, char *buf, size_t buflen) wifi_display_subelem_get() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | DebugUtilitiesData.java | 11 package ohos.global.icu.dev.test.util; 126 ohos.global.icu.util.Calendar.ERA, /* 0 */ 127 ohos.global.icu.util.Calendar.YEAR, /* 1 */ 128 ohos.global.icu.util.Calendar.MONTH, /* 2 */ 129 ohos.global.icu.util.Calendar.WEEK_OF_YEAR, /* 3 */ 130 ohos.global.icu.util.Calendar.WEEK_OF_MONTH, /* 4 */ 131 ohos.global.icu.util.Calendar.DATE, /* 5 */ 132 ohos.global.icu.util.Calendar.DAY_OF_YEAR, /* 6 */ 133 ohos.global.icu.util.Calendar.DAY_OF_WEEK, /* 7 */ 134 ohos.global [all...] |
/third_party/node/test/parallel/ |
H A D | test-vm-new-script-this-context.js | 38 global.hello = 5; 41 assert.strictEqual(global.hello, 2); 45 global.code = 'foo = 1;' + 48 global.foo = 2; 49 global.obj = { foo: 0, baz: 3 }; 50 script = new Script(global.code); 52 assert.strictEqual(global.obj.foo, 0); 53 assert.strictEqual(global.bar, 2); 54 assert.strictEqual(global.foo, 1); 57 global [all...] |
H A D | test-vm-run-in-new-context.js | 29 if (typeof global.gc !== 'function') 41 global.hello = 5; 43 assert.strictEqual(global.hello, 5); 47 global.code = 'foo = 1;' + 50 global.foo = 2; 51 global.obj = { foo: 0, baz: 3 }; 53 const baz = vm.runInNewContext(global.code, global.obj); 55 assert.strictEqual(global.obj.foo, 1); 56 assert.strictEqual(global [all...] |
H A D | test-vm-new-script-new-context.js | 52 global.hello = 5; 55 assert.strictEqual(global.hello, 5); 58 delete global.hello; 62 global.code = 'foo = 1;' + 65 global.foo = 2; 66 global.obj = { foo: 0, baz: 3 }; 67 const script = new Script(global.code); 69 const baz = script.runInNewContext(global.obj); 71 assert.strictEqual(global.obj.foo, 1); 72 assert.strictEqual(global [all...] |
H A D | test-vm-static-this.js | 36 global.hello = 5; 38 assert.strictEqual(global.hello, 2); 46 global.foo = 2; 47 global.obj = { foo: 0, baz: 3 }; 51 assert.strictEqual(global.obj.foo, 0); 52 assert.strictEqual(global.bar, 2); 53 assert.strictEqual(global.foo, 1); 56 global.f = function() { global.foo = 100; }; 58 assert.strictEqual(global [all...] |
H A D | test-vm-global-get-own.js | 6 // These assertions check that we can set new keys to the global context, 12 const global = vm.runInContext('this', vm.createContext()); 38 runAssertions(global, 'toto', true, 1, 2, 3); 39 runAssertions(global, Symbol.for('toto'), true, 1, 2, 3); 40 runAssertions(global, 'tutu', true, fun1, fun2, fun3); 41 runAssertions(global, Symbol.for('tutu'), true, fun1, fun2, fun3); 42 runAssertions(global, 'tyty', true, fun1, 2, 3); 43 runAssertions(global, Symbol.for('tyty'), true, fun1, 2, 3); 46 runAssertions(global, 'titi', false, 1, 2, 3); 47 runAssertions(global, Symbo [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | globalIsContextualKeyword.js | 3 let global = 1; 6 class global {} 9 namespace global { 12 function foo(global: number) { 16 global: "123" 21 var global = 1;
24 var global = /** @class */ (function () {
25 function global() {
27 return global;
30 function foo(global) {
[all...] |
/third_party/lame/frontend/ |
H A D | get_audio.c | 359 /* global data for get_audio.c. */ 379 static get_audio_global_data global; variable 576 will not change unless we enable gapless mode. Also, global.hip is not in setSkipStartAndEnd() 580 mpg123_getstate(global.hip->mh, MPG123_DEC_DELAY, &dec_delay, NULL); in setSkipStartAndEnd() 627 global. pcm16.skip_start = global.pcm32.skip_start = skip_start; in setSkipStartAndEnd() 628 global. pcm16.skip_end = global.pcm32.skip_end = skip_end; in setSkipStartAndEnd() 638 global. count_samples_carefully = 0; in init_infile() 639 global in init_infile() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/ |
H A D | BigDecimal.java | 6 package ohos.global.icu.math; 10 import ohos.global.icu.lang.UCharacter; 79 /* 1998.10.12 change package to ohos.global.icu.math */ 235 public static final ohos.global.icu.math.BigDecimal ZERO = new ohos.global.icu.math.BigDecimal((long) 0); // use long as we 246 public static final ohos.global.icu.math.BigDecimal ONE = new ohos.global.icu.math.BigDecimal((long) 1); // use long as we 257 public static final ohos.global.icu.math.BigDecimal TEN = new ohos.global.icu.math.BigDecimal(10); 265 public static final int ROUND_CEILING = ohos.global [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | ex_data.c | 16 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); in ossl_do_ex_data_init() local 18 if (global == NULL) in ossl_do_ex_data_init() 21 global->ex_data_lock = CRYPTO_THREAD_lock_new(); in ossl_do_ex_data_init() 22 return global->ex_data_lock != NULL; in ossl_do_ex_data_init() 28 * The |global| parameter is assumed to be non null (checked by the caller). 30 static EX_CALLBACKS *get_and_lock(OSSL_EX_DATA_GLOBAL *global, int class_index) in get_and_lock() argument 39 if (global->ex_data_lock == NULL) { in get_and_lock() 47 if (!CRYPTO_THREAD_write_lock(global->ex_data_lock)) in get_and_lock() 49 ip = &global->ex_data[class_index]; in get_and_lock() 67 OSSL_EX_DATA_GLOBAL *global in ossl_crypto_cleanup_all_ex_data_int() local 110 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); ossl_crypto_free_ex_index_ex() local 151 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); ossl_crypto_get_ex_new_index_ex() local 221 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); ossl_crypto_new_ex_data_ex() local 278 OSSL_EX_DATA_GLOBAL *global; CRYPTO_dup_ex_data() local 373 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ad->ctx); CRYPTO_free_ex_data() local 439 OSSL_EX_DATA_GLOBAL *global; ossl_crypto_alloc_ex_data_intern() local [all...] |
/third_party/openssl/crypto/ |
H A D | ex_data.c | 16 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); in ossl_do_ex_data_init() local 18 if (global == NULL) in ossl_do_ex_data_init() 21 global->ex_data_lock = CRYPTO_THREAD_lock_new(); in ossl_do_ex_data_init() 22 return global->ex_data_lock != NULL; in ossl_do_ex_data_init() 28 * The |global| parameter is assumed to be non null (checked by the caller). 30 static EX_CALLBACKS *get_and_lock(OSSL_EX_DATA_GLOBAL *global, int class_index) in get_and_lock() argument 39 if (global->ex_data_lock == NULL) { in get_and_lock() 47 if (!CRYPTO_THREAD_write_lock(global->ex_data_lock)) in get_and_lock() 49 ip = &global->ex_data[class_index]; in get_and_lock() 67 OSSL_EX_DATA_GLOBAL *global in ossl_crypto_cleanup_all_ex_data_int() local 110 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); ossl_crypto_free_ex_index_ex() local 151 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); ossl_crypto_get_ex_new_index_ex() local 219 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ctx); ossl_crypto_new_ex_data_ex() local 276 OSSL_EX_DATA_GLOBAL *global; CRYPTO_dup_ex_data() local 371 OSSL_EX_DATA_GLOBAL *global = ossl_lib_ctx_get_ex_data_global(ad->ctx); CRYPTO_free_ex_data() local 437 OSSL_EX_DATA_GLOBAL *global; ossl_crypto_alloc_ex_data_intern() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | tls_gnutls.c | 45 struct tls_global *global; member 99 struct tls_global *global; in tls_init() local 107 global = os_zalloc(sizeof(*global)); in tls_init() 108 if (global == NULL) in tls_init() 112 os_free(global); in tls_init() 122 global->event_cb = conf->event_cb; in tls_init() 123 global->cb_ctx = conf->cb_ctx; in tls_init() 124 global->cert_in_cb = conf->cert_in_cb; in tls_init() 127 return global; in tls_init() 133 struct tls_global *global = ssl_ctx; tls_deinit() local 198 tls_gnutls_init_session(struct tls_global *global, struct tls_connection *conn) tls_gnutls_init_session() argument 241 struct tls_global *global = ssl_ctx; tls_connection_init() local 308 struct tls_global *global = ssl_ctx; tls_connection_shutdown() local 702 struct tls_global *global = ptr; server_ocsp_status_req() local 739 struct tls_global *global = tls_ctx; tls_global_set_params() local 934 struct tls_global *global = conn->global; gnutls_tls_fail_event() local 1452 struct tls_global *global = tls_ctx; tls_connection_handshake() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | tls_gnutls.c | 45 struct tls_global *global; member 99 struct tls_global *global; in tls_init() local 107 global = os_zalloc(sizeof(*global)); in tls_init() 108 if (global == NULL) in tls_init() 112 os_free(global); in tls_init() 122 global->event_cb = conf->event_cb; in tls_init() 123 global->cb_ctx = conf->cb_ctx; in tls_init() 124 global->cert_in_cb = conf->cert_in_cb; in tls_init() 127 return global; in tls_init() 133 struct tls_global *global = ssl_ctx; tls_deinit() local 198 tls_gnutls_init_session(struct tls_global *global, struct tls_connection *conn) tls_gnutls_init_session() argument 241 struct tls_global *global = ssl_ctx; tls_connection_init() local 308 struct tls_global *global = ssl_ctx; tls_connection_shutdown() local 702 struct tls_global *global = ptr; server_ocsp_status_req() local 739 struct tls_global *global = tls_ctx; tls_global_set_params() local 934 struct tls_global *global = conn->global; gnutls_tls_fail_event() local 1452 struct tls_global *global = tls_ctx; tls_connection_handshake() local [all...] |
/third_party/ltp/testcases/kernel/kvm/ |
H A D | bootstrap_x86_64.S | 296 .global kvm_read_cregs 308 .global kvm_read_sregs 370 .global kvm_handle_zerodiv 374 .global kvm_handle_debug 378 .global kvm_handle_nmi 382 .global kvm_handle_breakpoint 386 .global kvm_handle_overflow 390 .global kvm_handle_bound_range_exc 394 .global kvm_handle_bad_opcode 398 .global kvm_handle_device_erro [all...] |
H A D | bootstrap_x86.S | 45 .global kvm_gdt 53 .global kvm_gdt_desc 187 .global kvm_read_cregs 202 .global kvm_read_sregs 248 .global kvm_handle_zerodiv 252 .global kvm_handle_debug 256 .global kvm_handle_nmi 260 .global kvm_handle_breakpoint 264 .global kvm_handle_overflow 268 .global kvm_handle_bound_range_ex [all...] |
/third_party/backends/backend/ |
H A D | hp.c | 55 Rename global function hp_init_openfd to sanei_hp_init_openfd 118 - change handling of options that have global effects. 119 i.e. if option scanmode is received (has global effect), 203 - Rename global symbols to sanei_... 307 } global; variable 310 /* Get the info structure for a device. If not available in global list */ 316 HpDeviceInfoList *infolist = &(global.infolist); in hp_device_info_create() 321 if (!global.is_up) return 0; in hp_device_info_create() 378 if (!global.is_up) return 0; in hp_global_config_get() 379 return &(global in hp_global_config_get() [all...] |
/third_party/curl/src/ |
H A D | var.c | 58 void varcleanup(struct GlobalConfig *global) in varcleanup() argument 60 struct var *list = global->variables; in varcleanup() 70 static const struct var *varcontent(struct GlobalConfig *global, in varcontent() argument 73 struct var *list = global->variables; in varcontent() 97 static ParameterError varfunc(struct GlobalConfig *global, in varfunc() argument 186 errorf(global, "unknown variable function in '%.*s'", in varfunc() 209 ParameterError varexpand(struct GlobalConfig *global, in varexpand() argument 245 warnf(global, "missing close '}}' in '%s'", input); in varexpand() 259 warnf(global, "bad variable name length '%s'", input); in varexpand() 279 warnf(global, "ba in varexpand() 349 addvariable(struct GlobalConfig *global, const char *name, size_t nlen, const char *content, size_t clen, bool contalloc) addvariable() argument 384 setvariable(struct GlobalConfig *global, const char *input) setvariable() argument [all...] |
H A D | tool_operate.c | 107 static CURLcode single_transfer(struct GlobalConfig *global, 112 static CURLcode create_transfer(struct GlobalConfig *global, 264 static CURLcode pre_transfer(struct GlobalConfig *global, in pre_transfer() argument 336 (void)global; in pre_transfer() 371 static CURLcode post_per_transfer(struct GlobalConfig *global, in post_per_transfer() argument 394 if(global->silent && !global->showerror) in post_per_transfer() 400 (!global->silent || global->showerror)) { in post_per_transfer() 412 if(!global in post_per_transfer() 736 single_transfer(struct GlobalConfig *global, struct OperationConfig *config, CURLSH *share, bool capath_from_env, bool *added) single_transfer() argument 2246 add_parallel_transfers(struct GlobalConfig *global, CURLM *multi, CURLSH *share, bool *morep, bool *addedp) add_parallel_transfers() argument 2317 parallel_transfers(struct GlobalConfig *global, CURLSH *share) parallel_transfers() argument 2451 serial_transfers(struct GlobalConfig *global, CURLSH *share) serial_transfers() argument 2534 transfer_per_config(struct GlobalConfig *global, struct OperationConfig *config, CURLSH *share, bool *added) transfer_per_config() argument 2645 create_transfer(struct GlobalConfig *global, CURLSH *share, bool *added) create_transfer() argument 2663 run_all_transfers(struct GlobalConfig *global, CURLSH *share, CURLcode result) run_all_transfers() argument 2703 operate(struct GlobalConfig *global, int argc, argv_item_t argv[]) operate() argument [all...] |
H A D | tool_getparam.c | 775 static ParameterError GetSizeParameter(struct GlobalConfig *global, in GetSizeParameter() argument 784 warnf(global, "invalid number specified for %s", which); in GetSizeParameter() 817 warnf(global, "unsupported %s unit. Use G, M, K or B", which); in GetSizeParameter() 840 static ParameterError data_urlencode(struct GlobalConfig *global, in data_urlencode() argument 879 errorf(global, "Failed to open %s", p); in data_urlencode() 935 static void sethttpver(struct GlobalConfig *global, in sethttpver() argument 941 warnf(global, "Overrides previous HTTP version option"); in sethttpver() 946 static CURLcode set_trace_config(struct GlobalConfig *global, in set_trace_config() argument 977 global->traceids = toggle; in set_trace_config() 978 global in set_trace_config() 1028 url_query(char *nextarg, struct GlobalConfig *global, struct OperationConfig *config) url_query() argument 1064 set_data(cmdline_t cmd, char *nextarg, struct GlobalConfig *global, struct OperationConfig *config) set_data() argument 1146 set_rate(struct GlobalConfig *global, char *nextarg) set_rate() argument 1207 getparameter(const char *flag, char *nextarg, argv_item_t cleararg, bool *usedarg, struct GlobalConfig *global, struct OperationConfig *config) getparameter() argument 2756 parse_args(struct GlobalConfig *global, int argc, argv_item_t argv[]) parse_args() argument [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | regexp-construct.js | 19 assert (r.global == false); 25 assert (r.global == false); 31 assert (r.global == true); 37 assert (r.global == false); 43 assert (r.global == true); 51 assert (r2.global == true); 57 assert (r2.global == true); 63 assert (r.global == false); 69 assert (r.global == false); 75 assert (r.global [all...] |
/third_party/node/test/common/ |
H A D | index.js | 24 const process = global.process; // Some tests tamper with the process global. 282 global, 292 // all supported versions have AbortController as a global, this 295 if (global.AbortController) 296 knownGlobals.push(global.AbortController); 298 if (global.gc) { 299 knownGlobals.push(global.gc); 302 if (global.Performance) { 303 knownGlobals.push(global [all...] |