Home
last modified time | relevance | path

Searched +full:int +full:- +full:property (Results 1 – 25 of 1176) sorted by relevance

12345678910>>...48

/freebsd/sys/contrib/libfdt/
H A Dlibfdt.h4 * libfdt - Flat Device Tree manipulation
23 * MA 02110-1301 USA
62 /* FDT_ERR_NOTFOUND: The requested node or property does not exist */
64 /* FDT_ERR_EXISTS: Attempted to create a node or property which
75 * offset which is out-of-bounds, or which points to an
83 * This can be caused either by an invalid phandle property
84 * length, or the phandle value was either 0 or -1, which are
88 * tree created by the sequential-write functions, which is
97 * device tree at all - it is missing the flattened device
102 * read-write functions, this may mean that fdt_open_into() is
[all …]
H A Dfdt_overlay.c2 * libfdt - Flat Device Tree manipulation
22 * MA 02110-1301 USA
60 * overlay_get_target_phandle - retrieves the target phandle of a fragment
66 * property) instead of a path (target-path property).
69 * the phandle pointed by the target property
71 * -1, if the phandle was malformed
73 static uint32_t overlay_get_target_phandle(const void *fdto, int fragment) in overlay_get_target_phandle()
76 int len; in overlay_get_target_phandle()
82 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle()
83 return (uint32_t)-1; in overlay_get_target_phandle()
[all …]
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_plist.c1 /*-
2 * Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
53 * Allocate and initialize a new, empty property list.
55 * The caller is responsible for releasing the returned property value
58 * @retval non-NULL success
70 /* Implicit caller-owned reference */ in bhnd_nvram_plist_new()
71 plist->refs = 1; in bhnd_nvram_plist_new()
74 plist->num_entries = 0; in bhnd_nvram_plist_new()
75 TAILQ_INIT(&plist->entries); in bhnd_nvram_plist_new()
78 for (size_t i = 0; i < nitems(plist->names); i++) in bhnd_nvram_plist_new()
[all …]
/freebsd/sys/contrib/openzfs/man/man8/
H A Dzpool-get.81 .\" SPDX-License-Identifier: CDDL-1.0
10 .\" or https://opensource.org/licenses/CDDL-1.0.
28 .\" Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
35 .Nm zpool-get
41 .Op Fl j Op Ar --json-int, --json-pool-key-guid
43 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
49 .Op Fl j Op Ar --json-int
51 .Sy all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
53 .Oo Sy all-vdevs Ns | Ns
58 .Ar property Ns = Ns Ar value
[all …]
H A Dzfs-set.81 .\" SPDX-License-Identifier: CDDL-1.0
10 .\" or https://opensource.org/licenses/CDDL-1.0.
38 .Nm zfs-set
44 .Ar property Ns = Ns Ar value Oo Ar property Ns = Ns Ar value Oc Ns …
50 .Op Fl j Op Ar --json-int
54 .Cm all Ns | Ns Ar property Ns Oo , Ns Ar property Oc Ns …
59 .Ar property Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot Ns …
62 .Bl -tag -width ""
67 .Ar property Ns = Ns Ar value Oo Ar property Ns = Ns Ar value Oc Ns …
75 Numeric values can be specified as exact values, or in a human-readable form
[all …]
H A Dzfs-list.81 .\" SPDX-License-Identifier: CDDL-1.0
10 .\" or https://opensource.org/licenses/CDDL-1.0.
38 .Nm zfs-list
45 .Op Fl j Op Ar --json-int
46 .Oo Fl o Ar property Ns Oo , Ns Ar property Oc Ns … Oc
47 .Oo Fl s Ar property Oc Ns …
48 .Oo Fl S Ar property Oc Ns …
53 If specified, you can list property information by the absolute pathname or the
58 pool property is
70 .Bl -tag -width "-H"
[all …]
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBTargetExtensions.i8 int i = 0;
47 return int(self.sbtarget.GetNumModules())
52 if type(key) is int:
53 if -num_modules <= key < num_modules:
57 if key.find('/') == -1:
122 return int(self.sbtarget.GetNumBreakpoints())
126 if isinstance(key, int):
128 if -count <= key < count:
156 return int(self.sbtarget.GetNumWatchpoints())
160 if isinstance(key, int):
[all …]
H A DSBModuleExtensions.i67 return int(self.sbmodule.GetNumSymbols())
72 if type(key) is int:
73 if -count <= key < count:
129 return int(self.sbmodule.GetNumSections())
134 if type(key) is int:
135 if -count <= key < count:
165 return int(self.sbmodule.GetNumCompileUnits())
170 if type(key) is int:
171 if -count <= key < count:
218 symbols = property(get_symbols_arra
[all...]
H A DSBDataExtensions.i20 if not (isinstance(key, int)):
21 raise TypeError('must be int')
22 …key = key * self.item_size # SBData uses byte-based indexes, but we want to use itemsize-based ind…
30 return int(self.sbdata.GetByteSize()/self.item_size)
58 elif value < -2147483648:
137 …uint8 = property(_make_helper_uint8, None, doc='''A read only property that returns an array-like …
138 …uint16 = property(_make_helper_uint16, None, doc='''A read only property that returns an array-lik…
139 …uint32 = property(_make_helper_uint32, None, doc='''A read only property that returns an array-lik…
140 …uint64 = property(_make_helper_uint64, None, doc='''A read only property that returns an array-lik…
141 …sint8 = property(_make_helper_sint8, None, doc='''A read only property that returns an array-like …
[all …]
H A DSBThreadExtensions.i26 return int(self.sbthread.GetNumFrames())
30 if isinstance(key, int):
32 if -count <= key < count:
48 id = property(GetThreadID, None, doc='''A read only property that returns the thread ID as an integer.''')
49 idx = property(GetIndexID, None, doc='''A read only property that returns the thread index ID as an integer. Thread index ID values start at 1 and increment as threads come and go and can be used to uniquely identify threads.''')
50 return_value = property(GetStopReturnValue, None, doc='''A read only property that returns an lldb object that represents the return value from the last stop (lldb.SBValue) if we just stopped due to stepping out of a function.''')
51 process = property(GetProces
[all...]
/freebsd/sys/dev/drm2/
H A Ddrm_crtc.c2 * Copyright (c) 2006-2008 Intel Corporation
43 char *fnname(int val) \
45 int i; \
84 * Non-global properties, but "required" for certain connectors.
88 { DRM_MODE_SUBCONNECTOR_Automatic, "Automatic" }, /* DVI-I and TV-out */
89 { DRM_MODE_SUBCONNECTOR_DVID, "DVI-D" }, /* DVI-I */
90 { DRM_MODE_SUBCONNECTOR_DVIA, "DVI-A" }, /* DVI-I */
97 { DRM_MODE_SUBCONNECTOR_Unknown, "Unknown" }, /* DVI-I and TV-out */
98 { DRM_MODE_SUBCONNECTOR_DVID, "DVI-D" }, /* DVI-I */
99 { DRM_MODE_SUBCONNECTOR_DVIA, "DVI-A" }, /* DVI-I */
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_get.c1 // SPDX-License-Identifier: CDDL-1.0
48 static int
51 int error; in get_objset_type()
56 if (ds->ds_is_snapshot) { in get_objset_type()
59 switch (os->os_phys->os_type) { in get_objset_type()
77 static int
81 int error = get_objset_type(ds, &type); in get_objset_type_name()
101 * Determines the source of a property given its setpoint and
102 * property type. It pushes the source to the lua stack.
124 static int
[all …]
/freebsd/sys/dev/ofw/
H A Dofw_bus_subr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2001 - 2003 by Thomas Moestl <tmm@FreeBSD.org>.
52 int
58 /* The 'name' property is considered mandatory. */ in ofw_bus_gen_setup_devinfo()
59 if ((OF_getprop_alloc(node, "name", (void **)&obd->obd_name)) == -1) in ofw_bus_gen_setup_devinfo()
61 OF_getprop_alloc(node, "compatible", (void **)&obd->obd_compat); in ofw_bus_gen_setup_devinfo()
62 OF_getprop_alloc(node, "device_type", (void **)&obd->obd_type); in ofw_bus_gen_setup_devinfo()
63 OF_getprop_alloc(node, "model", (void **)&obd->obd_model); in ofw_bus_gen_setup_devinfo()
64 OF_getprop_alloc(node, "status", (void **)&obd->obd_status); in ofw_bus_gen_setup_devinfo()
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dproperty.h2 * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
27 int ossl_property_parse_init(OSSL_LIB_CTX *ctx);
29 /* Property definition parser */
31 /* Property query parser */
33 int create_values);
34 /* Property checker of query vs definition */
35 int ossl_property_match_count(const OSSL_PROPERTY_LIST *query,
37 int ossl_property_is_enabled(OSSL_LIB_CTX *ctx, const char *property_name,
39 /* Free a parsed property list */
42 /* Get a property from a property list */
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_sysfs.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
45 * and property attributes. The primary consumer of this information
48 * this information when instantiating the zfs|zpool property tables
51 * The added top-level directories are:
88 * These are the top-level kobjects under '/sys/module/zfs/'
107 if (zkobj->zko_child_count != 0) { in zfs_kobj_fini()
108 ASSERT(zkobj->zko_children); in zfs_kobj_fini()
109 for (int i = 0; i < zkobj->zko_child_count; i++) in zfs_kobj_fini()
110 zfs_kobj_fini(&zkobj->zko_children[i]); in zfs_kobj_fini()
[all …]
/freebsd/sys/contrib/openzfs/include/
H A Dzfs_prop.h1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
70 const char *pd_name; /* human-readable property name */
71 int pd_propnum; /* property number */
76 int pd_types; /* bitfield of valid dataset types */
81 boolean_t pd_visible: 1; /* do we list this property with the */
84 boolean_t pd_always_flex: 1; /* never fixed-width */
91 * zfs dataset property functions
99 * zpool property functions
106 * vdev property functions
[all …]
/freebsd/usr.bin/dtc/
H A Dfdt.hh1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
8 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
56 class property;
62 typedef void (device_tree::* tree_write_fn_ptr)(int);
70 typedef std::shared_ptr<property> property_ptr;
76 * Map from macros to property pointers.
104 * property-coded arrays will appear simply as binary (or possibly
105 * string, if they happen to be nul-terminated and printable), and must
112 * lists become one property value for each string, however
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-containers_test.cc30 // Google Mock - a framework for writing C++ mock classes.
48 // Silence warning C4244: 'initializing': conversion from 'int' to 'short',
52 #include "test/gmock-matchers_test.h"
58 std::vector<std::unique_ptr<int>> MakeUniquePtrs(const std::vector<int>& ints) { in MakeUniquePtrs()
59 std::vector<std::unique_ptr<int>> pointers; in MakeUniquePtrs()
60 for (int i : ints) pointers.emplace_back(new int(i)); in MakeUniquePtrs()
82 vector<int> test_vector{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; in TEST()
100 vector<int> test_vector{2, 1, 8, 5, 4, 6, 7, 3, 9, 12, 11, 10}; in TEST()
142 static int n; in TEST()
150 "Actual: 0" + OfType("int") + ", which is located @"); in TEST()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_changelist.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
47 * 'mountpoint' property, we record whether the filesystem was previously
49 * dataset after the property has been changed.
55 * < change property >
61 * changelist_remove() - remove a node from a gathered list
62 * changelist_rename() - renames all datasets appropriately when doing a rename
63 * changelist_unshare() - unshares all the nodes in a given changelist
64 * changelist_haszonedchild() - check if there is any child exported to
69 int cn_shared;
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestMaxConsumers.java32 * Regression for 6506495 -DJAVA_DTRACE_MAX_CONSUMERS=N for any N &lt; 8
43 String property = System.getProperty(name); in getIntegerProperty() local
44 if (property != null && property.length() != 0) { in getIntegerProperty()
46 value = Integer.parseInt(property); in getIntegerProperty()
57 Integer property = getIntegerProperty(MAX_CONSUMERS_PROPERTY_NAME); in main() local
58 int max = (property == null ? 0 : property); in main()
59 int n = (property == null ? 11 : (max < 1 ? 1 : max)); in main()
63 for (int i = 0; i < n; ++i) { in main()
67 for (int i = 0; i < n; ++i) { in main()
70 for (int i = 0; i < n; ++i) { in main()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_vcio.c1 /*-
51 int
52 vcio_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, in vcio_ioctl()
55 int error; in vcio_ioctl()
58 uint8_t *property; in vcio_ioctl() local
68 property = malloc(size, M_VCIO, M_WAITOK); in vcio_ioctl()
70 error = copyin(ptr, property, size); in vcio_ioctl()
72 free(property, M_VCIO); in vcio_ioctl()
76 error = bcm2835_mbox_property(property, size); in vcio_ioctl()
78 free(property, M_VCIO); in vcio_ioctl()
[all …]
/freebsd/crypto/openssl/doc/man7/
H A Dopenssl-glossary.pod5 openssl-glossary - An OpenSSL Glossary
9 =for comment Please keep the items in case-insensitive alphabetical order
24 types and values. It is defined in the ITU-T documents X.680 to X.683:
26 L<https://www.itu.int/rec/T-REC-X.680>,
27 L<https://www.itu.int/rec/T-REC-X.681>,
28 L<https://www.itu.int/rec/T-REC-X.682>,
29 L<https://www.itu.int/rec/T-REC-X.683>
37 L<OSSL_PROVIDER-base(7)>
53 L<OSSL_PROVIDER-default(7)>
61 It is defined in ITU-T document X.690:
[all …]
/freebsd/crypto/openssl/doc/internal/man3/
H A DOSSL_METHOD_STORE.pod11 - implementation method store and query
15 #include "internal/property.h"
21 int ossl_method_store_init(OSSL_LIB_CTX *ctx);
23 int ossl_method_store_add(OSSL_METHOD_STORE *store, const OSSL_PROVIDER *prov,
24 int nid, const char *properties, void *method,
25 int (*method_up_ref)(void *),
27 int ossl_method_store_remove(OSSL_METHOD_STORE *store,
28 int nid, const void *method);
29 int ossl_method_store_fetch(OSSL_METHOD_STORE *store,
30 int nid, const char *properties,
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DX509_STORE_add_cert.pod13 - X509_STORE manipulation
21 int X509_STORE_add_cert(X509_STORE *ctx, X509 *x);
22 int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x);
23 int X509_STORE_set_depth(X509_STORE *store, int depth);
24 int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags);
25 int X509_STORE_set_purpose(X509_STORE *ctx, int purpose);
26 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
31 int X509_STORE_set_default_paths_ex(X509_STORE *ctx, OSSL_LIB_CTX *libctx,
33 int X509_STORE_set_default_paths(X509_STORE *ctx);
34 int X509_STORE_load_file_ex(X509_STORE *ctx, const char *file,
[all …]
/freebsd/sbin/bectl/
H A Dbectl_list.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
45 int active_colsz_def;
46 int be_colsz;
47 int current_indent;
48 int mount_colsz;
49 int space_colsz;
57 static void print_padding(const char *fval, int colsz, struct printc *pc);
58 static int print_snapshots(const char *dsname, struct printc *pc);
101 print_padding(const char *fval, int colsz, struct printc *pc) in print_padding()
[all …]

12345678910>>...48