/third_party/node/test/parallel/ |
H A D | test-domain-emit-error-handler-stack.js | 5 const domain = require('domain'); 8 // Make sure that the domains stack and the active domain is setup properly when 9 // a domain's error handler is called due to an error event being emitted. 11 // - the active domain in the domain's error handler is//not* that domain,//but* 12 // the active domain is a any direct parent domain at the time the error was 14 // - the domains stack in the domain' [all...] |
H A D | test-domain-enter-exit.js | 23 // Make sure the domain stack is a stack 27 const domain = require('domain'); 35 const a = domain.create(); 37 const b = domain.create(); 39 const c = domain.create(); 43 assert.deepStrictEqual(domain._stack, [a], 44 `a not pushed: ${names(domain._stack)}`); 47 assert.deepStrictEqual(domain._stack, [a, b], 48 `b not pushed: ${names(domain [all...] |
H A D | test-domain-uncaught-exception.js | 6 // checks that the proper domain error handlers are called when they should 11 const domain = require('domain'); 17 // Throwing from an async callback from within a domain that doesn't have 20 const d = domain.create(); 34 // Throwing from from within a domain that doesn't have an error handler must 36 const d2 = domain.create(); 49 // error handler, but d3 does. The error is handled by the d3 domain and thus 51 const d3 = domain.create(); 52 const d4 = domain [all...] |
/third_party/node/test/node-api/test_make_callback_recurse/ |
H A D | test.js | 5 const domain = require('domain'); 16 throw new Error('hi from domain error'); 18 }, /^Error: hi from domain error$/); 99 const d1 = domain.create(); 100 const d2 = domain.create(); 101 const d3 = domain.create(); 103 makeCallback({ domain: d1 }, common.mustCall(function() { 104 assert.strictEqual(d1, process.domain); 105 makeCallback({ domain [all...] |
/third_party/node/test/addons/make-callback-recurse/ |
H A D | test.js | 5 const domain = require('domain'); 15 throw new Error('hi from domain error'); 17 }, /^Error: hi from domain error$/); 98 const d1 = domain.create(); 99 const d2 = domain.create(); 100 const d3 = domain.create(); 102 makeCallback({ domain: d1 }, common.mustCall(() => { 103 assert.strictEqual(d1, process.domain); 104 makeCallback({ domain [all...] |
/third_party/lwip/test/unit/mdns/ |
H A D | test_mdns.c | 43 struct mdns_domain domain; in START_TEST() local 50 offset = mdns_readname(p, 0, &domain); in START_TEST() 53 fail_unless(domain.length == sizeof(data)); in START_TEST() 54 fail_if(memcmp(&domain.name, data, sizeof(data))); in START_TEST() 62 struct mdns_domain domain; in START_TEST() local 69 offset = mdns_readname(p, 0, &domain); in START_TEST() 72 fail_unless(domain.length == sizeof(data)); in START_TEST() 73 fail_if(memcmp(&domain.name, data, sizeof(data))); in START_TEST() 81 struct mdns_domain domain; in START_TEST() local 88 offset = mdns_readname(p, 0, &domain); in START_TEST() 106 struct mdns_domain domain; START_TEST() local 162 struct mdns_domain domain; START_TEST() local 187 struct mdns_domain domain; START_TEST() local 216 struct mdns_domain domain; START_TEST() local 250 struct mdns_domain domain; START_TEST() local 276 struct mdns_domain domain; START_TEST() local 298 struct mdns_domain domain; START_TEST() local 317 struct mdns_domain domain; START_TEST() local 337 struct mdns_domain domain; START_TEST() local 357 struct mdns_domain domain; START_TEST() local 373 struct mdns_domain domain; START_TEST() local 392 struct mdns_domain domain; START_TEST() local 407 struct mdns_domain domain; START_TEST() local 599 struct mdns_domain domain; START_TEST() local 634 struct mdns_domain domain; START_TEST() local 671 struct mdns_domain domain; START_TEST() local 706 struct mdns_domain domain; START_TEST() local 740 struct mdns_domain domain; START_TEST() local 775 struct mdns_domain domain; START_TEST() local 812 struct mdns_domain domain; START_TEST() local 852 struct mdns_domain domain; START_TEST() local [all...] |
/third_party/node/lib/ |
H A D | domain.js | 59 // Overwrite process.domain with a getter/setter that will allow for more 62 ObjectDefineProperty(process, 'domain', { 77 if (process.domain !== null && process.domain !== undefined) { 78 // If this operation is created while in a domain, let's mark it 79 pairing.set(asyncId, process.domain[kWeak]); 81 // have a domain property as it can be used to escape the sandbox. 83 ObjectDefineProperty(resource, 'domain', { 87 value: process.domain, 90 // Because promises from other contexts don't get a domain fiel [all...] |
/third_party/node/tools/inspector_protocol/ |
H A D | code_generator.py | 349 self.generate_domains = [rule.domain for rule in config.protocol.options] 350 self.exported_domains = [rule.domain for rule in config.protocol.options if hasattr(rule, "exported")] 355 self.imported_domains = [rule.domain for rule in config.imported.options] 369 for domain in parsed_json["domains"]: 370 domains.append(domain["domain"]) 371 domain["version"] = version 393 for domain in self.json_api["domains"]: 394 patch_full_qualified_refs_in_domain(domain, domain["domai [all...] |
H A D | pdl.py | 53 domain = None 77 match = re.compile(r'^(experimental )?(deprecated )?domain (.*)').match(line) 79 domain = createItem({'domain' : match.group(3)}, match.group(1), match.group(2)) 80 protocol['domains'].append(domain) 85 if 'dependencies' not in domain: 86 domain['dependencies'] = [] 87 domain['dependencies'].append(match.group(1)) 92 if 'types' not in domain: 93 domain['type [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/ |
H A D | code_generator.py | 365 self.generate_domains = [rule.domain for rule in config.protocol.options] 366 self.exported_domains = [rule.domain for rule in config.protocol.options 372 self.imported_domains = [rule.domain 386 for domain in parsed_json["domains"]: 387 domains.append(domain["domain"]) 388 domain["version"] = version 409 for domain in self.json_api["domains"]: 410 patch_full_qualified_refs_in_domain(domain, domain["domai [all...] |
H A D | pdl.py | 57 domain = None 82 r'^(experimental )?(deprecated )?domain (.*)').match(line) 84 domain = createItem({'domain' : match.group(3)}, match.group(1), 86 protocol['domains'].append(domain) 91 if 'dependencies' not in domain: 92 domain['dependencies'] = [] 93 domain['dependencies'].append(match.group(1)) 99 if 'types' not in domain: 100 domain['type [all...] |
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/ |
H A D | hosts.js | 10 sshtemplate: ({ domain, user, project, committish }) => 11 `git@${domain}:${user}/${project}.git${maybeJoin('#', committish)}`, 12 sshurltemplate: ({ domain, user, project, committish }) => 13 `git+ssh://git@${domain}/${user}/${project}.git${maybeJoin('#', committish)}`, 14 edittemplate: ({ domain, user, project, committish, editpath, path }) => 15 `https://${domain}/${user}/${project}${maybeJoin('/', editpath, '/', maybeEncode(committish || 'HEAD'), '/', path)}`, 16 browsetemplate: ({ domain, user, project, committish, treepath }) => 17 `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish))}`, 18 browsetreetemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => 19 `https://${domain}/ [all...] |
/third_party/node/deps/v8/third_party/ittapi/src/ittnotify/ |
H A D | ittnotify_static.h | 43 ITT_STUB(ITTAPI, __itt_counter, counter_createA, (const char *name, const char *domain), (ITT_FORMAT name, domain), counter_createA, __itt_group_counter, "\"%s\", \"%s\"") 44 ITT_STUB(ITTAPI, __itt_counter, counter_createW, (const wchar_t *name, const wchar_t *domain), (ITT_FORMAT name, domain), counter_createW, __itt_group_counter, "\"%s\", \"%s\"") 46 ITT_STUB(ITTAPI, __itt_counter, counter_create, (const char *name, const char *domain), (ITT_FORMAT name, domain), counter_create, __itt_group_counter, "\"%s\", \"%s\"") 50 ITT_STUB(ITTAPI, __itt_counter, counter_create_typedA, (const char *name, const char *domain, __itt_metadata_type type), (ITT_FORMAT name, domain, type), counter_create_typedA, __itt_group_counter, "\"%s\", \"%s\", %d") 51 ITT_STUB(ITTAPI, __itt_counter, counter_create_typedW, (const wchar_t *name, const wchar_t *domain, __itt_metadata_type type), (ITT_FORMAT name, domain, typ [all...] |
/third_party/curl/lib/ |
H A D | cookie.c | 39 char *lineptr, const char *domain, const char *path, 69 Set-cookie: PRODUCTINFO=webxpress; domain=.fidelity.com; path=/; secure 71 domain=.fidelity.com; path=/ftgw; secure 73 domain=.fidelity.com; path=/; secure 75 domain=.fidelity.com; path=/; secure 77 domain=.fidelity.com; path=/; secure 79 domain=.fidelity.com; path=/; secure 82 13-Jun-1988 03:04:55 GMT; domain=.fidelity.com; path=/; secure 115 free(co->domain); in freecookie() 228 * Return the top-level domain, fo 230 get_top_domain(const char * const domain, size_t *outlen) get_top_domain() argument 259 cookie_hash_domain(const char *domain, const size_t len) cookie_hash_domain() argument 279 cookiehash(const char * const domain) cookiehash() argument 430 bad_domain(const char *domain, size_t len) bad_domain() argument 481 Curl_cookie_add(struct Curl_easy *data, struct CookieInfo *c, bool httpheader, bool noexpire, const char *lineptr, const char *domain, const char *path, bool secure) Curl_cookie_add() argument [all...] |
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
H A D | DigitSequenceTest.java | 19 import static com.google.i18n.phonenumbers.metadata.DigitSequence.domain; 65 assertThat(domain().minValue()).isEqualTo(DigitSequence.empty()); in testMin() 66 assertThat(domain().next(DigitSequence.empty())).isNotNull(); in testMin() 67 assertThat(domain().previous(DigitSequence.empty())).isNull(); in testMin() 73 assertThat(domain().maxValue()).isEqualTo(max); in testMax() 74 assertThat(domain().previous(max)).isNotNull(); in testMax() 75 assertThat(domain().next(max)).isNull(); in testMax() 80 assertThat(domain().distance(DigitSequence.empty(), DigitSequence.of("0"))) in testDistance() 82 assertThat(domain().distance(DigitSequence.of("0"), DigitSequence.of("1"))) in testDistance() 84 assertThat(domain() in testDistance() [all...] |
/third_party/python/Modules/clinic/ |
H A D | _localemodule.c.h | 260 "dgettext($module, domain, msg, /)\n" 263 "dgettext(domain, msg) -> string\n" 265 "Return translation of msg in domain."); 271 _locale_dgettext_impl(PyObject *module, const char *domain, const char *in); 277 const char *domain; in _locale_dgettext() local 284 domain = NULL; in _locale_dgettext() 288 domain = PyUnicode_AsUTF8AndSize(args[0], &domain_length); in _locale_dgettext() 289 if (domain == NULL) { in _locale_dgettext() 292 if (strlen(domain) != (size_t)domain_length) { in _locale_dgettext() 314 return_value = _locale_dgettext_impl(module, domain, i in _locale_dgettext() 341 const char *domain; _locale_dcgettext() local 409 const char *domain; _locale_textdomain() local 456 const char *domain; _locale_bindtextdomain() local 503 const char *domain; _locale_bind_textdomain_codeset() local [all...] |
/third_party/node/deps/v8/third_party/ittapi/src/ittnotify_refcol/ |
H A D | itt_refcol_impl.c | 202 ITT_EXTERN_C void ITTAPI __itt_frame_begin_v3(const __itt_domain *domain, __itt_id *id) in __itt_frame_begin_v3() argument 204 if (domain != NULL) in __itt_frame_begin_v3() 206 LOG_FUNC_CALL_INFO("functions args: domain_name=%s", domain->nameA); in __itt_frame_begin_v3() 214 ITT_EXTERN_C void ITTAPI __itt_frame_end_v3(const __itt_domain *domain, __itt_id *id) in __itt_frame_end_v3() argument 216 if (domain != NULL) in __itt_frame_end_v3() 218 LOG_FUNC_CALL_INFO("functions args: domain_name=%s", domain->nameA); in __itt_frame_end_v3() 226 ITT_EXTERN_C void ITTAPI __itt_frame_submit_v3(const __itt_domain *domain, __itt_id *id, in __itt_frame_submit_v3() argument 229 if (domain != NULL) in __itt_frame_submit_v3() 232 domain->nameA, (uint64_t*)id, begin, end); in __itt_frame_submit_v3() 241 const __itt_domain *domain, __itt_i in __itt_task_begin() 240 __itt_task_begin( const __itt_domain *domain, __itt_id taskid, __itt_id parentid, __itt_string_handle *name) __itt_task_begin() argument 253 __itt_task_end(const __itt_domain *domain) __itt_task_end() argument 265 __itt_metadata_add(const __itt_domain *domain, __itt_id id, __itt_string_handle *key, __itt_metadata_type type, size_t count, void *data) __itt_metadata_add() argument [all...] |
/third_party/lwip/src/apps/mdns/ |
H A D | mdns.c | 96 /* Stored offsets to beginning of domain names 243 /** Offsets for written domain names in packet. 264 struct mdns_domain domain; member 291 mdns_domain_add_label_base(struct mdns_domain *domain, u8_t len) in mdns_domain_add_label_base() argument 296 if (len > 0 && (1 + len + domain->length >= MDNS_DOMAIN_MAXLEN)) { in mdns_domain_add_label_base() 300 if (len == 0 && (1 + domain->length > MDNS_DOMAIN_MAXLEN)) { in mdns_domain_add_label_base() 303 domain->name[domain->length] = len; in mdns_domain_add_label_base() 304 domain->length++; in mdns_domain_add_label_base() 309 * Add a label part to a domain 316 mdns_domain_add_label(struct mdns_domain *domain, const char *label, u8_t len) mdns_domain_add_label() argument 333 mdns_domain_add_label_pbuf(struct mdns_domain *domain, const struct pbuf *p, u16_t offset, u8_t len) mdns_domain_add_label_pbuf() argument 355 mdns_readname_loop(struct pbuf *p, u16_t offset, struct mdns_domain *domain, unsigned depth) mdns_readname_loop() argument 421 mdns_readname(struct pbuf *p, u16_t offset, struct mdns_domain *domain) mdns_readname() argument 432 mdns_domain_debug_print(struct mdns_domain *domain) mdns_domain_debug_print() argument 509 mdns_build_reverse_v4_domain(struct mdns_domain *domain, const ip4_addr_t *addr) mdns_build_reverse_v4_domain() argument 549 mdns_build_reverse_v6_domain(struct mdns_domain *domain, const ip6_addr_t *addr) mdns_build_reverse_v6_domain() argument 588 mdns_add_dotlocal(struct mdns_domain *domain) mdns_add_dotlocal() argument 603 mdns_build_host_domain(struct mdns_domain *domain, struct mdns_host *mdns) mdns_build_host_domain() argument 620 mdns_build_dnssd_domain(struct mdns_domain *domain) mdns_build_dnssd_domain() argument 644 mdns_build_service_domain(struct mdns_domain *domain, struct mdns_service *service, int include_name) mdns_build_service_domain() argument 788 mdns_compress_domain(struct pbuf *pbuf, u16_t *offset, struct mdns_domain *domain) mdns_compress_domain() argument 837 mdns_write_domain(struct mdns_outpacket *outpkt, struct mdns_domain *domain) mdns_write_domain() argument 900 mdns_add_question(struct mdns_outpacket *outpkt, struct mdns_domain *domain, u16_t type, u16_t klass, u16_t unicast) mdns_add_question() argument 968 mdns_add_answer(struct mdns_outpacket *reply, struct mdns_domain *domain, u16_t type, u16_t klass, u16_t cache_flush, u32_t ttl, const u8_t *buf, size_t buf_length, struct mdns_domain *answer_domain) mdns_add_answer() argument 1816 struct mdns_domain domain; mdns_handle_response() local 1952 struct mdns_domain domain; mdns_send_probe() local [all...] |
/third_party/python/Lib/http/ |
H A D | cookiejar.py | 481 known_attrs = ("expires", "domain", "path", "secure", 536 """Return True if text is a host domain name.""" 551 """Return True if domain A domain-matches domain B, according to RFC 2965. 553 A and B may be host domain names or IP addresses. 559 be case-insensitive.) Host A's name domain-matches host B's if 565 x.y.com domain-matches .Y.com but not Y.com.) 567 Note that domain-match is not a commutative operation: a.b.c.com 568 domain [all...] |
/third_party/node/deps/v8/tools/ |
H A D | callstats.py | 165 def run_site(site, domain, args, timeout=None): 167 print("RUNNING DOMAIN %s" % domain) 169 result_template = "{domain}#{count}.txt" if args.repeat else "{domain}.txt" 178 result = result_template.format(domain=domain, count=count) 274 domain = None 275 if args.domain: 276 domain = args.domain [all...] |
/third_party/mesa3d/src/freedreno/decode/ |
H A D | rnnutil.c | 76 init(struct rnn *rnn, char *file, char *domain) in init() argument 81 rnn->dom[0] = rnn_finddomain(rnn->db, domain); in init() 82 if ((strcmp(domain, "A2XX") == 0) || (strcmp(domain, "A3XX") == 0)) { in init() 88 fprintf(stderr, "Could not find domain %s in %s\n", domain, file); in init() 90 rnn->variant = domain; in init() 92 rnndec_varadd(rnn->vc, "chip", domain); in init() 94 rnndec_varadd(rnn->vc_nocolor, "chip", domain); in init() 100 rnn_load_file(struct rnn *rnn, char *file, char *domain) in rnn_load_file() argument 160 regelem(struct rnndomain *domain, const char *name) regelem() argument 182 regoff(struct rnndomain *domain, uint32_t offset) regoff() argument [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | ns_parse.c | 116 * @tc.desc : Get the domain name from the array and store the data in the array (success) 121 unsigned char domain[] = {2, 'p', 'q', 0xc0, 5, 0}; in ns_name_uncompress_0100() local 124 int ret = ns_name_uncompress(domain, domain + 6, domain, name, TEST_MSG_SIZE); in ns_name_uncompress_0100() 128 memcpy(domain, "\xc0\x02", 3); in ns_name_uncompress_0100() 131 ret = ns_name_uncompress(domain, domain + 3, domain, name, limitsize); in ns_name_uncompress_0100() 139 * @tc.desc : Get the domain nam 144 unsigned char domain[] = {2, 'p', 'q', 0xc0, 5, 0}; ns_name_uncompress_0200() local 159 unsigned char domain[] = "error value"; ns_name_uncompress_0300() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | ExecutionDomainFix.h | 18 /// This pass changes the variant instructions to minimize domain crossings. 41 /// execution domain. Multiple registers may refer to the same open 43 /// domain. 49 /// domain, but if we were forced to pay the penalty of a domain crossing, we 75 /// Is domain available? 76 bool hasDomain(unsigned domain) const { in hasDomain() 77 assert(domain < in hasDomain() 80 return AvailableDomains & (1u << domain); in hasDomain() 83 /// Mark domain a [all...] |
/third_party/python/Lib/ |
H A D | gettext.py | 467 def find(domain, localedir=None, languages=None, all=False): 494 mofile = os.path.join(localedir, lang, 'LC_MESSAGES', '%s.mo' % domain) 507 def translation(domain, localedir=None, languages=None, 511 mofiles = find(domain, localedir, languages, all=True) 517 'No translation file found for domain', domain) 541 def install(domain, localedir=None, *, names=None): 542 t = translation(domain, localedir, fallback=True) 548 # current global domain, `messages' used for compatibility w/ GNU gettext 552 def textdomain(domain [all...] |
/third_party/node/deps/v8/third_party/ittapi/include/ |
H A D | ittnotify.h | 1440 __itt_heap_function ITTAPI __itt_heap_function_createA(const char* name, const char* domain); 1441 __itt_heap_function ITTAPI __itt_heap_function_createW(const wchar_t* name, const wchar_t* domain); 1450 __itt_heap_function ITTAPI __itt_heap_function_create(const char* name, const char* domain); 1457 ITT_STUB(ITTAPI, __itt_heap_function, heap_function_createA, (const char* name, const char* domain)) 1458 ITT_STUB(ITTAPI, __itt_heap_function, heap_function_createW, (const wchar_t* name, const wchar_t* domain)) 1460 ITT_STUB(ITTAPI, __itt_heap_function, heap_function_create, (const char* name, const char* domain)) 1473 #define __itt_heap_function_createA(name, domain) (__itt_heap_function)0 1475 #define __itt_heap_function_createW(name, domain) (__itt_heap_function)0 1478 #define __itt_heap_function_create(name, domain) (__itt_heap_function)0 1769 * @brief Create a domain [all...] |