Home
last modified time | relevance | path

Searched refs:int32 (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/external/neven/Embedded/common/src/b_TensorEm/
DCompactMat.c40 int32 bts_CompactMat_fltDotPrdRow( struct bbs_Context* cpA, in bts_CompactMat_fltDotPrdRow()
51 int32 factorManL = *rowPtrL++; in bts_CompactMat_fltDotPrdRow()
52 int32 factorExpL = *rowPtrL++; in bts_CompactMat_fltDotPrdRow()
61 int32 sumL = 0; in bts_CompactMat_fltDotPrdRow()
69 for( iL = sizeL; iL > 0; iL-- ) sumL += ( ( int32 )*rowPtrL++ * ( int32 )*inPtrL++ ); in bts_CompactMat_fltDotPrdRow()
80 sumL += ( ( int8 ) dpL[ 0 ] * ( int32 )inPtrL[ 0 ] ); in bts_CompactMat_fltDotPrdRow()
81 sumL += ( ( int8 )( dpL[ 0 ] >> 8 ) * ( int32 )inPtrL[ 1 ] ); in bts_CompactMat_fltDotPrdRow()
82 sumL += ( ( int8 ) dpL[ 1 ] * ( int32 )inPtrL[ 2 ] ); in bts_CompactMat_fltDotPrdRow()
83 sumL += ( ( int8 )( dpL[ 1 ] >> 8 ) * ( int32 )inPtrL[ 3 ] ); in bts_CompactMat_fltDotPrdRow()
84 sumL += ( ( int8 ) dpL[ 2 ] * ( int32 )inPtrL[ 4 ] ); in bts_CompactMat_fltDotPrdRow()
[all …]
DFlt16Vec3D.c72 int32 bbpDiffL = ptrA->bbpE - srcPtrA->bbpE; in bts_Flt16Vec3D_equal()
83 int32 xL = ( int32 ) srcPtrA->xE << bbpDiffL; in bts_Flt16Vec3D_equal()
84 int32 yL = ( int32 ) srcPtrA->yE << bbpDiffL; in bts_Flt16Vec3D_equal()
85 int32 zL = ( int32 ) srcPtrA->zE << bbpDiffL; in bts_Flt16Vec3D_equal()
94 int32 xL = ( int32 ) ptrA->xE << -bbpDiffL; in bts_Flt16Vec3D_equal()
95 int32 yL = ( int32 ) ptrA->yE << -bbpDiffL; in bts_Flt16Vec3D_equal()
96 int32 zL = ( int32 ) ptrA->zE << -bbpDiffL; in bts_Flt16Vec3D_equal()
181 struct bts_Flt16Vec3D bts_Flt16Vec3D_create32( int32 xA, int32 yA, int32 zA, int32 bbpA ) in bts_Flt16Vec3D_create32()
193 int32 shiftL = bts_maxAbsIntLog2Of3( xA, yA, zA ) - 13; in bts_Flt16Vec3D_create32()
197 int32 sh1L = shiftL - 1; in bts_Flt16Vec3D_create32()
[all …]
DFlt16Mat3D.c150 struct bts_Flt16Mat3D bts_Flt16Mat3D_createScale( int32 scaleA, int32 scaleBbpA ) in bts_Flt16Mat3D_createScale()
180 struct bts_Flt16Mat3D bts_Flt16Mat3D_create32( int32 xxA, int32 xyA, int32 xzA, in bts_Flt16Mat3D_create32()
181 int32 yxA, int32 yyA, int32 yzA, in bts_Flt16Mat3D_create32()
182 int32 zxA, int32 zyA, int32 zzA, in bts_Flt16Mat3D_create32()
183 int32 bbpA ) in bts_Flt16Mat3D_create32()
202 int32 xShiftL = bts_maxAbsIntLog2Of3( xxA, xyA, xzA ) - 13; in bts_Flt16Mat3D_create32()
203 int32 yShiftL = bts_maxAbsIntLog2Of3( yxA, yyA, yzA ) - 13; in bts_Flt16Mat3D_create32()
204 int32 zShiftL = bts_maxAbsIntLog2Of3( zxA, zyA, zzA ) - 13; in bts_Flt16Mat3D_create32()
206 int32 shiftL = bbs_max( bbs_max( xShiftL, yShiftL ), zShiftL ); in bts_Flt16Mat3D_create32()
210 int32 sh1L = shiftL - 1; in bts_Flt16Mat3D_create32()
[all …]
DFlt16Mat2D.c84 int32 bbpDiffL = ptrA->bbpE - srcPtrA->bbpE; in bts_Flt16Mat2D_equal()
96 int32 xxL = ( int32 ) srcPtrA->xxE << bbpDiffL; in bts_Flt16Mat2D_equal()
97 int32 xyL = ( int32 ) srcPtrA->xyE << bbpDiffL; in bts_Flt16Mat2D_equal()
98 int32 yxL = ( int32 ) srcPtrA->yxE << bbpDiffL; in bts_Flt16Mat2D_equal()
99 int32 yyL = ( int32 ) srcPtrA->yyE << bbpDiffL; in bts_Flt16Mat2D_equal()
117 int32 xxL = ( int32 ) ptrA->xxE << -bbpDiffL; in bts_Flt16Mat2D_equal()
118 int32 xyL = ( int32 ) ptrA->xyE << -bbpDiffL; in bts_Flt16Mat2D_equal()
119 int32 yxL = ( int32 ) ptrA->yxE << -bbpDiffL; in bts_Flt16Mat2D_equal()
120 int32 yyL = ( int32 ) ptrA->yyE << -bbpDiffL; in bts_Flt16Mat2D_equal()
176 uint32 detL = ( int32 ) ptrA->xxE * ptrA->yyE - ( int32 ) ptrA->xyE * ptrA->yxE; in bts_Flt16Mat2D_det()
[all …]
DFlt16Vec2D.c79 int32 bbpDiffL = ptrA->bbpE - srcPtrA->bbpE; in bts_Flt16Vec2D_equal()
89 int32 xL = ( int32 ) srcPtrA->xE << bbpDiffL; in bts_Flt16Vec2D_equal()
90 int32 yL = ( int32 ) srcPtrA->yE << bbpDiffL; in bts_Flt16Vec2D_equal()
101 int32 xL = ( int32 ) ptrA->xE << -bbpDiffL; in bts_Flt16Vec2D_equal()
102 int32 yL = ( int32 ) ptrA->yE << -bbpDiffL; in bts_Flt16Vec2D_equal()
170 struct bts_Flt16Vec2D bts_Flt16Vec2D_create32( int32 xA, int32 yA, int32 bbpA ) in bts_Flt16Vec2D_create32()
181 int32 shiftL = bts_maxAbsIntLog2Of2( xA, yA ) - 13; in bts_Flt16Vec2D_create32()
185 int32 sh1L = shiftL - 1; in bts_Flt16Vec2D_create32()
201 int32 bts_Flt16Vec2D_dotPrd( const struct bts_Flt16Vec2D* vec1PtrA, in bts_Flt16Vec2D_dotPrd()
204 return ( int32 ) vec1PtrA->xE * vec2PtrA->xE + ( int32 ) vec1PtrA->yE * vec2PtrA->yE; in bts_Flt16Vec2D_dotPrd()
[all …]
DInt32Mat.c35 void bts_Int32Mat_reduceToNBits( int32* ptrA, uint32 sizeA, int32* bbpPtrA, uint32 nBitsA ) in bts_Int32Mat_reduceToNBits()
37 int32 shiftL; in bts_Int32Mat_reduceToNBits()
40 int32 maxL = 0; in bts_Int32Mat_reduceToNBits()
41 int32* ptrL = ptrA; in bts_Int32Mat_reduceToNBits()
42 int32 iL = sizeA; in bts_Int32Mat_reduceToNBits()
45 int32 xL = *ptrL++; in bts_Int32Mat_reduceToNBits()
120 int32 widthA, in bts_Int32Mat_create()
210 const int32* matA, in bts_Int32Mat_solve()
211 int32 matWidthA, in bts_Int32Mat_solve()
212 const int32* inVecA, in bts_Int32Mat_solve()
[all …]
DInt16Mat2D.c115 int32 xxL = ( int32 ) ptrA->xxE * scaleA.valE; in bts_Int16Mat2D_scale()
116 int32 xyL = ( int32 ) ptrA->xyE * scaleA.valE; in bts_Int16Mat2D_scale()
117 int32 yxL = ( int32 ) ptrA->yxE * scaleA.valE; in bts_Int16Mat2D_scale()
118 int32 yyL = ( int32 ) ptrA->yyE * scaleA.valE; in bts_Int16Mat2D_scale()
136 …vecL.xE = ( ( int32 ) matPtrA->xxE * vecPtrA->xE + ( int32 ) matPtrA->xyE * vecPtrA->yE ) >> matPt… in bts_Int16Mat2D_map()
137 …vecL.yE = ( ( int32 ) matPtrA->yxE * vecPtrA->xE + ( int32 ) matPtrA->yyE * vecPtrA->yE ) >> matPt… in bts_Int16Mat2D_map()
147 int32 xxL = ( int32 ) mat1PtrA->xxE * mat2PtrA->xxE + ( int32 ) mat1PtrA->xyE * mat2PtrA->yxE; in bts_Int16Mat2D_mul()
148 int32 xyL = ( int32 ) mat1PtrA->xxE * mat2PtrA->xyE + ( int32 ) mat1PtrA->xyE * mat2PtrA->yyE; in bts_Int16Mat2D_mul()
149 int32 yxL = ( int32 ) mat1PtrA->yxE * mat2PtrA->xxE + ( int32 ) mat1PtrA->yyE * mat2PtrA->yxE; in bts_Int16Mat2D_mul()
150 int32 yyL = ( int32 ) mat1PtrA->yxE * mat2PtrA->xyE + ( int32 ) mat1PtrA->yyE * mat2PtrA->yyE; in bts_Int16Mat2D_mul()
DCluster2D.c39 int32 bbp_enumA, /* bbp of enumA */ in bts_Cluster2D_computeScale()
41 int32 bbp_denomA, /* bbp of denomA */ in bts_Cluster2D_computeScale()
43 int32* bbp_scaleA )/* bbp of scale factor */ in bts_Cluster2D_computeScale()
46 int32 posL, bbp_denomL; in bts_Cluster2D_computeScale()
175 int32 xL = 0; in bts_Cluster2D_center()
176 int32 yL = 0; in bts_Cluster2D_center()
187 xL = ( ( ( xL << 1 ) / ( int32 )ptrA->sizeE ) + 1 ) >> 1; in bts_Cluster2D_center()
188 yL = ( ( ( yL << 1 ) / ( int32 )ptrA->sizeE ) + 1 ) >> 1; in bts_Cluster2D_center()
200 int32 sumL = ptrA->bbpE; in bts_Cluster2D_checkSum()
219 int32 xMinL = 65536; in bts_Cluster2D_boundingBox()
[all …]
DInt16Vec2D.c129 int32 bts_Int16Vec2D_dotPrd( const struct bts_Int16Vec2D* vec1PtrA, in bts_Int16Vec2D_dotPrd()
132 return ( int32 ) vec1PtrA->xE * vec2PtrA->xE + ( int32 ) vec1PtrA->yE * vec2PtrA->yE; in bts_Int16Vec2D_dotPrd()
139 return ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE; in bts_Int16Vec2D_norm2()
146 return bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Int16Vec2D_norm()
151 void bts_Int16Vec2D_normalize( struct bts_Int16Vec2D* ptrA, int32 bbpA ) in bts_Int16Vec2D_normalize()
153 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Int16Vec2D_normalize()
154 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Int16Vec2D_normalize()
155 int32 yL = ( ( int32 ) ptrA->yE << 16 ) / normL; in bts_Int16Vec2D_normalize()
162 struct bts_Int16Vec2D bts_Int16Vec2D_normalized( const struct bts_Int16Vec2D* ptrA, int32 bbpA ) in bts_Int16Vec2D_normalized()
181 int32 xL = ( int32 ) vec1PtrA->xE * vec2PtrA->xE + ( int32 ) vec1PtrA->yE * vec2PtrA->yE; in bts_Int16Vec2D_enclosedAngle()
[all …]
DInt16Vec3D.c117 return ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_norm2()
118 ( int32 ) ptrA->yE * ptrA->yE + in bts_Int16Vec3D_norm2()
119 ( int32 ) ptrA->zE * ptrA->zE; in bts_Int16Vec3D_norm2()
126 return bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_norm()
127 ( int32 ) ptrA->yE * ptrA->yE + in bts_Int16Vec3D_norm()
128 ( int32 ) ptrA->zE * ptrA->zE ); in bts_Int16Vec3D_norm()
133 void bts_Int16Vec3D_normalize( struct bts_Int16Vec3D* ptrA, int32 bbpA ) in bts_Int16Vec3D_normalize()
135 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_normalize()
136 ( int32 ) ptrA->yE * ptrA->yE + in bts_Int16Vec3D_normalize()
137 ( int32 ) ptrA->zE * ptrA->zE ); in bts_Int16Vec3D_normalize()
[all …]
DCluster3D.c133 int32 xL = 0; in bts_Cluster3D_center()
134 int32 yL = 0; in bts_Cluster3D_center()
135 int32 zL = 0; in bts_Cluster3D_center()
147 xL = ( ( ( xL << 1 ) / ( int32 )ptrA->sizeE ) + 1 ) >> 1; in bts_Cluster3D_center()
148 yL = ( ( ( yL << 1 ) / ( int32 )ptrA->sizeE ) + 1 ) >> 1; in bts_Cluster3D_center()
149 zL = ( ( ( zL << 1 ) / ( int32 )ptrA->sizeE ) + 1 ) >> 1; in bts_Cluster3D_center()
161 int32 xMinL = 65536; /*( 1 << 16 )*/ in bts_Cluster3D_boundingBox()
162 int32 yMinL = 65536; /*( 1 << 16 )*/ in bts_Cluster3D_boundingBox()
163 int32 xMaxL = 0; in bts_Cluster3D_boundingBox()
164 int32 yMaxL = 0; in bts_Cluster3D_boundingBox()
[all …]
DInt32Mat.h79 int32 widthA,
115 const int32* matA,
116 int32 matWidthA,
117 const int32* inVecA,
118 int32* outVecA,
119 int32 bbpA,
120 int32* tmpMatA,
121 int32* tmpVecA );
129 int32* matA,
130 int32 matWidthA,
[all …]
DFlt16Alt3D.h90 struct bts_Flt16Alt3D bts_Flt16Alt3D_createScale( int32 scaleA,
91 int32 scaleBbpA,
107 struct bts_Flt16Alt3D bts_Flt16Alt3D_create32( int32 xxA, int32 xyA, int32 xzA,
108 int32 yxA, int32 yyA, int32 yzA,
109 int32 zxA, int32 zyA, int32 zzA,
111 int32 xA, int32 yA, int32 zA,
DFlt16Mat3D.h115 struct bts_Flt16Mat3D bts_Flt16Mat3D_createScale( int32 scaleA, int32 scaleBbpA );
124 struct bts_Flt16Mat3D bts_Flt16Mat3D_create32( int32 xxA, int32 xyA, int32 xzA,
125 int32 yxA, int32 yyA, int32 yzA,
126 int32 zxA, int32 zyA, int32 zzA,
127 int32 bbpA );
130 void bts_Flt16Mat3D_scale( struct bts_Flt16Mat3D* ptrA, int32 scaleA, int32 scaleBbpA );
DFunctions.h53 uint32 bts_absIntLog2( int32 vA );
56 uint32 bts_maxAbsIntLog2Of2( int32 v1A, int32 v2A );
59 uint32 bts_maxAbsIntLog2Of3( int32 v1A, int32 v2A, int32 v3A );
62 uint32 bts_maxAbsIntLog2Of4( int32 v1A, int32 v2A, int32 v3A, int32 v4A );
DFlt16Alt3D.c138 struct bts_Flt16Alt3D bts_Flt16Alt3D_createScale( int32 scaleA, in bts_Flt16Alt3D_createScale()
139 int32 scaleBbpA, in bts_Flt16Alt3D_createScale()
180 struct bts_Flt16Alt3D bts_Flt16Alt3D_create32( int32 xxA, int32 xyA, int32 xzA, in bts_Flt16Alt3D_create32()
181 int32 yxA, int32 yyA, int32 yzA, in bts_Flt16Alt3D_create32()
182 int32 zxA, int32 zyA, int32 zzA, in bts_Flt16Alt3D_create32()
184 int32 xA, int32 yA, int32 zA, in bts_Flt16Alt3D_create32()
203 int32 shiftL = altPtrA->vecE.bbpE - vecL.bbpE; in bts_Flt16Alt3D_mapFlt()
206 int32 sh1L = shiftL - 1; in bts_Flt16Alt3D_mapFlt()
DFlt16Alt2D.h108 struct bts_Flt16Alt2D bts_Flt16Alt2D_createScale( int32 scaleA,
109 int32 scaleBbpA,
114 int32 scaleA,
115 int32 scaleBbpA,
135 struct bts_Flt16Alt2D bts_Flt16Alt2D_create32( int32 xxA,
136 int32 xyA,
137 int32 yxA,
138 int32 yyA,
139 int32 matBbpA,
140 int32 xA,
[all …]
/external/chromium/net/disk_cache/
Ddisk_format.h69 int32 pad1[2];
70 int32 filled; // Flag to tell when we filled the cache.
71 int32 sizes[5];
75 int32 operation; // Actual in-flight operation.
76 int32 operation_list; // In-flight operation list.
77 int32 pad2[7];
84 int32 num_entries; // Number of entries currently stored.
85 int32 num_bytes; // Total size of the stored data.
86 int32 last_file; // Last external file created.
87 int32 this_id; // Id for all entries being changed (dirty flag).
[all …]
/external/neven/Embedded/common/src/b_BasicEm/
DMathSSE2.c34 int32 bbs_dotProduct_64SSE2( const int16* vec1A, const int16* vec2A, uint32 sizeA ) in bbs_dotProduct_64SSE2()
40 int32 resultL = 0; in bbs_dotProduct_64SSE2()
106 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
108 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
110 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
112 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
114 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
116 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
118 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
120 resultL += ( int32 )*vec1L++ * *vec2L++; in bbs_dotProduct_64SSE2()
[all …]
DMath.c37 extern int32 bbs_dotProduct_128SSE2( const int16* vec1A, const int16* vec2A, uint32 sizeA );
38 extern int32 bbs_dotProduct_u128SSE2( const int16* vec1A, const int16* vec2A, uint32 sizeA );
42 int32 bbs_dotProduct_fr71( const int16* vec1A, const int16* vec2A, uint32 sizeA );
206 const int32 bbs_inv32_tableG[] =
218 int32 bbs_inv32( int32 valA ) in bbs_inv32()
222 int32 signL = ( ( valA >> 30 ) & 0xFFFFFFFE ) + 1; in bbs_inv32()
223 int32 valL = signL * valA; in bbs_inv32()
224 int32 offsL; in bbs_inv32()
227 if( valL <= ( int32 ) 1 ) return 0x40000000 * signL; in bbs_inv32()
287 uint32 bbs_pow2( int32 valA ) in bbs_pow2()
[all …]
DMath.h78 int32 bbs_inv32( int32 valA );
97 uint32 bbs_pow2( int32 valA );
108 uint32 bbs_exp( int32 valA );
111 int16 bbs_satS16( int32 valA );
122 int32 bbs_dotProductInt16( const int16* vec1A, const int16* vec2A, uint32 sizeA );
128 int32 bbs_fermi( int32 valA );
131 void bbs_uint32ReduceToNBits( uint32* argPtrA, int32* bbpPtrA, uint32 nBitsA );
134 void bbs_int32ReduceToNBits( int32* argPtrA, int32* bbpPtrA, uint32 nBitsA );
139 uint32 bbs_convertU32( uint32 srcA, int32 srcBbpA, int32 dstBbpA );
144 int32 bbs_convertS32( int32 srcA, int32 srcBbpA, int32 dstBbpA );
[all …]
/external/neven/Embedded/common/src/b_ImageEm/
DUInt16ByteImage.c336 int32 resultWidthA, in bim_UInt16ByteImage_warp()
337 int32 resultHeightA ) in bim_UInt16ByteImage_warp()
352 int32 shiftL; in bim_UInt16ByteImage_warp()
355 int32 maxInt32Value8bbpL = 0x7FFFFFFF; in bim_UInt16ByteImage_warp()
358 int32 mxxL; in bim_UInt16ByteImage_warp()
359 int32 mxyL; in bim_UInt16ByteImage_warp()
360 int32 myxL; in bim_UInt16ByteImage_warp()
361 int32 myyL; in bim_UInt16ByteImage_warp()
363 int32 txL; in bim_UInt16ByteImage_warp()
364 int32 tyL; in bim_UInt16ByteImage_warp()
[all …]
DFunctions.c96 int32 mxxL, mxyL, myxL, myyL, txL, tyL; in bim_filterWarpInterpolation()
143 txL += ( int32 )offsPtrA->xE << 16; in bim_filterWarpInterpolation()
144 tyL += ( int32 )offsPtrA->yE << 16; in bim_filterWarpInterpolation()
169 int32 xMinL = 0x7FFFFFFF; in bim_filterWarpInterpolation()
170 int32 yMinL = 0x7FFFFFFF; in bim_filterWarpInterpolation()
171 int32 xMaxL = 0x80000000; in bim_filterWarpInterpolation()
172 int32 yMaxL = 0x80000000; in bim_filterWarpInterpolation()
176 int32 xL, yL; in bim_filterWarpInterpolation()
183 xL = txL + mxxL * ( int32 )dstWidthA + mxyL * ( int32 )dstHeightA; in bim_filterWarpInterpolation()
184 yL = tyL + myxL * ( int32 )dstWidthA + myyL * ( int32 )dstHeightA; in bim_filterWarpInterpolation()
[all …]
/external/neven/Embedded/common/src/b_APIEm/
DFunctions.c40 const int32* rawSimArrA, in bpi_normalizeSimilarities()
41 const int32* rawIdArrA, in bpi_normalizeSimilarities()
43 const int32* refSimArrA, in bpi_normalizeSimilarities()
44 const int32* refIdArrA, in bpi_normalizeSimilarities()
47 int32* outSimArrA ) in bpi_normalizeSimilarities()
50 int32 refSimL = 0; in bpi_normalizeSimilarities()
52 int32* outPtrL = outSimArrA; in bpi_normalizeSimilarities()
53 const int32* rawPtrL = rawSimArrA; in bpi_normalizeSimilarities()
65 int32 shiftL = 0; in bpi_normalizeSimilarities()
66 int32 roundL = 0; in bpi_normalizeSimilarities()
[all …]
/external/protobuf/src/google/protobuf/
Dunittest.proto59 optional int32 bb = 1;
69 optional int32 optional_int32 = 1;
86 optional int32 a = 17;
101 repeated int32 repeated_int32 = 31;
118 optional int32 a = 47;
133 optional int32 default_int32 = 61 [default = 41 ];
159 optional int32 deprecated_int32 = 1 [deprecated=true];
165 optional int32 c = 1;
180 optional int32 optional_int32_extension = 1;
197 optional int32 a = 17;
[all …]

12345678910>>...13