Home
last modified time | relevance | path

Searched refs:num_values (Results 1 – 25 of 49) sorted by relevance

12

/third_party/cups-filters/backend/
Dieee1284.c312 int num_values; /* Number of keys and values */ in backendGetDeviceID()
325 num_values = get_1284_values(device_id, &values); in backendGetDeviceID()
327 if ((sern = cupsGetOption("SERIALNUMBER", num_values, values)) == NULL) in backendGetDeviceID()
328 if ((sern = cupsGetOption("SERN", num_values, values)) == NULL) in backendGetDeviceID()
329 sern = cupsGetOption("SN", num_values, values); in backendGetDeviceID()
331 if ((mfg = cupsGetOption("MANUFACTURER", num_values, values)) == NULL) in backendGetDeviceID()
332 mfg = cupsGetOption("MFG", num_values, values); in backendGetDeviceID()
334 if ((mdl = cupsGetOption("MODEL", num_values, values)) == NULL) in backendGetDeviceID()
335 mdl = cupsGetOption("MDL", num_values, values); in backendGetDeviceID()
374 cupsFreeOptions(num_values, values); in backendGetDeviceID()
[all …]
/third_party/node/deps/v8/src/torque/
Dinstance-type-generator.cc22 num_values(0), in InstanceTypeTree()
29 int num_values; // Number of values assigned for this and subclasses. member
81 root->num_values += child->num_values; in PropagateInstanceTypeConstraints()
88 root->num_values += root->num_own_values; in PropagateInstanceTypeConstraints()
92 root->num_values = 1 << constraints.num_flags_bits; in PropagateInstanceTypeConstraints()
93 root->num_own_values = root->num_values; in PropagateInstanceTypeConstraints()
95 root->end = root->num_values - 1; in PropagateInstanceTypeConstraints()
128 return (a->num_values > b->num_values) in operator ()()
130 : (a->num_values < b->num_values) in operator ()()
225 if (it->second->num_values + start_value <= constrained_child->start) { in SolveInstanceTypeConstraints()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dstructures.c98 container->num_values = 1; in SPDY_name_value_add()
141 pair->num_values = 1; in SPDY_name_value_add()
153 for(i=0; i<pair->num_values; ++i) in SPDY_name_value_add()
160 if (NULL == (temp_value = malloc((pair->num_values + 1) * sizeof(char *)))) in SPDY_name_value_add()
164 memcpy(temp_value, pair->value, pair->num_values * sizeof(char *)); in SPDY_name_value_add()
165 if (NULL == (temp_value[pair->num_values] = strdup (value))) in SPDY_name_value_add()
172 ++pair->num_values; in SPDY_name_value_add()
192 int *num_values) in SPDY_name_value_lookup() argument
196 if(NULL == container || NULL == name || NULL == num_values) in SPDY_name_value_lookup()
205 *num_values = temp->num_values; in SPDY_name_value_lookup()
[all …]
Dapplicationlayer.c95 if(1 != iterator->num_values) in spdy_handler_new_stream()
101 if(1 != iterator->num_values) in spdy_handler_new_stream()
107 if(1 != iterator->num_values) in spdy_handler_new_stream()
114 if(1 != iterator->num_values) in spdy_handler_new_stream()
120 if(1 != iterator->num_values) in spdy_handler_new_stream()
125 for(i=0; i<iterator->num_values; ++i) in spdy_handler_new_stream()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc342 void CountingSort(T* values, size_t num_values) { in CountingSort() argument
346 for (size_t i = 0; i < num_values; ++i) { in CountingSort()
367 ABSL_RAW_CHECK(p == values + num_values, "Did not produce enough output"); in CountingSort()
398 const size_t num_values) { in ModeOfSorted() argument
400 size_t half_count = num_values / 2; in ModeOfSorted()
417 T Mode(T* values, const size_t num_values) { in Mode() argument
418 CountingSort(values, num_values); in Mode()
419 return ModeOfSorted(values, num_values); in Mode()
429 T Median(T* values, const size_t num_values) { in Median() argument
430 ABSL_RAW_CHECK(num_values != 0, "Empty input"); in Median()
[all …]
/third_party/rust/crates/clap/src/builder/
Drange.rs94 pub(crate) fn num_values(&self) -> Option<usize> { in num_values() method
203 assert_eq!(range.num_values(), Some(5)); in from_fixed()
214 assert_eq!(range.num_values(), Some(0)); in from_fixed_empty()
225 assert_eq!(range.num_values(), None); in from_range()
236 assert_eq!(range.num_values(), None); in from_range_inclusive()
247 assert_eq!(range.num_values(), None); in from_range_full()
258 assert_eq!(range.num_values(), None); in from_range_from()
269 assert_eq!(range.num_values(), None); in from_range_to()
280 assert_eq!(range.num_values(), None); in from_range_to_inclusive()
/third_party/cups-filters/cupsfilters/
Dlut.c98 cupsLutNew(int num_values, /* I - Number of values */ in cupsLutNew() argument
112 if (!num_values || !values) in cupsLutNew()
130 maxval = CUPS_MAX_LUT / values[num_values - 1]; in cupsLutNew()
135 for (pixel = 0; pixel < num_values; pixel ++) in cupsLutNew()
152 if (pixel == (num_values - 1)) in cupsLutNew()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dbit_cast_test.cc32 void TestMarshall(const T values[], int num_values) { in TestMarshall() argument
33 for (int i = 0; i < num_values; ++i) { in TestMarshall()
52 void TestIntegral(const T values[], int num_values) { in TestIntegral() argument
53 for (int i = 0; i < num_values; ++i) { in TestIntegral()
/third_party/skia/third_party/externals/tint/src/transform/
Dzero_init_workgroup_memory.cc127 var->Type()->UnwrapRef(), [&](uint32_t num_values) { in Run() argument
129 return Expression{b.Expr(var_name), num_values, ArrayIndices{}}; in Run()
269 using BuildZeroingExpr = std::function<Expression(uint32_t num_values)>;
297 BuildZeroingStatements(member->Type(), [&](uint32_t num_values) { in BuildZeroingStatements() argument
298 auto s = get_expr(num_values); in BuildZeroingStatements()
307 BuildZeroingStatements(arr->ElemType(), [&](uint32_t num_values) { in BuildZeroingStatements() argument
314 auto modulo = num_values * arr->Count(); in BuildZeroingStatements()
315 auto division = num_values; in BuildZeroingStatements()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_struct_namevalue.c42 iterate_cb (void *cls, const char *name, const char * const * value, int num_values) in iterate_cb() argument
54 if(1 != num_values) in iterate_cb()
70 iterate_brake_cb (void *cls, const char *name, const char * const *value, int num_values) in iterate_brake_cb() argument
74 (void)num_values; in iterate_brake_cb()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c84 unsigned num_values; member
450 for (j = 0; j < (test->num_values + length - 1) / length; j++) { in test_unary()
451 int num_vals = ((j + 1) * length <= test->num_values) ? length : in test_unary()
452 test->num_values % length; in test_unary()
Dlp_query.c232 unsigned num_values = 1; in llvmpipe_get_query_result_resource() local
285 num_values = 2; in llvmpipe_get_query_result_resource()
344 for (unsigned i = 0; i < num_values; i++) { in llvmpipe_get_query_result_resource()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dspdy_event_loop.c181 const char *name, const char * const *value, int num_values) in append_headers_to_data() argument
187 if(num_values) in append_headers_to_data()
188 for(i=0;i<num_values;++i) in append_headers_to_data()
/third_party/node/deps/v8/tools/debug_helper/
Ddebug-helper-internal.h84 size_t num_values, size_t size, in ObjectProperty() argument
90 num_values_(num_values), in ObjectProperty()
98 public_view_.num_values = num_values_; in GetPublicView()
Ddebug-helper.h113 size_t num_values; member
/third_party/rust/crates/clap/src/error/
Dformat.rs339 let num_values = error.get(ContextKind::ExpectedNumValues); in write_dynamic_context() localVariable
343 Some(ContextValue::Number(num_values)), in write_dynamic_context()
344 ) = (invalid_arg, actual_num_values, num_values) in write_dynamic_context()
347 styled.warning(num_values.to_string()); in write_dynamic_context()
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
Dproxy.c539 int num_values; in curl_header_cb() local
660 if(NULL != (values = SPDY_name_value_lookup(proxy->headers, name, &num_values))) in curl_header_cb()
661 for(i=0; i<(unsigned int)num_values; ++i) in curl_header_cb()
790 iterate_cb (void *cls, const char *name, const char * const * value, int num_values) in iterate_cb() argument
798 for(i=0; i<num_values; ++i) in iterate_cb()
814 for(i=0; i<num_values; ++i) in iterate_cb()
/third_party/mesa3d/src/intel/compiler/
Dbrw_compiler.c289 unsigned num_values) in brw_write_shader_relocs() argument
294 for (unsigned j = 0; j < num_values; j++) { in brw_write_shader_relocs()
/third_party/mesa3d/src/compiler/isaspec/
Ddecode.h42 unsigned num_values; member
/third_party/skia/third_party/externals/microhttpd/src/include/
Dmicrospdy.h641 int num_values);
1049 int *num_values);
/third_party/python/Lib/test/
Dtest_winreg.py273 num_subkeys, num_values, t = QueryInfoKey(key)
274 for i in range(num_values):
291 num_subkeys, num_values, t = QueryInfoKey(key)
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_lds.h40 unsigned num_values() const { return m_dest_value.size();} in num_values() function
/third_party/mesa3d/src/mesa/main/
Dshader_query.cpp1315 unsigned num_values = 0; in get_buffer_property() local
1328 num_values++; in get_buffer_property()
1330 return num_values; in get_buffer_property()
1357 unsigned num_values = 0; in get_buffer_property() local
1370 num_values++; in get_buffer_property()
1372 return num_values; in get_buffer_property()
/third_party/gstreamer/gstplugins_good/gst/spectrum/
Dgstspectrum.c617 gst_spectrum_message_add_list (GValue * cv, gfloat * data, guint num_values) in gst_spectrum_message_add_list() argument
623 for (i = 0; i < num_values; i++) { in gst_spectrum_message_add_list()
631 gst_spectrum_message_add_array (GValue * cv, gfloat * data, guint num_values) in gst_spectrum_message_add_array() argument
640 for (i = 0; i < num_values; i++) { in gst_spectrum_message_add_array()
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgstav1parse.c554 guint num_values = gst_value_list_get_size (alignment_value); in gst_av1_parse_caps_has_alignment() local
556 for (j = 0; j < num_values; j++) { in gst_av1_parse_caps_has_alignment()
564 if (j == num_values) in gst_av1_parse_caps_has_alignment()
574 guint num_values = gst_value_list_get_size (stream_value); in gst_av1_parse_caps_has_alignment() local
576 for (j = 0; j < num_values; j++) { in gst_av1_parse_caps_has_alignment()
584 if (j == num_values) in gst_av1_parse_caps_has_alignment()

12