/external/autotest/client/site_tests/security_Minijail_seccomp/src/ |
fail.c | 17 int nw = syscall(__NR_write, fd_n, buf, SIZE); local
|
/external/valgrind/none/tests/ |
coolo_sigaction.cpp | 48 __attribute__((unused)) ssize_t nw = write(2, buffer, n); local
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
NeighboringCellInfoTest.java | 73 NeighboringCellInfo nw = new NeighboringCellInfo(p); local 74 assertEquals(NETWORK_TYPE_GPRS, nw.getNetworkType()); 75 assertEquals(rssi, nw.getRssi()); 76 assertEquals(0x1234, nw.getLac()); 77 assertEquals(0x5678, nw.getCid()); 78 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nw.getPsc());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
NeighboringCellInfoTest.java | 72 NeighboringCellInfo nw = new NeighboringCellInfo(p); local 73 assertEquals(NETWORK_TYPE_GPRS, nw.getNetworkType()); 74 assertEquals(rssi, nw.getRssi()); 75 assertEquals(0x1234, nw.getLac()); 76 assertEquals(0x5678, nw.getCid()); 77 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nw.getPsc());
|
/frameworks/support/v8/renderscript/jni/ |
android_rscompat_usage_io_driver.cpp | 15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { 21 int32_t r = ANativeWindow_lock(nw, drv->wndBuffer, NULL); 33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) { 47 if (nw != NULL) { 49 r = ANativeWindow_setBuffersGeometry(nw, alloc->mHal.drvState.lod[0].dimX, 57 IoGetBuffer(rsc, alloc, nw); 58 drv->wndSurface = nw; 65 if (nw) { 66 nw = NULL; 85 ANativeWindow *nw = drv->wndSurface local 98 ANativeWindow *nw = drv->wndSurface; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
smisc.c | 152 int nw, nw1; local 162 nw = b->wds; 163 nw1 = nw & 1; 164 for(xe = x + (nw - nw1); x < xe; x += 2)
|
/external/boringssl/src/crypto/bn/ |
shift.c | 67 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, lb, rb local [all...] |
/external/autotest/client/deps/glbench/src/ |
waffle_stuff.cc | 64 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->x11_egl->display.egl_display, nw->x11_egl->egl_surface [all...] |
/external/boringssl/src/ssl/ |
s3_pkt.c | 193 unsigned int tot, n, nw; local 230 nw = max; 232 nw = n; 235 i = do_ssl3_write(ssl, type, &buf[tot], nw);
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3bitset.c | 424 ANTLR3_UINT32 nw; local 427 nw = numWordsToHold(bit); 429 if (bl > nw) 435 bitset->grow(bitset, nw);
|
/external/toybox/toys/pending/ |
dd.c | 205 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;
|
tftpd.c | 215 int nw = writeall(fd, &rpkt[4], len-4); local 216 if (nw != len-4) { 222 if (nw != blksize) done = 1;
|
/external/webrtc/webrtc/common_audio/ |
fft4g.c | 291 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, nc [all...] |
/system/core/toolbox/upstream-netbsd/bin/dd/ |
dd.c | 486 int64_t cnt, n, nw; local 507 for (cnt = n;; cnt -= nw) { 520 nw = 0; 530 nw = bwrite(&out, outp, cnt); 531 if (nw <= 0) { 532 if (nw == 0) 539 nw = 0; 547 outp += nw; 548 st.bytes += nw; 549 if (nw == n) [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 571 NotificationWrapper nw = new NotificationWrapper(n); local 574 nw.add(new NotificationWrapper(null, 0, info.eventId, info.startMillis, 578 return nw; [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_ssa.cpp | 136 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);
|
/frameworks/av/services/camera/libcameraservice/device1/ |
CameraHardwareInterface.h | 145 buf.get() ? &mHalPreviewWindow.nw : 0); 761 mHalPreviewWindow.nw.cancel_buffer = __cancel_buffer; 762 mHalPreviewWindow.nw.lock_buffer = __lock_buffer; 763 mHalPreviewWindow.nw.dequeue_buffer = __dequeue_buffer; 764 mHalPreviewWindow.nw.enqueue_buffer = __enqueue_buffer; 765 mHalPreviewWindow.nw.set_buffer_count = __set_buffer_count; 766 mHalPreviewWindow.nw.set_buffers_geometry = __set_buffers_geometry; 767 mHalPreviewWindow.nw.set_crop = __set_crop; 768 mHalPreviewWindow.nw.set_timestamp = __set_timestamp; 769 mHalPreviewWindow.nw.set_usage = __set_usage 779 struct preview_stream_ops nw; member in struct:android::CameraHardwareInterface::camera_preview_window [all...] |
/frameworks/rs/driver/ |
rsdAllocation.cpp | 583 ANativeWindow *nw = drv->wndSurface; local 584 if (nw) { 587 int32_t r = nw->cancelBuffer(nw, drv->wndBuffer, -1); 590 native_window_api_disconnect(nw, NATIVE_WINDOW_API_CPU); 591 nw->decStrong(nullptr); 714 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { 717 int32_t r = native_window_dequeue_buffer_and_wait(nw, &drv->wndBuffer); 739 void rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { 744 if (nw) { 832 ANativeWindow *nw = drv->wndSurface; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ArabicShaping.java | 1639 int nw = 0; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ArabicShaping.java | 1687 int nw = 0; local [all...] |
/external/opencv3/3rdparty/libtiff/ |
tif_fax3.c | 374 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); [all...] |
/external/pdfium/third_party/libtiff/ |
tif_fax3.c | 374 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); [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 800 JSONObject nw = new JSONObject(); local 801 nw.put("netId", data.netId); 802 return nw; [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
AccessPoint.java | 793 Network nw; local 796 nw = wifiManager.getCurrentNetwork(); 798 nw = null; 800 NetworkCapabilities nc = cm.getNetworkCapabilities(nw); [all...] |
/frameworks/rs/ |
rsAllocation.cpp | 658 ANativeWindow *nw = (ANativeWindow *)sur; local 659 rsc->mHal.funcs.allocation.setSurface(rsc, this, nw); [all...] |