Home
last modified time | relevance | path

Searched +full:- +full:- +full:foreign (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/
DREADME.md1 # lws minimal http server eventlib foreign
4 ---|---
5 -d <loglevel>|Debug verbosity in decimal, eg, -d15
6 --uv|Use the libuv event library (lws must have been configured with `-DLWS_WITH_LIBUV=1`)
7 --event|Use the libevent library (lws must have been configured with `-DLWS_WITH_LIBEVENT=1`)
8 --ev|Use the libev event library (lws must have been configured with `-DLWS_WITH_LIBEV=1`)
9 --sd|Use the systemd event library (lws must have been configured with `-DLWS_WITH_SDEVENT=1`)
14 ---|---|---|---
15 libuv|-|OK|OK
16 libevent|OK|-|no
[all …]
DCMakeLists.txt1 project(lws-minimal-http-server-eventlib-foreign C)
9 set(SAMP lws-minimal-http-server-eventlib-foreign)
10 set(SRCS minimal-http-server-eventlib-foreign.c)
57 find_path(GLIB_INCLUDE_DIRS NAMES glib-2.0/glib.h)
58 find_library(GLIB_LIBRARIES NAMES glib-2.0)
63 set(GLIB_INCLUDE_DIRS "${GLIB_INCLUDE_DIRS}/glib-2.0")
66 PKG_SEARCH_MODULE(LWS_GLIB2 glib-2.0)
77 find_path(LIBSYSTEMD_INCLUDE_DIRS NAMES systemd/sd-event.h)
137 …add_test(NAME hs_evlib_foreign_uv COMMAND lws-minimal-http-server-eventlib-foreign --uv -p ${PORT_…
141 …WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/minimal-examples/http-server/minimal-http-server-eventlib-fo…
[all …]
Dminimal-http-server-eventlib-foreign.c2 * lws-minimal-http-server-eventlib-foreign
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
14 * --uv, --event or --ev switch. Lws has to have been configured to build the
18 * "./mount-origin" of the directory it was started in.
42 /* .mount_next */ NULL, /* linked-list "next" */
44 /* .origin */ "./mount-origin", /* serve from dir */
105 int lenx = sizeof(buffer) - LWS_PRE; in callback_http()
108 return -1; in callback_http()
167 /* this is called at 1Hz using a foreign loop timer */
174 lwsl_user("Foreign 1Hz timer\n"); in foreign_timer_service()
[all …]
Dlibev.c2 * lws-minimal-http-server-eventlib-foreign
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
34 signal_cb(watcher->signum); in signal_cb_ev()
40 /* we create and start our "foreign loop" */ in foreign_event_loop_init_and_run_libev()
62 /* cleanup the foreign loop assets */ in foreign_event_loop_cleanup_libev()
Dlibevent.c2 * lws-minimal-http-server-eventlib-foreign
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
42 /* we create and start our "foreign loop" */ in foreign_event_loop_init_and_run_libevent()
52 timer_outer_event = event_new((struct event_base *)loop_event, -1, EV_PERSIST, in foreign_event_loop_init_and_run_libevent()
69 /* cleanup the foreign loop assets */ in foreign_event_loop_cleanup_libevent()
Dlibuv.c2 * lws-minimal-http-server-eventlib-foreign
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
19 #include <uv-version.h>
46 /* we create and start our "foreign loop" */ in foreign_event_loop_init_and_run_libuv()
73 /* cleanup the foreign loop assets */ in foreign_event_loop_cleanup_libuv()
Dglib.c2 * lws-minimal-http-server-eventlib-foreign
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
17 #include <glib-2.0/glib.h>
18 #include <glib-unix.h>
56 /* we create and start our "foreign loop" */ in foreign_event_loop_init_and_run_glib()
83 /* cleanup the foreign loop assets */ in foreign_event_loop_cleanup_glib()
/third_party/node/deps/v8/src/objects/
Dforeign-inl.h2 // Use of this source code is governed by a BSD-style license that can be
9 #include "src/heap/heap-write-barrier-inl.h"
10 #include "src/objects/foreign.h"
11 #include "src/objects/objects-inl.h"
12 #include "src/sandbox/external-pointer-inl.h"
15 #include "src/objects/object-macros.h"
20 #include "torque-generated/src/objects/foreign-tq-inl.inc"
22 TQ_OBJECT_CONSTRUCTORS_IMPL(Foreign) in TQ_OBJECT_CONSTRUCTORS_IMPL() argument
25 bool Foreign::IsNormalized(Object value) { in TQ_OBJECT_CONSTRUCTORS_IMPL()
27 return Foreign::cast(value).foreign_address() != kNullAddress; in TQ_OBJECT_CONSTRUCTORS_IMPL()
[all …]
Dforeign.h2 // Use of this source code is governed by a BSD-style license that can be
8 #include "src/objects/heap-object.h"
11 #include "src/objects/object-macros.h"
16 #include "torque-generated/src/objects/foreign-tq.inc"
18 // Foreign describes objects pointing from JavaScript to C structures.
19 class Foreign : public TorqueGeneratedForeign<Foreign, HeapObject> {
27 DECL_PRINTER(Foreign)
51 TQ_OBJECT_CONSTRUCTORS(Foreign)
57 #include "src/objects/object-macros-undef.h"
Dapi-callbacks-inl.h2 // Use of this source code is governed by a BSD-style license that can be
8 #include "src/objects/api-callbacks.h"
10 #include "src/heap/heap-write-barrier-inl.h"
11 #include "src/heap/heap-write-barrier.h"
12 #include "src/objects/foreign-inl.h"
13 #include "src/objects/js-objects-inl.h"
18 #include "src/objects/object-macros.h"
23 #include "torque-generated/src/objects/api-callbacks-tq-inl.inc"
32 Foreign::IsNormalized(value)) in TQ_OBJECT_CONSTRUCTORS_IMPL()
34 Foreign::IsNormalized(value)) in TQ_OBJECT_CONSTRUCTORS_IMPL()
[all …]
Dmanaged.h2 // Use of this source code is governed by a BSD-style license that can be
12 #include "src/objects/foreign.h"
17 // Implements a doubly-linked lists of destructors for the isolate.
49 class Managed : public Foreign {
51 Managed() : Foreign() {} in Managed()
52 explicit Managed(Address ptr) : Foreign(ptr) {} in Managed()
55 V8_INLINE CppType* raw() { return GetSharedPtrPtr()->get(); } in raw()
88 // Internally this {Foreign} object stores a pointer to a new
94 destructor->shared_ptr_ptr_); in GetSharedPtrPtr()
Djs-plural-rules.tq2 // Use of this source code is governed by a BSD-style license that can be
5 #include 'src/objects/js-plural-rules.h'
15 icu_plural_rules: Foreign; // Managed<icu::PluralRules>
17 Foreign; // Managed<icu::number::LocalizedNumberFormatter>
19 Foreign; // Managed<icu::number::LocalizedNumberRangeFormatter>
Djs-date-time-format.tq2 // Use of this source code is governed by a BSD-style license that can be
5 #include 'src/objects/js-date-time-format.h'
15 // "islamic-rgsa" calendar. We use the alt_calendar bit to distinguish between
18 // "islamic" and the alt_calendar bit is set, it is "islamic-rgsa" calendar,
25 icu_locale: Foreign; // Managed<icu::Locale>
26 icu_simple_date_format: Foreign; // Managed<icu::SimpleDateFormat>
27 icu_date_interval_format: Foreign; // Managed<icu::DateIntervalFormat>
/third_party/parse5/packages/parse5-parser-stream/test/
Dparser-stream.test.ts3 import { generateParsingTests } from 'parse5-test-utils/utils/generate-parsing-tests.js';
4 import { parseChunked } from './utils/parse-chunked.js';
5 import { finished } from 'parse5-test-utils/utils/common.js';
12 //TODO(GH-448): Foreign content behaviour was updated in the HTML spec.
14 '0.foreign-fragment',
15 '1.foreign-fragment',
16 '38.foreign-fragment',
17 '40.foreign-fragment',
18 '47.foreign-fragment',
19 '48.foreign-fragment',
[all …]
/third_party/parse5/packages/parse5/lib/parser/
Dindex.test.ts4 import { generateParsingTests } from 'parse5-test-utils/utils/generate-parsing-tests.js';
5 import { treeAdapters } from 'parse5-test-utils/utils/common.js';
12 //TODO(GH-448): Foreign content behaviour was updated in the HTML spec.
14 '0.foreign-fragment',
15 '1.foreign-fragment',
16 '38.foreign-fragment',
17 '40.foreign-fragment',
18 '47.foreign-fragment',
19 '48.foreign-fragment',
32 … suitePath: new URL('../../../../test/data/html5lib-tests/tree-construction', import.meta.url),
[all …]
/third_party/rust/crates/foreign-types/foreign-types/
DCargo.toml2 name = "foreign-types"
5 license = "MIT/Apache-2.0"
7 repository = "https://github.com/sfackler/foreign-types"
11 foreign-types-shared = { version = "0.1", path = "../foreign-types-shared" }
DREADME.md1 # foreign-types
3 …leCI](https://circleci.com/gh/sfackler/foreign-types.svg?style=shield)](https://circleci.com/gh/sf…
5 [Documentation](https://docs.rs/foreign-types)
13 …* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses…
14 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
21 submitted for inclusion in the work by you, as defined in the Apache-2.0
DBUILD.gn6 # http://www.apache.org/licenses/LICENSE-2.0
25 cargo_pkg_name = "foreign-types"
27 deps = [ "//third_party/rust/crates/foreign-types/foreign-types-shared:lib" ]
/third_party/node/deps/v8/src/wasm/
Dwasm-objects.tq2 // Use of this source code is governed by a BSD-style license that can be
9 type ManagedWasmNativeModule extends Foreign
29 // The {foreign_address} field inherited from {Foreign} points to the call
31 extern class WasmInternalFunction extends Foreign {
47 // The wasm-internal representation of this function object.
56 // imported and re-exported functions is different from the instance
57 // where the function is defined -- for the latter see WasmFunctionData::ref).
60 signature: Foreign;
79 embedder_data: Foreign; // Managed<wasm::FuncData>
93 managed_native_allocations: Foreign|Undefined;
[all …]
Dwasm-objects-inl.h2 // Use of this source code is governed by a BSD-style license that can be
15 #include "src/common/ptr-compr.h"
16 #include "src/heap/heap-write-barrier-inl.h"
17 #include "src/objects/contexts-inl.h"
18 #include "src/objects/foreign.h"
19 #include "src/objects/heap-number.h"
20 #include "src/objects/js-array-buffer-inl.h"
21 #include "src/objects/js-function-inl.h"
22 #include "src/objects/js-objects-inl.h"
24 #include "src/objects/oddball-inl.h"
[all …]
/third_party/rust/crates/foreign-types/
DREADME.md1 # foreign-types
3 …leCI](https://circleci.com/gh/sfackler/foreign-types.svg?style=shield)](https://circleci.com/gh/sf…
5 [Documentation](https://docs.rs/foreign-types)
13 …* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses…
14 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
21 submitted for inclusion in the work by you, as defined in the Apache-2.0
/third_party/python/Lib/msilib/
Dschema.py588 ('_Validation','KeyColumn','Y',1,32,None, None, None, None, 'Column to which foreign key connects',…
589 ('_Validation','KeyTable','Y',None, None, None, None, 'Identifier',None, 'For foreign key, Name of …
590 ('_Validation','MaxValue','Y',-2147483647,2147483647,None, None, None, None, 'Maximum value allowed…
591 ('_Validation','MinValue','Y',-2147483647,2147483647,None, None, None, None, 'Minimum value allowed…
598 ('AdminExecuteSequence','Sequence','Y',-4,32767,None, None, None, None, 'Number that determines the…
604 ('AdminUISequence','Sequence','Y',-4,32767,None, None, None, None, 'Number that determines the sort…
607 ('AdvtExecuteSequence','Sequence','Y',-4,32767,None, None, None, None, 'Number that determines the …
610 ('AdvtUISequence','Sequence','Y',-4,32767,None, None, None, None, 'Number that determines the sort …
619 …None, 'The Signature_ represents a unique file signature and is also the foreign key in the Signat…
626 ('BBControl','Attributes','Y',0,2147483647,None, None, None, None, 'A 32-bit word that specifies th…
[all …]
/third_party/rust/crates/foreign-types/foreign-types-shared/src/
Dlib.rs1 //! Internal crate used by foreign-types
5 #![doc(html_root_url="https://docs.rs/foreign-types-shared/0.1")]
14 /// A type implemented by wrappers over foreign types.
23 unsafe fn from_ptr(ptr: *mut Self::CType) -> Self; in from_ptr()
26 fn as_ptr(&self) -> *mut Self::CType; in as_ptr()
29 /// A trait implemented by types which reference borrowed foreign types.
36 unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self { in from_ptr()
42 unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self { in from_ptr_mut()
48 fn as_ptr(&self) -> *mut Self::CType { in as_ptr()
/third_party/rust/crates/foreign-types/foreign-types-shared/
DCargo.toml2 name = "foreign-types-shared"
5 license = "MIT/Apache-2.0"
6 description = "An internal crate used by foreign-types"
7 repository = "https://github.com/sfackler/foreign-types"
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/
Dminimal-raw-adopt-tcp.c2 * lws-minimal-raw-adopt-tcp
4 * Written in 2010-2019 by Andy Green <andy@warmcat.com>
14 * Lws supports "adopting" these foreign sockets.
79 { "raw-test", callback_raw_test, 0, 0, 0, NULL, 0 },
101 * -DCMAKE_BUILD_TYPE=DEBUG instead of =RELEASE */ in main()
108 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
133 * Connect our own "foreign" socket to libwebsockets.org:80 in main()
137 * demonstrates how to integrate an externally-connected "foreign" in main()
152 for (rp = r; rp; rp = rp->ai_next) { in main()
153 sock.sockfd = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol); in main()
[all …]

12345678910>>...20