Searched refs:nw (Results 1 - 25 of 74) sorted by relevance

123

/external/autotest/client/deps/glbench/src/
H A Dwaffle_stuff.cc64 union waffle_native_window *nw = waffle_window_get_native(surface_); local
67 *width = nw->null->width;
68 *height = nw->null->height;
73 glXQueryDrawable(nw->glx->xlib_display, nw->glx->xlib_window, GLX_WIDTH, &w);
74 glXQueryDrawable(nw->glx->xlib_display, nw->glx->xlib_window, GLX_HEIGHT, &h);
79 XGetGeometry(nw->glx->xlib_display, nw->glx->xlib_window,
86 eglQuerySurface(nw
[all...]
/external/boringssl/src/crypto/bn/
H A Dshift.c67 int i, nw, lb, rb; local
77 nw = n / BN_BITS2;
78 if (bn_wexpand(r, a->top + nw + 1) == NULL) {
85 t[a->top + nw] = 0;
88 t[nw + i] = f[i];
93 t[nw + i + 1] |= (l >> rb) & BN_MASK2;
94 t[nw + i] = (l << lb) & BN_MASK2;
97 memset(t, 0, nw * sizeof(t[0]));
98 r->top = a->top + nw + 1;
136 int i, j, nw, l local
[all...]
/external/autotest/client/site_tests/security_Minijail_seccomp/src/
H A Dfail.c17 int nw = syscall(__NR_write, fd_n, buf, SIZE); local
/external/webrtc/webrtc/common_audio/
H A Dfft4g.c291 static void makewt(size_t nw, size_t *ip, float *w);
332 size_t nw, nc; local
335 nw = ip[0];
336 if (n > (nw << 2)) {
337 nw = n >> 2;
338 makewt(nw, ip, w);
343 makect(nc, ip, w + nw);
349 rftfsub(n, a, nc, w + nw);
360 rftbsub(n, a, nc, w + nw);
372 int j, nw, n
648 makewt(size_t nw, size_t *ip, float *w) argument
[all...]
/external/valgrind/none/tests/
H A Dcoolo_sigaction.cpp48 __attribute__((unused)) ssize_t nw = write(2, buffer, n); local
/external/toybox/toys/pending/
H A Ddd.c205 ssize_t nw; local
208 nw = writeall(out.fd, out.bp, ((all)? out.count : out.sz));
210 if (nw <= 0) perror_exit("%s: write error",out.name);
211 if (nw == out.sz) st.out_full++;
213 out.count -= nw;
214 out.bp += nw;
215 st.bytes += nw;
H A Dtftpd.c215 int nw = writeall(fd, &rpkt[4], len-4); local
216 if (nw != len-4) {
222 if (nw != blksize) done = 1;
/external/curl/docs/examples/
H A DMakefile.netware56 INSTDIR = ..$(DS)..$(DS)curl-$(LIBCURL_VERSION_STR)-bin-nw
230 LDLIBS += $(LIBSSH2_PATH)/nw/libssh2.$(LIBEXT)
233 IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
261 LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
264 IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
/external/curl/lib/
H A DMakefile.netware61 INSTDIR = ..$(DS)curl-$(LIBCURL_VERSION_STR)-bin-nw
244 LDLIBS += $(LIBSSH2_PATH)/nw/libssh2.$(LIBEXT)
247 IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
275 LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
278 IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
/external/curl/src/
H A DMakefile.netware76 INSTDIR = ..$(DS)curl-$(LIBCURL_VERSION_STR)-bin-nw
257 LDLIBS += $(LIBSSH2_PATH)/nw/libssh2.$(LIBEXT)
260 IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
288 LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
291 IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_ssa.cpp136 Node *nv, *nw; local
142 nw = vert[w];
143 assert(nw->tag == w);
144 for (Graph::EdgeIterator ei = nw->incident(); !ei.end(); ei.next()) {
152 bucket[SEMI(w)].insert(nw);
171 nw = &BasicBlock::get(vert[DOM(v)])->dom;;
173 if (nw->getGraph() && !nv->getGraph()) {
175 nw->attach(nv, Graph::Edge::TREE);
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3bitset.c424 ANTLR3_UINT32 nw; local
427 nw = numWordsToHold(bit);
429 if (bl > nw)
435 bitset->grow(bitset, nw);
/external/boringssl/src/ssl/
H A Ds3_pkt.c193 unsigned int tot, n, nw; local
230 nw = max;
232 nw = n;
235 i = do_ssl3_write(ssl, type, &buf[tot], nw);
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dp2p-action.sh59 -nw \
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DArabicShaping.java1639 int nw = 0;
1644 nw = i - 1;
1647 if (nw == -1) {
1651 nextLink = getLink(dest[nw]);
1653 nx = nw;
1655 --nw;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DArabicShaping.java1687 int nw = 0;
1692 nw = i - 1;
1695 if (nw == -1) {
1699 nextLink = getLink(dest[nw]);
1701 nx = nw;
1703 --nw;
/external/opencv3/3rdparty/libtiff/
H A Dtif_fax3.c374 int32 n, nw; local
400 nw = (int32)(n / sizeof (long));
401 n -= nw * sizeof (long);
404 } while (--nw);
435 nw = (int32)(n / sizeof (long));
436 n -= nw * sizeof (long);
439 } while (--nw);
/external/pdfium/third_party/libtiff/
H A Dtif_fax3.c374 int32 n, nw; local
400 nw = (int32)(n / sizeof (long));
401 n -= nw * sizeof (long);
404 } while (--nw);
435 nw = (int32)(n / sizeof (long));
436 n -= nw * sizeof (long);
439 } while (--nw);
/external/opencv3/modules/photo/src/
H A Dfast_nlmeans_denoising_invoker_commons.hpp403 template <typename IT, typename UIT, int nc, int nw> struct divByWeightsSum_
434 template <typename IT, typename UIT, int nc, int nw>
437 return divByWeightsSum_<IT, UIT, nc, nw>::f(estimation, weights_sum);
/external/boringssl/src/crypto/perlasm/
H A Dx86asm.pl260 elsif (($type eq "nw-nasm"))
262 #elsif (($type eq "nw-mwasm"))
277 nw-nasm - NetWare NASM format
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_pickmode.c238 const int nw = 1 << (bw - b_width_log2_lookup[unit_size]); local
243 for (j = 0; j < nw; j += 2) {
244 sse_o[k] = sse_i[i * nw + j] + sse_i[i * nw + j + 1] +
245 sse_i[(i + 1) * nw + j] + sse_i[(i + 1) * nw + j + 1];
246 sum_o[k] = sum_i[i * nw + j] + sum_i[i * nw + j + 1] +
247 sum_i[(i + 1) * nw + j] + sum_i[(i + 1) * nw
[all...]
/external/doclava/res/assets/templates/assets/
H A Djquery-resizable.min.js40 (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f<k.length;f++){var h=c.trim(k[f]),d="ui-resizable-"+h;var g=c('<div class="ui-resizable-handle '+d+'"></div>');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidth<k.width),l=a(k.height)&&h.maxHeight&&(h.maxHeight<k.height),g=a(k.width)&&h.minWidth&&(h.minWidth>k.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|n
[all...]
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/
H A Dvt320.java3214 int nw = width;
3215 if (nw < 132) {
3216 nw = 132;
3218 Tabs = new byte[nw];
3219 for (int i = 0; i < nw; i += 8) {
/external/opencv3/modules/cudalegacy/src/cuda/
H A DNCVBroxOpticalFlow.cu1119 Ncv32u nw = pyr.w.back();
1121 Ncv32u ns = alignUp(nw, kStrideAlignmentFloat);
1123 dim3 p_blocks(iDivUp(nw, 32), iDivUp(nh, 8));
1127 NcvSize32u dstSize (nw, nh);
1129 NcvRect32u dstROI (0, 0, nw, nh);
/external/mksh/src/
H A Dedit.c1434 size_t i, nb, nw; local
1440 nw = 0;
1450 nw += j;
1480 nw = i = (nw < i) ? nw : i;
1485 ++nw;
1487 while (nw--)

Completed in 2903 milliseconds

123