Home
last modified time | relevance | path

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

12345678910>>...42

/freebsd-src/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-src/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-src/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_array, None, doc='''A read only property that returns a list() of l…
[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 indexes here
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 object out of which you can read uint8 values.''')
138 uint16 = property(_make_helper_uint1
[all...]
H A DSBBreakpointExtensions.i14 return int(self.sbbreakpoint.GetNumLocations())
18 if isinstance(key, int):
20 if -count <= key < count:
47 …locations = property(get_breakpoint_location_list, None, doc='''A read only property that returns …
48 …location = property(get_locations_access_object, None, doc='''A read only property that returns an…
49 … id = property(GetID, None, doc='''A read only property that returns the ID of this breakpoint.''')
50 …enabled = property(IsEnabled, SetEnabled, doc='''A read/write property that configures whether thi…
51 …one_shot = property(IsOneShot, SetOneShot, doc='''A read/write property that configures whether th…
52 …num_locations = property(GetNumLocations, None, doc='''A read only property that returns the count…
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 inte…
49 …idx = property(GetIndexID, None, doc='''A read only property that returns the thread index ID as a…
50 …return_value = property(GetStopReturnValue, None, doc='''A read only property that returns an lldb…
51 …process = property(GetProcess, None, doc='''A read only property that returns an lldb object that …
52 …num_frames = property(GetNumFrames, None, doc='''A read only property that returns the number of s…
53 …frames = property(get_thread_frames, None, doc='''A read only property that returns a list() of ll…
54 …frame = property(get_frames_access_object, None, doc='''A read only property that returns an objec…
[all …]
H A DSBProcessExtensions.i8 This functions the same as `WriteMemory` except a null-terminator is appended
13 if not str[-1] == '\0':
51 return int(self.sbprocess.GetNumThreads())
55 if isinstance(key, int):
57 if -count <= key < count:
85 …threads = property(get_process_thread_list, None, doc='''A read only property that returns a list(…
86 …thread = property(get_threads_access_object, None, doc='''A read only property that returns an obj…
87 …is_alive = property(__get_is_alive__, None, doc='''A read only property that returns a boolean val…
88 …is_running = property(__get_is_running__, None, doc='''A read only property that returns a boolean…
89 …is_stopped = property(__get_is_stopped__, None, doc='''A read only property that returns a boolean…
[all …]
/freebsd-src/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-
1071 struct drm_property *property, *pt; drm_mode_config_cleanup() local
2771 struct drm_property *property = NULL; drm_property_create() local
2813 struct drm_property *property; drm_property_create_enum() local
2841 struct drm_property *property; drm_property_create_bitmask() local
2868 struct drm_property *property; drm_property_create_range() local
2883 drm_property_add_enum(struct drm_property * property,int index,uint64_t value,const char * name) drm_property_add_enum() argument
2923 drm_property_destroy(struct drm_device * dev,struct drm_property * property) drm_property_destroy() argument
2941 drm_object_attach_property(struct drm_mode_object * obj,struct drm_property * property,uint64_t init_val) drm_object_attach_property() argument
2961 drm_object_property_set_value(struct drm_mode_object * obj,struct drm_property * property,uint64_t val) drm_object_property_set_value() argument
2977 drm_object_property_get_value(struct drm_mode_object * obj,struct drm_property * property,uint64_t * val) drm_object_property_get_value() argument
2997 struct drm_property *property; drm_mode_getproperty_ioctl() local
3195 drm_property_change_is_valid(struct drm_property * property,uint64_t value) drm_property_change_is_valid() argument
3238 drm_mode_connector_set_obj_prop(struct drm_mode_object * obj,struct drm_property * property,uint64_t value) drm_mode_connector_set_obj_prop() argument
3259 drm_mode_crtc_set_obj_prop(struct drm_mode_object * obj,struct drm_property * property,uint64_t value) drm_mode_crtc_set_obj_prop() argument
3274 drm_mode_plane_set_obj_prop(struct drm_mode_object * obj,struct drm_property * property,uint64_t value) drm_mode_plane_set_obj_prop() argument
3350 struct drm_property *property; drm_mode_obj_set_property_ioctl() local
[all...]
/freebsd-src/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-src/sys/contrib/openzfs/module/zfs/
H A Dzcp_get.c47 static int
50 int error; in get_objset_type()
55 if (ds->ds_is_snapshot) { in get_objset_type()
58 switch (os->os_phys->os_type) { in get_objset_type()
76 static int
80 int error = get_objset_type(ds, &type); in get_objset_type_name()
100 * Determines the source of a property given its setpoint and
101 * property type. It pushes the source to the lua stack.
123 static int
125 const char *property_name, int error) in zcp_handle_error()
[all …]
/freebsd-src/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_sysfs.c9 * or https://opensource.org/licenses/CDDL-1.0.
44 * and property attributes. The primary consumer of this information
47 * this information when instantiating the zfs|zpool property tables
50 * The added top-level directories are:
87 * These are the top-level kobjects under '/sys/module/zfs/'
106 if (zkobj->zko_child_count != 0) { in zfs_kobj_fini()
107 ASSERT(zkobj->zko_children); in zfs_kobj_fini()
108 for (int i = 0; i < zkobj->zko_child_count; i++) in zfs_kobj_fini()
109 zfs_kobj_fini(&zkobj->zko_children[i]); in zfs_kobj_fini()
113 kobject_del(&zkobj->zko_kobj); in zfs_kobj_fini()
[all …]
/freebsd-src/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)) == - in ofw_bus_gen_setup_devinfo()
[all...]
/freebsd-src/sys/contrib/openzfs/include/
H A Dzfs_prop.h9 * or https://opensource.org/licenses/CDDL-1.0.
69 const char *pd_name; /* human-readable property name */
70 int pd_propnum; /* property number */
75 int pd_types; /* bitfield of valid dataset types */
80 boolean_t pd_visible: 1; /* do we list this property with the */
83 boolean_t pd_always_flex: 1; /* never fixed-width */
90 * zfs dataset property functions
98 * zpool property functions
105 * vdev property functions
112 * Common routines to initialize property tables
[all …]
/freebsd-src/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_changelist.c9 * or https://opensource.org/licenses/CDDL-1.0.
46 * 'mountpoint' property, we record whether the filesystem was previously
48 * dataset after the property has been changed.
54 * < change property >
60 * changelist_remove() - remove a node from a gathered list
61 * changelist_rename() - renames all datasets appropriately when doing a rename
62 * changelist_unshare() - unshares all the nodes in a given changelist
63 * changelist_haszonedchild() - check if there is any child exported to
68 int cn_shared;
69 int cn_mounte
501 char property[ZFS_MAXPROPLEN]; change_one() local
643 char property[ZFS_MAXPROPLEN]; changelist_gather() local
[all...]
/freebsd-src/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-src/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-src/usr.sbin/ctld/
H A Duclparse.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
65 if (!user || user->type != UCL_STRING) { in uclparse_chap()
66 log_warnx("chap section in auth-group \"%s\" is missing " in uclparse_chap()
67 "\"user\" string key", auth_group->ag_name); in uclparse_chap()
72 if (!secret || secret->type != UCL_STRING) { in uclparse_chap()
73 log_warnx("chap section in auth-grou in uclparse_chap()
[all...]
/freebsd-src/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-src/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_vecto in TEST()
1391 operator ++(int) operator ++() argument
[all...]
/freebsd-src/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-src/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-src/crypto/openssl/doc/man3/
H A DEVP_set_default_properties.pod7 - Set default properties for future algorithm fetches
13 int EVP_set_default_properties(OSSL_LIB_CTX *libctx, const char *propq);
14 int EVP_default_properties_enable_fips(OSSL_LIB_CTX *libctx, int enable);
15 int EVP_default_properties_is_fips_enabled(OSSL_LIB_CTX *libctx);
28 Any previous default property for the specified library context will
31 EVP_default_properties_enable_fips() sets the 'fips=yes' to be a default property
32 if I<enable> is non zero, otherwise it clears 'fips' from the default property
33 query for the given I<libctx>. It merges the fips default property query with any
37 property for the given I<libctx>.
52 property is set for the given I<libctx>, otherwise it returns 0.
[all …]
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 …]

12345678910>>...42