Home
last modified time | relevance | path

Searched refs:uint32 (Results 1 – 21 of 21) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_scaler.c32 static uint32
33 _scaler_fraction_part(uint32 iNum, uint32 iDen, pscaler_fraction_t mode, bool_t *overflow);
82 uint32 *mixed_axis_temp_buffer_size_needed) { in scaler_calculate_scaling_rows()
119 pscaler_config->fSrcStartRow.decimal = (uint32) pscaler_config->iOutStartRow * in scaler_calculate_scaling_rows()
120 (uint32) pscaler_config->iSrcHeight / (uint32) pscaler_config->iOutHeight; in scaler_calculate_scaling_rows()
123 (uint32) pscaler_config->iOutStartRow * (uint32) pscaler_config->iSrcHeight, in scaler_calculate_scaling_rows()
124 (uint32) pscaler_config->iOutHeight, FRACTION_ROUND_UP, &overflow); in scaler_calculate_scaling_rows()
134 fSrcEndRow.decimal = (uint32) pscaler_config->iOutEndRow * in scaler_calculate_scaling_rows()
135 (uint32) pscaler_config->iSrcHeight / (uint32) pscaler_config->iOutHeight; in scaler_calculate_scaling_rows()
137 (uint32) pscaler_config->iOutEndRow * (uint32) pscaler_config->iSrcHeight, in scaler_calculate_scaling_rows()
[all …]
Dwprint_scaler.h34 uint32 decimal;
35 uint32 fraction;
101 uint32 *mixed_axis_temp_buffer_size_needed);
Dwprint_image.c358 uint32 mixed; in wprint_image_set_output_properties()
841 uint32 scaled_start_row = unpadded_start_row; in wprint_image_decode_stripe()
845 uint32 stripe_height, mixed; in wprint_image_decode_stripe()
848 uint32 predecoded_rows; in wprint_image_decode_stripe()
/packages/modules/NeuralNetworks/common/random/
Dphilox_random.h45 typedef uint32_t uint32; typedef
107 using ResultType = Array<uint32, 4>;
108 using ResultElementType = uint32;
115 using Key = Array<uint32, 2>;
122 key_[0] = static_cast<uint32>(seed); in PhiloxRandom()
123 key_[1] = static_cast<uint32>(seed >> 32); in PhiloxRandom()
128 key_[0] = static_cast<uint32>(seed_lo); in PhiloxRandom()
129 key_[1] = static_cast<uint32>(seed_lo >> 32); in PhiloxRandom()
130 counter_[2] = static_cast<uint32>(seed_hi); in PhiloxRandom()
131 counter_[3] = static_cast<uint32>(seed_hi >> 32); in PhiloxRandom()
[all …]
Drandom_distributions.h42 PHILOX_DEVICE_INLINE float Uint32ToFloat(uint32 x);
44 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1);
184 : lo_(lo), range_(static_cast<uint32>(hi) - static_cast<uint32>(lo)) {} in UniformDistribution()
201 uint32 range_;
317 void BoxMullerFloat(uint32 x0, uint32 x1, float* f0, float* f1);
320 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, double* d1);
472 const uint32 x0 = (*gen)(); in operator()
473 const uint32 x1 = (*gen)(); in operator()
513 const uint32 x0 = (*gen)(); in operator()
514 const uint32 x1 = (*gen)(); in operator()
[all …]
Dsimple_philox.h37 PHILOX_DEVICE_INLINE uint32 Rand32() { return single_(); } in Rand32()
41 const uint32 lo = single_(), hi = single_(); in Rand64()
50 const uint32 x0 = single_(), x1 = single_(); in RandDouble()
57 uint32 Skewed(int max_log);
Dsimple_philox.cc23 uint32 SimplePhilox::Skewed(int max_log) { in Skewed()
26 const uint32 mask = shift == 32 ? ~static_cast<uint32>(0) : (1 << shift) - 1; in Skewed()
/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/
DBitUtilsTest.java26 import static com.android.internal.util.BitUtils.uint32;
99 assertEquals(0, uint32(0)); in testUnsignedIntWideningConversions()
100 assertEquals(1, uint32(1)); in testUnsignedIntWideningConversions()
101 assertEquals(2147483647L, uint32(Integer.MAX_VALUE)); in testUnsignedIntWideningConversions()
102 assertEquals(2147483648L, uint32(Integer.MIN_VALUE)); in testUnsignedIntWideningConversions()
103 assertEquals(4294967295L, uint32(-1)); in testUnsignedIntWideningConversions()
104 assertEquals(4294967295L, uint32((int)4294967295L)); in testUnsignedIntWideningConversions()
/packages/services/Car/cpp/computepipe/tests/fuzz/
DFuzz.proto12 required uint32 height = 1;
13 required uint32 width = 2;
15 required uint32 stride = 4;
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DModel.proto147 required uint32 random_seed = 1;
156 required uint32 channel_dim = 2;
160 repeated uint32 dimension = 1;
178 repeated uint32 index = 1;
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h39 #define WPRINT_INTERFACE_VERSION ((uint32)((_INTERFACE_MAJOR_VERSION << 16) | \
41 #define WPRINT_PLUGIN_VERSION(X) ((uint32)((_PLUGIN_MAJOR_VERSION << 16) | (X & 0xffff)))
257 uint32 version;
Dwtypes.h56 #define IMPL(class, member, pointer) ( (class *)( ((uint32)pointer) - offsetof(class, member) ) )
63 typedef unsigned long uint32; typedef
/packages/modules/Virtualization/microdroid/signature/
Dmicrodroid_signature.proto23 uint32 version = 1;
39 uint32 size = 2;
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/
Dtif_commands.proto30 uint32 compat_version = 1;
Drecording_commands.proto30 uint32 compat_version = 1;
Drecording_events.proto32 uint32 compat_version = 1;
Dtif_events.proto29 uint32 compat_version = 1;
/packages/modules/GeoTZ/s2storage/tools/src/proto/
Dgeotz_protos.proto52 required uint32 timeZoneIdSetIndex = 3;
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp90 uint32 *ptr = (uint32 *) pInBuffer; in isWhiteStrip()
1776 uint32 len = numLinesThisCall * scanlineWidth; in Encapsulate()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto1297 optional uint32 allowed_key_management = 1 [default = 0];
1300 optional uint32 allowed_protocols = 2 [default = 0];
1303 optional uint32 allowed_auth_algorithms = 3 [default = 0];
1306 optional uint32 allowed_pairwise_ciphers = 4 [default = 0];
1309 optional uint32 allowed_group_ciphers = 5;
1527 optional uint32 supplicant_state_changes_bitmask = 9 [default = 0];
3919 optional uint32 signal_level = 1;
3921 optional uint32 count = 2;
3924 optional uint32 avg_bandwidth_kbps = 3;
3926 optional uint32 l2_error_percent = 4;
[all …]
Dscorecard.proto138 optional uint32 count = 2;