Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 25 of 109) sorted by relevance

12345

/external/opencv3/modules/objdetect/src/opencl/
Dcascadedetect.cl18 int4 ofs[3] __attribute__((aligned (4)));
27 int16 ofs __attribute__((aligned (4)));
180 int4 ofs = f->ofs[0];
181 sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x;
182 ofs = f->ofs[1];
183 … sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.y, sval);
186 ofs = f->ofs[2];
187 … sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.z, sval);
203 int4 ofs = f->ofs[0];
205 sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x;
[all …]
/external/svox/pico/lib/
Dpicokpr.h98 extern picokpr_VarStrPtr picokpr_getVarStrPtr(picokpr_Preproc preproc, picokpr_StrArrOffset ofs);
105 extern picokpr_LexCat picokpr_getLexCat(picokpr_Preproc preproc, picokpr_LexCatArrOffset ofs);
108 …ern picoos_int32 picokpr_getAttrValArrInt32(picokpr_Preproc preproc, picokpr_AttrValArrOffset ofs);
111 …cokpr_StrArrOffset picokpr_getOutItemStrOfs(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs);
112 …ern picokpr_VarStrPtr picokpr_getOutItemStr(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs);
113 extern picoos_int32 picokpr_getOutItemType(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs);
114 extern picoos_int32 picokpr_getOutItemVal(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs);
115 …r_OutItemArrOffset picokpr_getOutItemArgOfs(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs);
116 …_OutItemArrOffset picokpr_getOutItemNextOfs(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs);
119 extern picokpr_TokSetNP picokpr_getTokSetNP(picokpr_Preproc preproc, picokpr_TokArrOffset ofs);
[all …]
Dpicokpr.c274 extern picokpr_VarStrPtr picokpr_getVarStrPtr(picokpr_Preproc preproc, picokpr_StrArrOffset ofs) in picokpr_getVarStrPtr() argument
276 picoos_uint8 * p = (picoos_uint8 *)&(((kpr_SubObj)preproc)->rStrArr[ofs]); in picokpr_getVarStrPtr()
331 extern picokpr_LexCat picokpr_getLexCat(picokpr_Preproc preproc, picokpr_LexCatArrOffset ofs) in picokpr_getLexCat() argument
333 picoos_uint8 * p = (picoos_uint8 *)&(((kpr_SubObj)preproc)->rLexCatArr[ofs]); in picokpr_getLexCat()
342 …tern picoos_int32 picokpr_getAttrValArrInt32(picokpr_Preproc preproc, picokpr_AttrValArrOffset ofs) in picokpr_getAttrValArrInt32() argument
344 picoos_uint8 * p = (picoos_uint8 *)&(((kpr_SubObj)preproc)->rAttrValArr[ofs]); in picokpr_getAttrValArrInt32()
361 …r_OutItemArrOffset picokpr_getOutItemNextOfs(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs) in picokpr_getOutItemNextOfs() argument
363 picoos_uint8 * p = (picoos_uint8 *)&(((kpr_SubObj)preproc)->rOutItemArr[ofs]); in picokpr_getOutItemNextOfs()
369 extern picoos_int32 picokpr_getOutItemType(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs) in picokpr_getOutItemType() argument
371 picoos_uint8 * p = (picoos_uint8 *)&(((kpr_SubObj)preproc)->rOutItemArr[ofs]); in picokpr_getOutItemType()
[all …]
/external/opencv3/modules/objdetect/src/
Dcascadedetect.hpp357 int ofs[RECT_NUM][4]; member
407 ofs[0][0] = ofs[0][1] = ofs[0][2] = ofs[0][3] = in OptFeature()
408 ofs[1][0] = ofs[1][1] = ofs[1][2] = ofs[1][3] = in OptFeature()
409 ofs[2][0] = ofs[2][1] = ofs[2][2] = ofs[2][3] = 0; in OptFeature()
414 float ret = weight[0] * CALC_SUM_OFS(ofs[0], ptr) + in calc()
415 weight[1] * CALC_SUM_OFS(ofs[1], ptr); in calc()
418 ret += weight[2] * CALC_SUM_OFS(ofs[2], ptr); in calc()
445 int ofs[16]; member
482 ofs[i] = 0; in OptFeature()
487 int cval = CALC_SUM_OFS_( ofs[5], ofs[6], ofs[9], ofs[10], p ); in calc()
[all …]
Dcascadedetect.cpp765 CV_TILTED_OFS( ofs[0][0], ofs[0][1], ofs[0][2], ofs[0][3], _tofs, _f.rect[0].r, step ); in setOffsets()
766 CV_TILTED_OFS( ofs[1][0], ofs[1][1], ofs[1][2], ofs[1][3], _tofs, _f.rect[1].r, step ); in setOffsets()
767 CV_TILTED_OFS( ofs[2][0], ofs[2][1], ofs[2][2], ofs[2][3], _tofs, _f.rect[2].r, step ); in setOffsets()
771 CV_SUM_OFS( ofs[0][0], ofs[0][1], ofs[0][2], ofs[0][3], 0, _f.rect[0].r, step ); in setOffsets()
772 CV_SUM_OFS( ofs[1][0], ofs[1][1], ofs[1][2], ofs[1][3], 0, _f.rect[1].r, step ); in setOffsets()
773 CV_SUM_OFS( ofs[2][0], ofs[2][1], ofs[2][2], ofs[2][3], 0, _f.rect[2].r, step ); in setOffsets()
884 CV_SUM_OFS( ofs[0], ofs[1], ofs[4], ofs[5], 0, tr, step ); in setOffsets()
886 CV_SUM_OFS( ofs[2], ofs[3], ofs[6], ofs[7], 0, tr, step ); in setOffsets()
888 CV_SUM_OFS( ofs[10], ofs[11], ofs[14], ofs[15], 0, tr, step ); in setOffsets()
890 CV_SUM_OFS( ofs[8], ofs[9], ofs[12], ofs[13], 0, tr, step ); in setOffsets()
/external/curl/src/
Dtool_cb_see.c95 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence) argument
101 # define _lseeki64(hnd,ofs,whence) _lseek(hnd,ofs,whence) argument
103 # define _lseeki64(hnd,ofs,whence) _lseek64(hnd,ofs,whence) argument
110 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence) argument
/external/mesa3d/src/mesa/main/
Dmm.c43 fprintf(stderr, " Offset:%08x, Size:%08x, %c%c\n",p->ofs,p->size, in mmDumpMemInfo()
51 fprintf(stderr, " FREE Offset:%08x, Size:%08x, %c%c\n",p->ofs,p->size, in mmDumpMemInfo()
61 mmInit(unsigned ofs, unsigned size) in mmInit() argument
89 block->ofs = ofs; in mmInit()
105 if (startofs > p->ofs) { in SliceBlock()
109 newblock->ofs = startofs; in SliceBlock()
110 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
133 newblock->ofs = startofs + size; in SliceBlock()
181 startofs = (p->ofs + mask) & ~mask; in mmAllocMem()
186 if (endofs <= (p->ofs+p->size)) in mmAllocMem()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_distancetransform.cpp161 int ofs[16]; in cvTsDistTransform() local
198 ofs[0] = -1; delta[0] = mask[0]; in cvTsDistTransform()
199 ofs[1] = -tstep-1; delta[1] = mask[1]; in cvTsDistTransform()
200 ofs[2] = -tstep; delta[2] = mask[0]; in cvTsDistTransform()
201 ofs[3] = -tstep+1; delta[3] = mask[1]; in cvTsDistTransform()
206 ofs[0] = -1; delta[0] = mask[0]; in cvTsDistTransform()
207 ofs[1] = -tstep-2; delta[1] = mask[2]; in cvTsDistTransform()
208 ofs[2] = -tstep-1; delta[2] = mask[1]; in cvTsDistTransform()
209 ofs[3] = -tstep; delta[3] = mask[0]; in cvTsDistTransform()
210 ofs[4] = -tstep+1; delta[4] = mask[1]; in cvTsDistTransform()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_mm.c45 debug_printf(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size, in u_mmDumpMemInfo()
59 debug_printf(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size, in u_mmDumpMemInfo()
70 u_mmInit(int ofs, int size) in u_mmInit() argument
98 block->ofs = ofs; in u_mmInit()
114 if (startofs > p->ofs) { in SliceBlock()
118 newblock->ofs = startofs; in SliceBlock()
119 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
142 newblock->ofs = startofs + size; in SliceBlock()
194 startofs = (p->ofs + mask) & ~mask; in u_mmAllocMem()
199 if (endofs <= (p->ofs+p->size)) in u_mmAllocMem()
[all …]
/external/libdrm/intel/
Dmm.c45 drmMsg(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, in mmDumpMemInfo()
53 drmMsg(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, in mmDumpMemInfo()
62 drm_private struct mem_block *mmInit(int ofs, int size) in mmInit() argument
90 block->ofs = ofs; in mmInit()
104 if (startofs > p->ofs) { in SliceBlock()
109 newblock->ofs = startofs; in SliceBlock()
110 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
134 newblock->ofs = startofs + size; in SliceBlock()
181 startofs = (p->ofs + mask) & ~mask; in mmAllocMem()
186 if (endofs <= (p->ofs + p->size)) in mmAllocMem()
[all …]
/external/libweave/examples/provider/
Dwifi_manager.cc155 std::ofstream ofs(hostapd_conf); in StartAccessPoint() local
156 ofs << "interface=" << iface_ << std::endl; in StartAccessPoint()
157 ofs << "channel=1" << std::endl; in StartAccessPoint()
158 ofs << "ssid=" << ssid << std::endl; in StartAccessPoint()
172 std::ofstream ofs(dnsmasq_conf.c_str()); in StartAccessPoint() local
173 ofs << "port=0" << std::endl; in StartAccessPoint()
174 ofs << "bind-interfaces" << std::endl; in StartAccessPoint()
175 ofs << "log-dhcp" << std::endl; in StartAccessPoint()
176 ofs << "dhcp-range=192.168.76.10,192.168.76.100" << std::endl; in StartAccessPoint()
177 ofs << "interface=" << iface_ << std::endl; in StartAccessPoint()
[all …]
/external/libpcap/msdos/
Dpktdrvr.c828 WORD ofs = _farpeekw (_dos_ds, realBase+rxOutOfs); in PktReceive() local
830 if (ofs != _farpeekw (_dos_ds, realBase+rxInOfs)) in PktReceive()
835 head.firstCount = _farpeekw (_dos_ds, realBase+ofs); in PktReceive()
836 head.secondCount = _farpeekw (_dos_ds, realBase+ofs+2); in PktReceive()
837 head.handle = _farpeekw (_dos_ds, realBase+ofs+4); in PktReceive()
843 dosmemget (realBase+ofs+6, len, buf); in PktReceive()
848 ofs += sizeof (RX_ELEMENT); in PktReceive()
849 if (ofs > LAST_RX_BUF) in PktReceive()
851 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs); in PktReceive()
859 WORD ofs; in PktQueueBusy() local
[all …]
/external/mesa3d/src/mesa/x86/
Dcommon_x86.c283 GLuint ofs; in _mesa_get_x86_features() local
285 for (ofs = 0; ofs < 3; ofs++) in _mesa_get_x86_features()
286 …000002+ofs, (GLuint *)(cpu_name + (16*ofs)+0), (GLuint *)(cpu_name + (16*ofs)+4), (GLuint *)(cpu_n… in _mesa_get_x86_features()
/external/opencv3/modules/core/src/
Dcuda_gpu_mat.cpp204 void cv::cuda::GpuMat::locateROI(Size& wholeSize, Point& ofs) const in locateROI()
214 ofs.x = ofs.y = 0; in locateROI()
218 ofs.y = static_cast<int>(delta1 / step); in locateROI()
219 ofs.x = static_cast<int>((delta1 - step * ofs.y) / esz); in locateROI()
221 CV_DbgAssert( data == datastart + ofs.y * step + ofs.x * esz ); in locateROI()
224 size_t minstep = (ofs.x + cols) * esz; in locateROI()
226 wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / step + 1), ofs.y + rows); in locateROI()
227 …e.width = std::max(static_cast<int>((delta2 - step * (wholeSize.height - 1)) / esz), ofs.x + cols); in locateROI()
233 Point ofs; in adjustROI() local
234 locateROI(wholeSize, ofs); in adjustROI()
[all …]
Dumatrix.cpp438 void UMat::locateROI( Size& wholeSize, Point& ofs ) const in locateROI()
445 ofs.x = ofs.y = 0; in locateROI()
448 ofs.y = (int)(delta1/step[0]); in locateROI()
449 ofs.x = (int)((delta1 - step[0]*ofs.y)/esz); in locateROI()
450 CV_DbgAssert( offset == (size_t)(ofs.y*step[0] + ofs.x*esz) ); in locateROI()
452 minstep = (ofs.x + cols)*esz; in locateROI()
454 wholeSize.height = std::max(wholeSize.height, ofs.y + rows); in locateROI()
456 wholeSize.width = std::max(wholeSize.width, ofs.x + cols); in locateROI()
463 Size wholeSize; Point ofs; in adjustROI() local
465 locateROI( wholeSize, ofs ); in adjustROI()
[all …]
/external/libjpeg-turbo/md5/
Dmd5hl.c49 MD5FileChunk(const char *filename, char *buf, off_t ofs, off_t len) in MD5FileChunk() argument
63 if (ofs > stbuf.st_size) in MD5FileChunk()
64 ofs = stbuf.st_size; in MD5FileChunk()
65 if ((len == 0) || (len > stbuf.st_size - ofs)) in MD5FileChunk()
66 len = stbuf.st_size - ofs; in MD5FileChunk()
67 if (lseek(f, ofs, SEEK_SET) < 0) in MD5FileChunk()
/external/opencv/cvaux/src/
Denmin.cpp401 int ofs;
409 ofs = tempVtxIdx == u;
410 if( !ofs )
442 graphEdge = graphEdge -> next[ ofs ];
451 ofs = tempVtxIdx == u;
452 if( ofs )
490 graphEdge = graphEdge -> next[ ofs ];
554 int ofs;
560 ofs = vtxIdx == v;
562 if( ofs )
[all …]
/external/opencv3/modules/ml/src/
Dkdtree.cpp95 medianPartition( size_t* ofs, int a, int b, const float* vals ) in medianPartition() argument
102 float v0 = vals[ofs[i0]], v1 = vals[ofs[i1]], v2 = vals[ofs[i2]]; in medianPartition()
105 float pivot = vals[ofs[ip]]; in medianPartition()
106 std::swap(ofs[ip], ofs[i2]); in medianPartition()
109 if( vals[ofs[i1]] <= pivot ) in medianPartition()
112 std::swap(ofs[i0], ofs[i1]); in medianPartition()
122 float pivot = vals[ofs[middle]]; in medianPartition()
126 CV_Assert(vals[ofs[k]] <= pivot); in medianPartition()
127 less += vals[ofs[k]] < pivot; in medianPartition()
131 CV_Assert(vals[ofs[k]] >= pivot); in medianPartition()
[all …]
/external/f2fs-tools/fsck/
Ddump.c140 u32 nid, u64 *ofs) in dump_node_blk() argument
162 *ofs += skip; in dump_node_blk()
171 for (i = 0; i < idx; i++, (*ofs)++) { in dump_node_blk()
174 dump_data_blk(*ofs * F2FS_BLKSIZE, in dump_node_blk()
179 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
183 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
194 u64 ofs = 0; in dump_inode_blk() local
207 for (i = 0; i < ADDRS_PER_INODE(&node_blk->i); i++, ofs++) in dump_inode_blk()
208 dump_data_blk(ofs * F2FS_BLKSIZE, in dump_inode_blk()
215 node_blk->i.i_nid[i], &ofs); in dump_inode_blk()
[all …]
/external/opencv3/modules/imgproc/src/
Dmorph.cpp1380 Point ofs; in ocl_morphSmall() local
1381 src.locateROI(wholeSize, ofs); in ocl_morphSmall()
1464 Point ofs; in ocl_morphSmall() local
1466 src.locateROI(wholeSize, ofs); in ocl_morphSmall()
1467 … src.adjustROI(ofs.y, wholeSize.height - rows - ofs.y, ofs.x, wholeSize.width - cols - ofs.x); in ocl_morphSmall()
1470 … src.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x); in ocl_morphSmall()
1471 …source.adjustROI(-ofs.y, -wholeSize.height + rows + ofs.y, -ofs.x, -wholeSize.width + cols + ofs.x… in ocl_morphSmall()
1472 source.locateROI(wholeSize, ofs); in ocl_morphSmall()
1615 Point ofs; in ocl_morphOp() local
1616 src.locateROI(wholesize, ofs); in ocl_morphOp()
[all …]
/external/valgrind/coregrind/m_gdbserver/
Dserver.c62 int decode_xfer_read (char *buf, const char **annex, CORE_ADDR *ofs, unsigned int *len) in decode_xfer_read() argument
74 decode_m_packet (buf, ofs, len); in decode_xfer_read()
818 CORE_ADDR ofs; in handle_query() local
826 if (decode_xfer_read (arg_own_buf + 20, &annex, &ofs, &len) < 0) { in handle_query()
865 if (ofs > doc_len) { in handle_query()
870 VG_(lseek) (fd, ofs, VKI_SEEK_SET); in handle_query()
875 ofs + len_read < doc_len); in handle_query()
884 CORE_ADDR ofs; in handle_query() local
889 if (decode_xfer_read (arg_own_buf + 16, &annex, &ofs, &len) < 0 in handle_query()
913 if (ofs >= client_auxv_len) in handle_query()
[all …]
/external/opencv3/modules/cudawarping/src/
Dresize.cpp101 Point ofs; in resize() local
102 src.locateROI(wholeSize, ofs); in resize()
105 …func(src, wholeSrc, ofs.y, ofs.x, dst, static_cast<float>(1.0 / fy), static_cast<float>(1.0 / fx),… in resize()
Dremap.cpp97 Point ofs; in remap() local
98 src.locateROI(wholeSize, ofs); in remap()
100 …func(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, xm… in remap()
Dwarp.cpp200 Point ofs; in warpAffine() local
201 src.locateROI(wholeSize, ofs); in warpAffine()
243 …bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][… in warpAffine()
317 …(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, in warpAffine()
339 Point ofs; in warpPerspective() local
340 src.locateROI(wholeSize, ofs); in warpPerspective()
382 …bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][… in warpPerspective()
456 …(src, PtrStepSzb(wholeSize.height, wholeSize.width, src.datastart, src.step), ofs.x, ofs.y, coeffs, in warpPerspective()
/external/iproute2/misc/
Dlnstat.c186 int ofs = 0; in build_hdr_string() local
197 snprintf(th.hdr[0]+ofs, width+2, "%*.*s|", width, width, in build_hdr_string()
203 snprintf(th.hdr[h]+ofs, width+2, in build_hdr_string()
207 snprintf(th.hdr[h]+ofs, width+2, in build_hdr_string()
212 ofs += width+1; in build_hdr_string()
216 for (i = 0; i < ofs; i++) { in build_hdr_string()

12345