Home
last modified time | relevance | path

Searched defs:b (Results 1 – 25 of 644) sorted by relevance

12345678910>>...26

/packages/modules/NeuralNetworks/common/cpu_operations/
DReduce.cpp106 return compute<_Float16>(context, 1, [](_Float16 a, _Float16 b) -> _Float16 { in executeProd()
112 return compute<float>(context, 1, [](float a, float b) -> float { in executeProd()
125 return compute<_Float16>(context, 0, [](_Float16 a, _Float16 b) { return a + b; }); in executeSum()
127 return compute<float>(context, 0, [](float a, float b) { return a + b; }); in executeSum()
137 [](_Float16 a, _Float16 b) { return std::max(a, b); }); in executeMax()
140 [](float a, float b) { return std::max(a, b); }); in executeMax()
143 [](uint8_t a, uint8_t b) { return std::max(a, b); }); in executeMax()
146 [](int8_t a, int8_t b) { return std::max(a, b); }); in executeMax()
156 [](_Float16 a, _Float16 b) { return std::min(a, b); }); in executeMin()
159 [](float a, float b) { return std::min(a, b); }); in executeMin()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/interface/utils/
DImsMediaTrace.h51 #define IMLOGD_PACKET2(type, format, a, b) \ argument
54 #define IMLOGD_PACKET3(type, format, a, b, c) \ argument
57 #define IMLOGD_PACKET4(type, format, a, b, c, d) \ argument
60 #define IMLOGD_PACKET5(type, format, a, b, c, d, e) \ argument
63 #define IMLOGD_PACKET6(type, format, a, b, c, d, e, f) \ argument
66 #define IMLOGD_PACKET7(type, format, a, b, c, d, e, f, g) \ argument
69 #define IMLOGD_PACKET8(type, format, a, b, c, d, e, f, g, h) \ argument
79 #define IMLOGI2(format, a, b) \ argument
82 #define IMLOGI3(format, a, b, c) \ argument
85 #define IMLOGI4(format, a, b, c, d) \ argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java251 Box b = mBoxes.get(0); in setViewSize() local
296 Box b = mBoxes.get(i); in setBoxSize() local
392 Box b = mBoxes.get(i); in updateScaleAndGapLimit() local
408 Box b = mBoxes.get(i + 1); in getDefaultGapSize() local
424 private int gapToSide(Box b) { in gapToSide()
446 Box b = mBoxes.get(i); in skipAnimation() local
478 Box b = mBoxes.get(0); in zoomIn() local
496 Box b = mBoxes.get(0); in resetToFullView() local
503 Box b = mBoxes.get(0); in beginScale() local
518 Box b = mBoxes.get(0); in scaleBy() local
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/utils/
DRtpTrace.h26 #define RTP_TRACE_WARNING(a, b, c) IMLOGW2(a, b, c) argument
27 #define RTP_TRACE_ERROR(a, b, c) IMLOGE2(a, b, c) argument
28 #define RTP_TRACE_MESSAGE(a, b, c) IMLOGD_PACKET2(IM_PACKET_LOG_RTPSTACK, a, b, c) argument
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp790 bool operator==(const Timing& a, const Timing& b) { in operator ==()
793 bool operator!=(const Timing& a, const Timing& b) { in operator !=()
797 bool operator==(const Capabilities::PerformanceInfo& a, const Capabilities::PerformanceInfo& b) { in operator ==()
800 bool operator!=(const Capabilities::PerformanceInfo& a, const Capabilities::PerformanceInfo& b) { in operator !=()
805 const Capabilities::OperandPerformance& b) { in operator ==()
809 const Capabilities::OperandPerformance& b) { in operator !=()
813 bool operator==(const Capabilities& a, const Capabilities& b) { in operator ==()
821 bool operator!=(const Capabilities& a, const Capabilities& b) { in operator !=()
826 const Extension::OperandTypeInformation& b) { in operator ==()
830 const Extension::OperandTypeInformation& b) { in operator !=()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.h39 inline void db_SolveQuadratic(double *roots,int *nr_roots,double a,double b,double c) in db_SolveQuadratic()
96 inline void db_MultiplyPoly1_1(double *d,const double *a,const double *b) in db_MultiplyPoly1_1()
108 inline void db_MultiplyPoly0_2(double *d,const double *a,const double *b) in db_MultiplyPoly0_2()
120 inline void db_MultiplyPoly1_2(double *d,const double *a,const double *b) in db_MultiplyPoly1_2()
134 inline void db_MultiplyPoly1_3(double *d,const double *a,const double *b) in db_MultiplyPoly1_3()
149 inline void db_AddPolyProduct0_1(double *d,const double *a,const double *b) in db_AddPolyProduct0_1()
159 inline void db_AddPolyProduct0_2(double *d,const double *a,const double *b) in db_AddPolyProduct0_2()
172 inline void db_SubtractPolyProduct0_0(double *d,const double *a,const double *b) in db_SubtractPolyProduct0_0()
182 inline void db_SubtractPolyProduct0_1(double *d,const double *a,const double *b) in db_SubtractPolyProduct0_1()
193 inline void db_SubtractPolyProduct0_2(double *d,const double *a,const double *b) in db_SubtractPolyProduct0_2()
[all …]
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSliceTest.cpp48 double b = 0; in TEST_F() local
67 double b; in TEST_F() member
82 int a, b; in TEST_F() member
87 bool b; in TEST_F() member
115 B b{}; in TEST_F() local
125 B b{}; in TEST_F() local
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPacketReaderTest.java213 final PacketReader b = new NullPacketReader(h, i); in testMinimalRecvBufSize() local
221 final PacketReader b = new NullPacketReader(h, DEFAULT_RECV_BUF_SIZE); in testStartingFromWrongThread() local
228 final PacketReader b = new NullPacketReader(h, DEFAULT_RECV_BUF_SIZE); in testStoppingFromWrongThread() local
235 final PacketReader b = new UdpLoopbackReader(h); in testSuccessToCreateSocket() local
242 final PacketReader b = new NullPacketReader(h, DEFAULT_RECV_BUF_SIZE); in testFailToCreateSocket() local
DIpv6UtilsTest.java57 ByteBuffer b = Ipv6Utils.buildRsPacket(MAC1, MAC2, LINK_LOCAL, ALL_ROUTERS /* no opts */); in testBuildRsPacket() local
83 ByteBuffer b = Ipv6Utils.buildRaPacket(MAC2, MAC1, ROUTER_LINK_LOCAL, ALL_NODES, in testBuildRaPacket() local
117 final ByteBuffer b = Ipv6Utils.buildEchoRequestPacket(MAC2, MAC1, LINK_LOCAL, ALL_NODES); in testBuildEchoRequestPacket() local
136 final ByteBuffer b = Ipv6Utils.buildEchoReplyPacket(LINK_LOCAL, ALL_NODES); in testBuildEchoReplyPacket() local
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java653 PersistableBundle b = in isCarrierVideoPauseSupported() local
666 PersistableBundle b = in isCarrierVideoPresenceSupported() local
699 PersistableBundle b = in isCarrierInstantLetteringSupported() local
711 PersistableBundle b = in isCarrierAdhocConferenceCallSupported() local
724 PersistableBundle b = in isCarrierMergeCallSupported() local
736 PersistableBundle b = in isCarrierMergeImsCallSupported() local
747 PersistableBundle b = in isCarrierEmergencyVideoCallsAllowed() local
759 PersistableBundle b = in isCarrierVideoConferencingSupported() local
773 PersistableBundle b = in isCarrierMergeOfWifiCallsAllowedWhenVoWifiOff() local
786 PersistableBundle b = in isCarrierManageImsConferenceCallSupported() local
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DBitmapUtility.java37 Bitmap b = BitmapFactory.decodeByteArray(data, 0, data.length, opts); in bitmapFromJpeg() local
54 Bitmap b = Bitmap.createBitmap(colors, w, h, Bitmap.Config.ARGB_8888); in bitmapFromYuvImage() local
62 private static Bitmap rotatedBitmap(Bitmap b) { in rotatedBitmap()
/packages/modules/Bluetooth/system/stack/smp/
Dp_256_multprecision.cc37 int multiprecision_compare(uint32_t* a, uint32_t* b) { in multiprecision_compare()
77 uint32_t multiprecision_add(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_add()
94 uint32_t multiprecision_sub(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_sub()
125 uint32_t b = 1; in multiprecision_rshift() local
140 void multiprecision_mersenns_mult_mod(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_mersenns_mult_mod()
153 void multiprecision_add_mod(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_add_mod()
166 void multiprecision_sub_mod(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_sub_mod()
177 uint32_t b = 1; in multiprecision_lshift() local
193 void multiprecision_mult(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_mult()
/packages/modules/Bluetooth/system/gd/security/ecc/
Dmultprecision.cc43 int multiprecision_compare(const uint32_t* a, const uint32_t* b) { in multiprecision_compare()
82 uint32_t multiprecision_add(uint32_t* c, const uint32_t* a, const uint32_t* b) { in multiprecision_add()
99 uint32_t multiprecision_sub(uint32_t* c, const uint32_t* a, const uint32_t* b) { in multiprecision_sub()
127 uint32_t b = 1; in multiprecision_rshift() local
142 void multiprecision_mersenns_mult_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint… in multiprecision_mersenns_mult_mod()
155 void multiprecision_add_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp… in multiprecision_add_mod()
165 void multiprecision_sub_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp… in multiprecision_sub_mod()
175 uint32_t b = 1; in multiprecision_lshift() local
191 void multiprecision_mult(uint32_t* c, const uint32_t* a, const uint32_t* b) { in multiprecision_mult()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DColorSpaceMatrix.java185 public float getRed(int r, int g, int b) { in getRed()
197 public float getGreen(int r, int g, int b) { in getGreen()
209 public float getBlue(int r, int g, int b) { in getBlue()
213 private float getRedf(float r, float g, float b) { in getRedf()
217 private float getGreenf(float r, float g, float b) { in getGreenf()
221 private float getBluef(float r, float g, float b) { in getBluef()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DCountedDataInputStream.java45 public int read(byte[] b) throws IOException { in read()
52 public int read(byte[] b, int off, int len) throws IOException { in read()
85 private void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow()
92 private void readOrThrow(byte[] b) throws IOException { in readOrThrow()
/packages/modules/Connectivity/tests/unit/java/android/net/
DIpMemoryStoreTest.java143 final Blob b = new Blob(); in testPrivateData() local
202 final Blob b = new Blob(); in testEnqueuedIpMsRequests() local
248 final Blob b = new Blob(); in testEnqueuedIpMsRequestsWithException() local
291 final Blob b = new Blob(); in testEnqueuedIpMsRequestsCallbackFunctionWithException() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMetricsTestUtil.java50 static Consumer<Parcel> aBool(boolean b) { in aBool()
54 static Consumer<Parcel> aByte(byte b) { in aByte()
78 static byte b(int i) { in b() method in MetricsTestUtil
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { in read()
51 public int read(byte[] b, int off, int len) throws IOException { in read()
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow()
87 public void readOrThrow(byte[] b) throws IOException { in readOrThrow()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { in read()
51 public int read(byte[] b, int off, int len) throws IOException { in read()
84 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow()
91 public void readOrThrow(byte[] b) throws IOException { in readOrThrow()
/packages/apps/Camera2/src/com/android/camera/exif/
DCountedDataInputStream.java44 public int read(byte[] b) throws IOException { in read()
51 public int read(byte[] b, int off, int len) throws IOException { in read()
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow()
87 public void readOrThrow(byte[] b) throws IOException { in readOrThrow()
/packages/apps/Gallery2/jni/filters/
DredEyeMath.c22 int value(int r, int g, int b) { in value()
27 int b = src[p + 2]; in isRed() local
45 int b = src[p + 2]; in findPossible() local
84 char b = (mask[row + x] | mask[row + x + 1] | mask[row + x - 1] in dialateMaskIfRed() local
106 void stuff(int r, int g, int b, unsigned char *img, int off) { in stuff()
143 int b = src[p + 2]; in filterRedEye() local
Dfilters.h27 #define SetColor(a, r, g, b) (((a) << 24) | ((b) << 16) | ((g) << 8) | ((r) << 0)); argument
33 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
34 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBitmapPool.java194 Bitmap b = null; in decodeSampledBitmapFromResource() local
233 Bitmap b = null; in decodeSampledBitmapFromInputStream() local
273 Bitmap b = null; in decodeByteArray() local
305 Bitmap b = findPoolBitmap(width, height); in createOrReuseBitmap() local
327 public void reclaimBitmap(@NonNull final Bitmap b) { in reclaimBitmap()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMmiUtilsTest.java80 Uri.Builder b = new Uri.Builder(); in testDangerousDialStringsDetected() local
90 Uri.Builder b = new Uri.Builder(); in testNonDangerousDialStringsNotDetected() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/util/
DByteArrayBuffer.java57 public void append(final byte[] b, int off, int len) { in append()
79 public void append(int b) { in append()
88 public void append(final char[] b, int off, int len) { in append()

12345678910>>...26