/third_party/node/test/parallel/ |
H A D | test-url-parse-format.js | 24 host: 'evil-phisher', 35 host: 'evil-phisher', 48 host: 'evil-phisher', 60 host: 'evil-phisher', 71 host: 'www.example.com', 81 host: 'www.example.com', 91 host: 'www.example.com', 102 host: 'www.example.com', 113 host: 'www.example.com', 124 host [all...] |
H A D | test-https-agent-create-connection.js | 49 const host = 'localhost'; 52 host: host, 54 _agentKey: agent.getName({ port, host }) 67 const host = 'localhost'; 70 _agentKey: agent.getName({ port, host }) 77 // Use port and host and option connect 82 const host = 'localhost'; 85 _agentKey: agent.getName({ port, host }) 87 const socket = agent.createConnection(port, host, option [all...] |
H A D | test-url-format.js | 16 host: 'example.com', 25 host: 'example.com', 35 host: 'example.com', 45 host: 'example.com', 55 host: 'example.com', 65 host: 'example.com', 73 host: 'google.com', 79 host: 'a.com', 87 host: 'jabber.org', 151 host [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | tagged-field.h | 17 // kFieldOffset inside some host HeapObject. 38 static inline Address address(HeapObject host, int offset = 0); 40 static inline T load(HeapObject host, int offset = 0); 41 static inline T load(PtrComprCageBase cage_base, HeapObject host, 44 static inline void store(HeapObject host, T value); 45 static inline void store(HeapObject host, int offset, T value); 47 static inline T Relaxed_Load(HeapObject host, int offset = 0); 48 static inline T Relaxed_Load(PtrComprCageBase cage_base, HeapObject host, 51 static inline void Relaxed_Store(HeapObject host, T value); 52 static void Relaxed_Store(HeapObject host, in [all...] |
H A D | tagged-field-inl.h | 17 Address TaggedField<T, kFieldOffset>::address(HeapObject host, int offset) { in address() argument 18 return host.address() + kFieldOffset + offset; in address() 23 Tagged_t* TaggedField<T, kFieldOffset>::location(HeapObject host, int offset) { in location() argument 24 return reinterpret_cast<Tagged_t*>(address(host, offset)); in location() 57 T TaggedField<T, kFieldOffset>::load(HeapObject host, int offset) { in load() argument 58 Tagged_t value = *location(host, offset); in load() 60 return T(tagged_to_full(host.ptr(), value)); in load() 66 HeapObject host, int offset) { in load() 67 Tagged_t value = *location(host, offset); in load() 74 void TaggedField<T, kFieldOffset>::store(HeapObject host, argument 65 load(PtrComprCageBase cage_base, HeapObject host, int offset) load() argument 86 store(HeapObject host, int offset, T value) store() argument 98 Relaxed_Load(HeapObject host, int offset) Relaxed_Load() argument 106 Relaxed_Load(PtrComprCageBase cage_base, HeapObject host, int offset) Relaxed_Load() argument 115 Relaxed_Load_Map_Word( PtrComprCageBase cage_base, HeapObject host) Relaxed_Load_Map_Word() argument 123 Relaxed_Store_Map_Word(HeapObject host, T value) Relaxed_Store_Map_Word() argument 130 Relaxed_Store(HeapObject host, T value) Relaxed_Store() argument 138 Relaxed_Store(HeapObject host, int offset, T value) Relaxed_Store() argument 147 Acquire_Load(HeapObject host, int offset) Acquire_Load() argument 155 Acquire_Load_No_Unpack( PtrComprCageBase cage_base, HeapObject host, int offset) Acquire_Load_No_Unpack() argument 162 Acquire_Load(PtrComprCageBase cage_base, HeapObject host, int offset) Acquire_Load() argument 171 Release_Store(HeapObject host, T value) Release_Store() argument 179 Release_Store_Map_Word(HeapObject host, T value) Release_Store_Map_Word() argument 187 Release_Store(HeapObject host, int offset, T value) Release_Store() argument 196 Release_CompareAndSwap(HeapObject host, T old, T value) Release_CompareAndSwap() argument 207 SeqCst_Load(HeapObject host, int offset) SeqCst_Load() argument 215 SeqCst_Load(PtrComprCageBase cage_base, HeapObject host, int offset) SeqCst_Load() argument 224 SeqCst_Store(HeapObject host, T value) SeqCst_Store() argument 232 SeqCst_Store(HeapObject host, int offset, T value) SeqCst_Store() argument 241 SeqCst_Swap(HeapObject host, int offset, T value) SeqCst_Swap() argument 252 SeqCst_Swap(PtrComprCageBase cage_base, HeapObject host, int offset, T value) SeqCst_Swap() argument [all...] |
H A D | visitors.h | 118 virtual void VisitPointers(HeapObject host, ObjectSlot start, 120 virtual void VisitPointers(HeapObject host, MaybeObjectSlot start, 127 virtual void VisitCodePointer(HeapObject host, CodeObjectSlot slot) = 0; 133 virtual void VisitCustomWeakPointers(HeapObject host, ObjectSlot start, in VisitCustomWeakPointers() argument 135 VisitPointers(host, start, end); in VisitCustomWeakPointers() 139 virtual void VisitPointer(HeapObject host, ObjectSlot p) { in VisitPointer() argument 140 VisitPointers(host, p, p + 1); in VisitPointer() 142 virtual void VisitPointer(HeapObject host, MaybeObjectSlot p) { in VisitPointer() argument 143 VisitPointers(host, p, p + 1); in VisitPointer() 145 virtual void VisitCustomWeakPointer(HeapObject host, ObjectSlo in VisitPointer() argument 149 VisitEphemeron(HeapObject host, int index, ObjectSlot key, ObjectSlot value) VisitEphemeron() argument 165 VisitRuntimeEntry(Code host, RelocInfo* rinfo) VisitRuntimeEntry() argument 168 VisitExternalReference(Code host, RelocInfo* rinfo) VisitExternalReference() argument 171 VisitExternalReference(Foreign host, Address* p) VisitExternalReference() argument 174 VisitInternalReference(Code host, RelocInfo* rinfo) VisitInternalReference() argument 177 VisitOffHeapTarget(Code host, RelocInfo* rinfo) VisitOffHeapTarget() argument 183 VisitMapPointer(HeapObject host) VisitMapPointer() argument 187 VisitExternalPointer(HeapObject host, ExternalPointer_t ptr) VisitExternalPointer() argument [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares__addrinfo2hostent.c | 58 struct hostent **host) in ares__addrinfo2hostent() 69 if (ai == NULL || host == NULL) { in ares__addrinfo2hostent() 84 *host = ares_malloc(sizeof(**host)); in ares__addrinfo2hostent() 85 if (!(*host)) { in ares__addrinfo2hostent() 88 memset(*host, 0, sizeof(**host)); in ares__addrinfo2hostent() 110 (*host)->h_aliases = aliases; in ares__addrinfo2hostent() 128 (*host)->h_addr_list = ares_malloc((naddrs + 1) * sizeof(char *)); in ares__addrinfo2hostent() 129 if (!(*host) in ares__addrinfo2hostent() 57 ares__addrinfo2hostent(const struct ares_addrinfo *ai, int family, struct hostent **host) ares__addrinfo2hostent() argument [all...] |
H A D | ares_free_hostent.c | 37 void ares_free_hostent(struct hostent *host) in ares_free_hostent() argument 41 if (!host) { in ares_free_hostent() 45 ares_free(host->h_name); in ares_free_hostent() 46 for (p = host->h_aliases; p && *p; p++) { in ares_free_hostent() 49 ares_free(host->h_aliases); in ares_free_hostent() 50 if (host->h_addr_list) { in ares_free_hostent() 52 host->h_addr_list[0]); /* no matter if there is one or many entries, in ares_free_hostent() 54 ares_free(host->h_addr_list); in ares_free_hostent() 56 ares_free(host); in ares_free_hostent()
|
H A D | ares_gethostbyname.c | 51 static void sort_addresses(const struct hostent *host, 53 static void sort6_addresses(const struct hostent *host, 128 static void sort_addresses(const struct hostent *host, in sort_addresses() argument 143 for (i1 = 0; host->h_addr_list[i1]; i1++) { in sort_addresses() 144 memcpy(&a1, host->h_addr_list[i1], sizeof(struct in_addr)); in sort_addresses() 147 memcpy(&a2, host->h_addr_list[i2], sizeof(struct in_addr)); in sort_addresses() 152 memcpy(host->h_addr_list[i2 + 1], &a2, sizeof(struct in_addr)); in sort_addresses() 154 memcpy(host->h_addr_list[i2 + 1], &a1, sizeof(struct in_addr)); in sort_addresses() 184 static void sort6_addresses(const struct hostent *host, in sort6_addresses() argument 199 for (i1 = 0; host in sort6_addresses() 272 ares_gethostbyname_file_int(ares_channel_t *channel, const char *name, int family, struct hostent **host) ares_gethostbyname_file_int() argument 318 ares_gethostbyname_file(ares_channel_t *channel, const char *name, int family, struct hostent **host) ares_gethostbyname_file() argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | APISample_WatchWithDefaults.js | 36 const host = ts.createWatchCompilerHost(configPath, {}, ts.sys); 38 // You can technically override any given hook on the host, though you probably don't need to. 40 const origCreateProgram = host.createProgram; 41 host.createProgram = (rootNames, options, host, oldProgram) => { 43 return origCreateProgram(rootNames, options, host, oldProgram); 45 const origPostProgramCreate = host.afterProgramCreate; 47 host.afterProgramCreate = program => { 53 ts.createWatchProgram(host); 82 var host [all...] |
H A D | APISample_Watch.js | 45 const host = ts.createWatchCompilerHost(configPath, {}, ts.sys, 51 // You can technically override any given hook on the host, though you probably don't need to. 53 const origCreateProgram = host.createProgram; 54 host.createProgram = (rootNames: ReadonlyArray<string>, options, host, oldProgram) => { 56 return origCreateProgram(rootNames, options, host, oldProgram); 58 const origPostProgramCreate = host.afterProgramCreate; 60 host.afterProgramCreate = program => { 66 ts.createWatchProgram(host); 115 var host [all...] |
H A D | APISample_WatchWithOwnWatchHost.js | 24 const host: ts.WatchCompilerHostOfFilesAndCompilerOptions<ts.BuilderProgram> = { 45 // You can technically override any given hook on the host, though you probably don't need to. 47 const origCreateProgram = host.createProgram; 48 host.createProgram = (rootNames, options, host, oldProgram) => { 50 return origCreateProgram(rootNames, options, host, oldProgram); 52 const origPostProgramCreate = host.afterProgramCreate; 54 host.afterProgramCreate = program => { 60 ts.createWatchProgram(host); 78 var host [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | marking-visitor.h | 110 void AddStrongReferenceForReferenceSummarizer(HeapObject host, in AddStrongReferenceForReferenceSummarizer() argument 115 void AddWeakReferenceForReferenceSummarizer(HeapObject host, HeapObject obj) { in AddWeakReferenceForReferenceSummarizer() argument 182 void VisitMapPointer(HeapObject host) final { 183 Map map = host.map(ObjectVisitorWithCageBases::cage_base()); 184 MarkObject(host, map); 185 concrete_visitor()->RecordSlot(host, host.map_slot(), map); 187 V8_INLINE void VisitPointer(HeapObject host, ObjectSlot p) final { 188 VisitPointersImpl(host, p, p + 1); 190 V8_INLINE void VisitPointer(HeapObject host, MaybeObjectSlo 262 AddStrongReferenceForReferenceSummarizer(HeapObject host, HeapObject obj) AddStrongReferenceForReferenceSummarizer() argument 269 AddWeakReferenceForReferenceSummarizer(HeapObject host, HeapObject obj) AddWeakReferenceForReferenceSummarizer() argument [all...] |
H A D | heap-write-barrier-inl.h | 31 V8_EXPORT_PRIVATE void Heap_WriteBarrierForCodeSlow(Code host); 33 V8_EXPORT_PRIVATE void Heap_GenerationalBarrierForCodeSlow(Code host, 119 inline void WriteBarrierForCode(Code host, RelocInfo* rinfo, Object value) { in WriteBarrierForCode() argument 122 WriteBarrierForCode(host, rinfo, HeapObject::cast(value)); in WriteBarrierForCode() 125 inline void WriteBarrierForCode(Code host, RelocInfo* rinfo, HeapObject value) { in WriteBarrierForCode() argument 126 GenerationalBarrierForCode(host, rinfo, value); in WriteBarrierForCode() 127 WriteBarrier::Marking(host, rinfo, value); in WriteBarrierForCode() 130 inline void WriteBarrierForCode(Code host) { in WriteBarrierForCode() argument 131 Heap_WriteBarrierForCodeSlow(host); in WriteBarrierForCode() 174 inline void GenerationalBarrierForCode(Code host, RelocInf argument 224 Marking(HeapObject host, ObjectSlot slot, Object value) Marking() argument 230 Marking(HeapObject host, MaybeObjectSlot slot, MaybeObject value) Marking() argument 237 Marking(HeapObject host, HeapObjectSlot slot, HeapObject value) Marking() argument 244 Marking(Code host, RelocInfo* reloc_info, HeapObject value) Marking() argument 250 Marking(JSArrayBuffer host, ArrayBufferExtension* extension) Marking() argument 279 MarkingFromInternalFields(JSObject host) MarkingFromInternalFields() argument 289 IsRequired(HeapObject host, T value) IsRequired() argument [all...] |
H A D | heap-write-barrier.h | 32 void WriteBarrierForCode(Code host, RelocInfo* rinfo, Object value); 33 void WriteBarrierForCode(Code host, RelocInfo* rinfo, HeapObject value); 34 void WriteBarrierForCode(Code host); 44 void GenerationalBarrierForCode(Code host, RelocInfo* rinfo, HeapObject object); 50 static inline void Marking(HeapObject host, ObjectSlot, Object value); 51 static inline void Marking(HeapObject host, HeapObjectSlot, HeapObject value); 52 static inline void Marking(HeapObject host, MaybeObjectSlot, 54 static inline void Marking(Code host, RelocInfo*, HeapObject value); 55 static inline void Marking(JSArrayBuffer host, ArrayBufferExtension*); 59 // Invoked from global handles where no host objec [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/ |
H A D | getnameinfo.c | 32 * @tc.desc : Each parameter is valid and can resolve the IP address of the host name(hint.ai_flags =AI_ALL). 38 char host[NI_MAXHOST]; in getnameinfo_0100() local 44 ret = getnameinfo((const struct sockaddr *)(&sa), sizeof(sa), host, sizeof(host), server, sizeof(server), 0); in getnameinfo_0100() 46 EXPECT_NE("getnameinfo_0100", strlen(host), 0); in getnameinfo_0100() 52 * @tc.desc : Each parameter is valid and can resolve the IP address of the host name(hint.ai_flags =AI_ALL). 65 char host[NI_MAXHOST]; in getnameinfo_0200() local 68 res = getnameinfo(result->ai_addr, result->ai_addrlen, host, sizeof(host), server, sizeof(server), 0); in getnameinfo_0200() 71 EXPECT_NE("getnameinfo_0200", strlen(host), in getnameinfo_0200() 85 char host[NI_MAXHOST]; getnameinfo_0300() local 104 char host[NI_MAXHOST]; getnameinfo_0400() local 122 char host[NI_MAXHOST]; getnameinfo_0500() local 147 char host[NI_MAXHOST]; getnameinfo_0600() local 165 char host[NI_MAXHOST]; getnameinfo_0700() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | vksEndian.hpp | 51 inline u16 HostToNetwork16 (u16 host) { return deReverseBytes16(host); } in HostToNetwork16() argument 52 inline u32 HostToNetwork32 (u32 host) { return deReverseBytes32(host); } in HostToNetwork32() argument 53 inline u64 HostToNetwork64 (u64 host) { return ReverseBytes64(host); } in HostToNetwork64() argument 55 inline u16 HostToNetwork16 (u16 host) { return host; } in HostToNetwork16() argument 56 inline u32 HostToNetwork32 (u32 host) { return host; } in HostToNetwork32() argument 57 HostToNetwork64(u64 host) HostToNetwork64() argument [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_dns_tracker.cc | 62 ImmutableString host, in make_entry() 69 ent.host = std::move(host); in make_entry() 110 auto it = ents_.find(dnsq->host); in resolve() 114 LOG(INFO) << "DNS entry not found for " << dnsq->host; in resolve() 119 ImmutableString{std::begin(dnsq->host), std::end(dnsq->host)}; in resolve() 120 auto host = StringRef{host_copy}; in resolve() local 122 rv = resolv->resolve(host); in resolve() 125 LOG(INFO) << "Name lookup failed for " << host; in resolve() 61 make_entry(std::unique_ptr<DualDNSResolver> resolv, ImmutableString host, DNSResolverStatus status, const Address *result) make_entry() argument 188 auto host = StringRef{ent.host}; resolve() local [all...] |
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/ |
H A D | test_https_sni.c | 67 struct Hosts *host; in load_keys() local 69 host = malloc (sizeof (struct Hosts)); in load_keys() 70 if (NULL == host) in load_keys() 72 host->hostname = hostname; in load_keys() 73 host->next = hosts; in load_keys() 74 hosts = host; in load_keys() 85 gnutls_pcert_import_x509_raw (&host->pcrt, &data, GNUTLS_X509_FMT_PEM, in load_keys() 105 gnutls_privkey_init (&host->key); in load_keys() 107 gnutls_privkey_import_x509_raw (host->key, in load_keys() 144 struct Hosts *host; in sni_callback() local [all...] |
/third_party/node/lib/ |
H A D | url.js | 74 this.host = null; 156 // "forbidden host code point" in the WHATWG URL Standard [1] and the 157 // characters in the host parsing loop in Url.prototype.parse, with the 165 // [1]: https://url.spec.whatwg.org/#forbidden-host-code-point 280 // Figure out if it's got a host 282 // resolution will treat //foo/bar as host=foo,path=bar because that's 298 // the first instance of /, ?, ;, or # ends the host. 300 // If there is an @ in the hostname, then non-host chars *are* allowed 301 // to the left of the last @ sign, unless some host-ending character 306 // http://a@b@c/ => user:a@b host [all...] |
/third_party/python/Lib/urllib/ |
H A D | request.py | 302 """Return request-host, as defined by RFC 2965. 309 host = urlparse(url)[1] 310 if host == "": 311 host = request.get_header("Host", "") 314 host = _cut_port_re.sub("", host, 1) 315 return host.lower() 345 # unwrap('<URL:type://host/path>') --> 'type://host/path' 378 self.host, sel [all...] |
/third_party/curl/lib/ |
H A D | idn.c | 40 #define IDN2_LOOKUP(name, host, flags) \ 41 idn2_lookup_u8((const uint8_t *)name, (uint8_t **)host, flags) 43 #define IDN2_LOOKUP(name, host, flags) \ 44 idn2_lookup_ul((const char *)name, (char **)host, flags) 153 * CURLE_URL_MALFORMAT - the host name could not be converted 247 void Curl_free_idnconverted_hostname(struct hostname *host) in Curl_free_idnconverted_hostname() argument 249 if(host->encalloc) { in Curl_free_idnconverted_hostname() 251 Curl_idn_free(host->encalloc); in Curl_free_idnconverted_hostname() 252 host->encalloc = NULL; in Curl_free_idnconverted_hostname() 261 CURLcode Curl_idnconvert_hostname(struct hostname *host) in Curl_idnconvert_hostname() argument [all...] |
H A D | urlapi.c | 76 char *host; member 93 free(u->host); in free_urlhandle() 102 * Find the separator at the end of the host name, or the '?' in cases like 141 * URL encoding should be skipped for host names, otherwise IDN resolution 230 be the host name "data" with a specified port number. */ in Curl_is_absolute_url() 257 to the right of the host part. Oh crap, this is doomed to cause in concat_url() 269 /* protsep points to the start of the host name */ in concat_url() 295 /* Check if there's any slash after the host name, and if so, remember in concat_url() 421 * strip them out of the host name 428 size_t *offset) /* to the host nam in parse_hostname_login() 509 Curl_parse_port(struct Curl_URL *u, struct dynbuf *host, bool has_scheme) Curl_parse_port() argument 672 ipv4_normalize(struct dynbuf *host) ipv4_normalize() argument 769 urldecode_host(struct dynbuf *host) urldecode_host() argument 795 parse_authority(struct Curl_URL *u, const char *auth, size_t authlen, unsigned int flags, struct dynbuf *host, bool has_scheme) parse_authority() argument 853 struct dynbuf host; Curl_url_set_authority() local 1011 struct dynbuf host; parseurl() local [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_validate.cpp | 99 dng_host host; in dng_validate() local 101 host.SetPreferredSize (gPreferredSize); in dng_validate() 102 host.SetMinimumSize (gMinimumSize ); in dng_validate() 103 host.SetMaximumSize (gMaximumSize ); in dng_validate() 105 host.ValidateSizes (); in dng_validate() 107 if (host.MinimumSize ()) in dng_validate() 110 host.SetForPreview (true); in dng_validate() 119 host.SetSaveDNGVersion (dngVersion_SaveDefault); in dng_validate() 121 host.SetSaveLinearDNG (false); in dng_validate() 123 host in dng_validate() [all...] |
H A D | dng_negative.cpp | 135 dng_metadata::dng_metadata (dng_host &host) 141 , fExif (host.Make_dng_exif ()) 148 , fXMP (host.Make_dng_xmp ()) 569 bool dng_metadata::SetXMP (dng_host &host, in SetXMP() argument 581 AutoPtr<dng_xmp> tempXMP (host.Make_dng_xmp ()); in SetXMP() 583 tempXMP->Parse (host, buffer, count); in SetXMP() 596 if (host.IsTransientError (except.ErrorCode ())) in SetXMP() 620 void dng_metadata::SetEmbeddedXMP (dng_host &host, in SetEmbeddedXMP() argument 625 if (SetXMP (host, buffer, count)) in SetEmbeddedXMP() 732 dng_negative::dng_negative (dng_host &host) in dng_negative() argument 828 Make(dng_host &host) Make() argument [all...] |