/packages/services/BuiltInPrintService/jni/plugins/ |
D | wprint_scaler.c | 32 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 …]
|
D | wprint_scaler.h | 34 uint32 decimal; 35 uint32 fraction; 101 uint32 *mixed_axis_temp_buffer_size_needed);
|
D | wprint_image.c | 358 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/ |
D | philox_random.h | 45 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 …]
|
D | random_distributions.h | 42 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 …]
|
D | simple_philox.h | 37 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);
|
D | simple_philox.cc | 23 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/ |
D | BitUtilsTest.java | 26 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/ |
D | Fuzz.proto | 12 required uint32 height = 1; 13 required uint32 width = 2; 15 required uint32 stride = 4;
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | Model.proto | 147 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/ |
D | lib_wprint.h | 39 #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;
|
D | wtypes.h | 56 #define IMPL(class, member, pointer) ( (class *)( ((uint32)pointer) - offsetof(class, member) ) ) 63 typedef unsigned long uint32; typedef
|
/packages/modules/Virtualization/microdroid/signature/ |
D | microdroid_signature.proto | 23 uint32 version = 1; 39 uint32 size = 2;
|
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/ |
D | tif_commands.proto | 30 uint32 compat_version = 1;
|
D | recording_commands.proto | 30 uint32 compat_version = 1;
|
D | recording_events.proto | 32 uint32 compat_version = 1;
|
D | tif_events.proto | 29 uint32 compat_version = 1;
|
/packages/modules/GeoTZ/s2storage/tools/src/proto/ |
D | geotz_protos.proto | 52 required uint32 timeZoneIdSetIndex = 3;
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 90 uint32 *ptr = (uint32 *) pInBuffer; in isWhiteStrip() 1776 uint32 len = numLinesThisCall * scanlineWidth; in Encapsulate()
|
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 1297 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 …]
|
D | scorecard.proto | 138 optional uint32 count = 2;
|