Home
last modified time | relevance | path

Searched refs:value_size (Results 1 – 25 of 60) sorted by relevance

123

/third_party/glib/gio/
Dthumbnail-verify.c49 guint32 value_size) in check_integer_match() argument
57 return value_size == 1 && value[0] == '0'; in check_integer_match()
60 while (expected && value_size) in check_integer_match()
63 if (value[value_size - 1] != (gchar) ((expected % 10) + '0')) in check_integer_match()
68 value_size--; in check_integer_match()
72 return !expected && !value_size; in check_integer_match()
80 guint32 value_size, in check_png_info_chunk() argument
89 if (expected_size != value_size) in check_png_info_chunk()
92 if (memcmp (expected_info->uri, value, value_size) != 0) in check_png_info_chunk()
100 if (!check_integer_match (expected_info->mtime, value, value_size)) in check_png_info_chunk()
[all …]
/third_party/boost/boost/icl/type_traits/
Dvalue_size.hpp28 struct value_size struct
36 template<> inline std::size_t value_size<int>::apply(const int& value) in apply()
39 template<> inline std::size_t value_size<double>::apply(const double& value) in apply()
43 inline std::size_t value_size<Type>::apply(const Type& value) in apply()
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dkshelpers.c182 GUID prop_set, gulong prop_id, gpointer value, gulong value_size, in ks_filter_get_pin_property() argument
196 sizeof (prop), value, value_size, &bytes_returned, error); in ks_filter_get_pin_property()
242 gulong prop_flags, gpointer * value, gulong * value_size, gulong * error) in ks_object_query_property() argument
256 if (value_size == NULL || *value_size == 0) { in ks_object_query_property()
262 req_value_size = *value_size; in ks_object_query_property()
272 if (value_size != NULL) in ks_object_query_property()
273 *value_size = bytes_written; in ks_object_query_property()
284 if (value_size != NULL) in ks_object_query_property()
285 *value_size = 0; in ks_object_query_property()
292 gpointer * value, gulong * value_size, gulong * error) in ks_object_get_property() argument
[all …]
Dkshelpers.h45 …, gulong pin_id, GUID prop_set, gulong prop_id, gpointer value, gulong value_size, gulong * error);
48 …rop_set, gulong prop_id, gulong prop_flags, gpointer * value, gulong * value_size, gulong * error);
49 …NDLE handle, GUID prop_set, gulong prop_id, gpointer * value, gulong * value_size, gulong * error);
50 … (HANDLE handle, GUID prop_set, gulong prop_id, gpointer value, gulong value_size, gulong * error);
/third_party/boost/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/contrib/rapidxml-1.13/
Drapidxml_print.hpp189 … if (find_char<Ch, Ch('"')>(attribute->value(), attribute->value() + attribute->value_size())) in print_attributes()
192 …y_and_expand_chars(attribute->value(), attribute->value() + attribute->value_size(), Ch('"'), out); in print_attributes()
198 …y_and_expand_chars(attribute->value(), attribute->value() + attribute->value_size(), Ch('\''), out… in print_attributes()
213 … out = copy_and_expand_chars(node->value(), node->value() + node->value_size(), Ch(0), out); in print_data_node()
233 out = copy_chars(node->value(), node->value() + node->value_size(), out); in print_cdata_node()
254 if (node->value_size() == 0 && !node->first_node()) in print_element_node()
270 … out = copy_and_expand_chars(node->value(), node->value() + node->value_size(), Ch(0), out); in print_element_node()
275 … out = copy_and_expand_chars(child->value(), child->value() + child->value_size(), Ch(0), out); in print_element_node()
330 out = copy_chars(node->value(), node->value() + node->value_size(), out); in print_comment_node()
354 out = copy_chars(node->value(), node->value() + node->value_size(), out); in print_doctype_node()
[all …]
Drapidxml.hpp417 std::size_t name_size = 0, std::size_t value_size = 0) in allocate_node() argument
430 if (value_size > 0) in allocate_node()
431 node->value(value, value_size); in allocate_node()
448 std::size_t name_size = 0, std::size_t value_size = 0) in allocate_attribute() argument
461 if (value_size > 0) in allocate_attribute()
462 attribute->value(value, value_size); in allocate_attribute()
511 result->value(source->value(), source->value_size()); in clone_node()
517 …_attribute(allocate_attribute(attr->name(), attr->value(), attr->name_size(), attr->value_size())); in clone_node()
700 std::size_t value_size() const in value_size() function in rapidxml::xml_base
1916 pi->value()[pi->value_size()] = Ch('\0'); in parse_pi()
[all …]
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux_dump.c88 guint value_size; in qtdemux_dump_tkhd() local
95 value_size = ((version >> 24) == 1) ? sizeof (guint64) : sizeof (guint32); in qtdemux_dump_tkhd()
97 if (qt_atom_parser_get_offset (data, value_size, &ctime) && in qtdemux_dump_tkhd()
98 qt_atom_parser_get_offset (data, value_size, &mtime) && in qtdemux_dump_tkhd()
101 qt_atom_parser_get_offset (data, value_size, &duration) && in qtdemux_dump_tkhd()
155 guint value_size; in qtdemux_dump_mdhd() local
162 value_size = ((version >> 24) == 1) ? sizeof (guint64) : sizeof (guint32); in qtdemux_dump_mdhd()
164 if (qt_atom_parser_get_offset (data, value_size, &ctime) && in qtdemux_dump_mdhd()
165 qt_atom_parser_get_offset (data, value_size, &mtime) && in qtdemux_dump_mdhd()
167 qt_atom_parser_get_offset (data, value_size, &duration) && in qtdemux_dump_mdhd()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dstructures.c463 int32_t value_size; in SPDYF_name_value_to_stream() local
537 value_size = offset - value_offset - 4; in SPDYF_name_value_to_stream()
538 value_size = htonl(value_size); in SPDYF_name_value_to_stream()
539 memcpy(*stream + value_offset, &value_size, 4); in SPDYF_name_value_to_stream()
559 int32_t value_size; in SPDYF_name_value_from_stream() local
594 memcpy(&value_size, stream + offset, 4); in SPDYF_name_value_from_stream()
596 value_size = ntohl(value_size); in SPDYF_name_value_from_stream()
597 value_end_offset = offset + value_size; in SPDYF_name_value_from_stream()
601 if(NULL == (value = strndup(stream + offset, value_size))) in SPDYF_name_value_from_stream()
/third_party/ffmpeg/libavformat/
Daaxdec.c168 int value_size; in aax_read_header() local
181 value_size = 0x01; in aax_read_header()
185 value_size = 0x02; in aax_read_header()
191 value_size = 0x04; in aax_read_header()
194 value_size = 0x08; in aax_read_header()
197 value_size = 0x10; in aax_read_header()
204 a->xcolumns[c].size = value_size; in aax_read_header()
212 avio_skip(pb, value_size); in aax_read_header()
218 column_offset += value_size; in aax_read_header()
/third_party/iowow/src/kv/benchmark/
Dbmbase.c48 int value_size; member
330 int value_size = ctx->value_size; in _do_write() local
333 value_size = iwu_rand_range(ctx->value_size + 1); in _do_write()
334 if (value_size == 0) { in _do_write()
335 value_size = 1; in _do_write()
342 val.data = (void *) _bmctx_rndbuf_nextptr(ctx, value_size); in _do_write()
343 val.size = value_size; in _do_write()
497 ctx->value_size = 100 * 1000; in _bm_fill100K()
598 bmctx->value_size = bm.param_value_size; in _bmctx_create()
/third_party/protobuf/python/google/protobuf/internal/
Dencoder.py184 def _FixedSizer(value_size): argument
193 result = len(value) * value_size
197 element_size = value_size + tag_size
202 field_size = value_size + tag_size
514 value_size = struct.calcsize(format)
523 local_EncodeVarint(write, len(value) * value_size, deterministic)
556 value_size = struct.calcsize(format)
557 if value_size == 4:
568 elif value_size == 8:
580 '%d bytes long (only 4 or 8)' % value_size)
[all …]
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c166 int value_size = DEFAULT_VALUE_SIZE; in setup() local
168 if (sscanf(narg, "%i", &value_size) != 1) in setup()
170 if (value_size <= 0) in setup()
175 val.size = value_size; in setup()
176 val.buf = SAFE_MALLOC(NULL, value_size); in setup()
/third_party/boost/boost/property_tree/detail/
Dxml_parser_read_rapidxml.hpp47 … pt_attr.data() = typename Ptree::key_type(attr->value(), attr->value_size()); in read_xml_node()
66 pt.data() += typename Ptree::key_type(node->value(), node->value_size()); in read_xml_node()
75 … Ptree(typename Ptree::key_type(node->value(), node->value_size())))); in read_xml_node()
Drapidxml.hpp405 std::size_t name_size = 0, std::size_t value_size = 0) in allocate_node() argument
418 if (value_size > 0) in allocate_node()
419 node->value(value, value_size); in allocate_node()
436 std::size_t name_size = 0, std::size_t value_size = 0) in allocate_attribute() argument
449 if (value_size > 0) in allocate_attribute()
450 attribute->value(value, value_size); in allocate_attribute()
499 result->value(source->value(), source->value_size()); in clone_node()
505 …_attribute(allocate_attribute(attr->name(), attr->value(), attr->name_size(), attr->value_size())); in clone_node()
684 std::size_t value_size() const in value_size() function in boost::property_tree::detail::rapidxml::xml_base
1911 pi->value()[pi->value_size()] = Ch('\0'); in parse_pi()
[all …]
/third_party/gn/src/gn/
Dfunction_rebase_path.cc39 size_t value_size = value.size(); in ValueLooksLikeDir() local
43 while (num_dots < value_size && value[value_size - num_dots - 1] == '.') in ValueLooksLikeDir()
49 if (IsSlash(value[value_size - num_dots - 1])) in ValueLooksLikeDir()
/third_party/iowow/src/kv/tests/
Diwkv_test4.c212 uint32_t value_size = iwu_rand_range(vrange + 1); in iwkv_test2_impl() local
213 if (value_size == 0) { in iwkv_test2_impl()
214 value_size = 1; in iwkv_test2_impl()
216 val.data = rndbuf_next(value_size); in iwkv_test2_impl()
217 val.size = value_size; in iwkv_test2_impl()
/third_party/mesa3d/src/panfrost/bifrost/
Dgen_disasm.py205 def invert_lut(value_size, forward, derived, mod_map, keys, mod_vals): argument
206 backwards = [None] * (1 << value_size)
250 value_size = sum([width for ((x, width), y) in derived])
251 backwards = [invert_lut(value_size, f, derived, mod_map, keys, mod_vals) for f in forward]
/third_party/e2fsprogs/misc/
Dcreate_inode.c144 ssize_t size, value_size; in set_inode_xattr() local
194 value_size = lgetxattr(filename, name, NULL, 0); in set_inode_xattr()
195 if (value_size == -1) { in set_inode_xattr()
203 retval = ext2fs_get_mem(value_size, &value); in set_inode_xattr()
209 value_size = lgetxattr(filename, name, value, value_size); in set_inode_xattr()
210 if (value_size == -1) { in set_inode_xattr()
219 retval = ext2fs_xattr_set(handle, name, value, value_size); in set_inode_xattr()
/third_party/mindspore/mindspore/ops/composite/multitype_ops/
D_constexpr_utils.py385 def check_indices_value_size(indices_size, value_size): argument
387 if value_size < 1:
389 if value_size > 1:
390 if value_size != indices_size:
393 " value size:{}, indics size:{}".format(value_size, indices_size))
394 return value_size
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstxmlhelper.h84 const gchar * property_name, guint ** property_value, guint * value_size);
121 …set_prop_uint_vector_type (xmlNode * a_node, const gchar * name, guint * value, guint value_size);
Dgstxmlhelper.c490 const gchar * property_name, guint ** property_value, guint * value_size) in gst_xml_helper_get_prop_uint_vector_type() argument
501 *value_size = g_strv_length (str_vector); in gst_xml_helper_get_prop_uint_vector_type()
502 prop_uint_vector = g_malloc (*value_size * sizeof (guint)); in gst_xml_helper_get_prop_uint_vector_type()
506 for (i = 0; i < *value_size; i++) { in gst_xml_helper_get_prop_uint_vector_type()
1144 guint * value, guint value_size) in gst_xml_helper_set_prop_uint_vector_type() argument
1151 for (i = 0; i < value_size; i++) { in gst_xml_helper_set_prop_uint_vector_type()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dtf_reader_op.cc420 *num_elements = bytes_list.value_size(); in LoadBytesList()
430 for (uint32_t i = 0; i < bytes_list.value_size(); ++i) { in LoadBytesList()
487 *num_elements = float_list.value_size(); in LoadFloatList()
489 for (int i = 0; i < float_list.value_size(); ++i) { in LoadFloatList()
540 *num_elements = int64_list.value_size(); in LoadIntList()
/third_party/python/Lib/test/
Dtest_dbm_gnu.py95 value_size = max(size0, 10000)
96 self.g['x'] = 'x' * value_size
/third_party/grpc/third_party/upb/upb/
Dmsg.c129 upb_map *_upb_map_new(upb_arena *a, size_t key_size, size_t value_size) { in _upb_map_new() argument
138 map->val_size = value_size; in _upb_map_new()
/third_party/boost/boost/icl/
Dright_open_interval.hpp109 struct value_size<icl::right_open_interval<DomainT,Compare> > struct

123