Home
last modified time | relevance | path

Searched refs:nw (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/frameworks/rs/support/jni/
H A Dandroid_rscompat_usage_io_driver.cpp47 if (nw != NULL) { in rscAllocationSetSurface()
57 IoGetBuffer(rsc, alloc, nw); in rscAllocationSetSurface()
58 drv->wndSurface = nw; in rscAllocationSetSurface()
65 if (nw) { in rscAllocationSetSurface()
66 nw = NULL; in rscAllocationSetSurface()
86 if (nw) { in rscAllocationDestroy()
90 ANativeWindow_release(nw); in rscAllocationDestroy()
91 nw = NULL; in rscAllocationDestroy()
98 ANativeWindow *nw = drv->wndSurface; in rscAllocationIoSend() local
99 if (nw) { in rscAllocationIoSend()
[all …]
/aosp12/build/blueprint/
H A Dninja_defs.go117 err := nw.Comment(p.Comment)
123 err := nw.Pool(name)
128 return nw.ScopedAssign("depth", strconv.Itoa(p.Depth))
232 func (r *ruleDef) WriteTo(nw *ninjaWriter, name string,
236 err := nw.Comment(r.Comment)
242 err := nw.Rule(name)
254 err = writeVariables(nw, r.Variables, pkgNames)
413 err = writeVariables(nw, b.Variables, pkgNames)
431 err = nw.ScopedAssign(pair.name, pair.value)
438 err = nw.Default(pkgNames, outputs...)
[all …]
H A Dcontext.go3721 return nw.BlankLine()
3731 return nw.BlankLine()
3741 err = nw.BlankLine()
3795 err = nw.BlankLine()
3840 err = nw.BlankLine()
3866 err = nw.BlankLine()
3977 err = nw.BlankLine()
3987 err = nw.BlankLine()
4031 err = nw.BlankLine()
4041 err = nw.BlankLine()
[all …]
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
H A DIPACM_EvtDispatcher.cpp152 cmd_evts *tmp = head,*nw; in registr() local
154 nw = (cmd_evts *)malloc(sizeof(cmd_evts)); in registr()
155 if(nw != NULL) in registr()
157 nw->event = event; in registr()
158 nw->obj = obj; in registr()
159 nw->next = NULL; in registr()
168 head = nw; in registr()
176 tmp->next = nw; in registr()
H A DIPACM_IfaceManager.cpp491 iface_instances *tmp = head,*nw; in registr() local
493 nw = (iface_instances *)malloc(sizeof(iface_instances)); in registr()
494 if(nw != NULL) in registr()
496 nw->ipa_if_index = ipa_if_index; in registr()
497 nw->obj = obj; in registr()
498 nw->next = NULL; in registr()
507 head = nw; in registr()
515 tmp->next = nw; in registr()
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
H A DIPACM_EvtDispatcher.cpp152 cmd_evts *tmp = head,*nw; in registr() local
154 nw = (cmd_evts *)malloc(sizeof(cmd_evts)); in registr()
155 if(nw != NULL) in registr()
157 nw->event = event; in registr()
158 nw->obj = obj; in registr()
159 nw->next = NULL; in registr()
168 head = nw; in registr()
176 tmp->next = nw; in registr()
H A DIPACM_IfaceManager.cpp521 iface_instances *tmp = head,*nw; in registr() local
523 nw = (iface_instances *)malloc(sizeof(iface_instances)); in registr()
524 if(nw != NULL) in registr()
526 nw->ipa_if_index = ipa_if_index; in registr()
527 nw->obj = obj; in registr()
528 nw->next = NULL; in registr()
537 head = nw; in registr()
545 tmp->next = nw; in registr()
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
H A DIPACM_EvtDispatcher.cpp152 cmd_evts *tmp = head,*nw; in registr() local
154 nw = (cmd_evts *)malloc(sizeof(cmd_evts)); in registr()
155 if(nw != NULL) in registr()
157 nw->event = event; in registr()
158 nw->obj = obj; in registr()
159 nw->next = NULL; in registr()
168 head = nw; in registr()
176 tmp->next = nw; in registr()
H A DIPACM_IfaceManager.cpp537 iface_instances *tmp = head,*nw; in registr() local
539 nw = (iface_instances *)malloc(sizeof(iface_instances)); in registr()
540 if(nw != NULL) in registr()
542 nw->ipa_if_index = ipa_if_index; in registr()
543 nw->obj = obj; in registr()
544 nw->next = NULL; in registr()
553 head = nw; in registr()
561 tmp->next = nw; in registr()
/aosp12/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dmemmem.c32 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_memmem() local
34 if (hw == nw) return (char *)h-2; in twobyte_memmem()
35 return hw == nw ? (char *)h-2 : 0; in twobyte_memmem()
41 uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8; in threebyte_memmem() local
44 if (hw == nw) return (char *)h-3; in threebyte_memmem()
45 return hw == nw ? (char *)h-3 : 0; in threebyte_memmem()
51 uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8 | n[3]; in fourbyte_memmem() local
54 if (hw == nw) return (char *)h-4; in fourbyte_memmem()
55 return hw == nw ? (char *)h-4 : 0; in fourbyte_memmem()
H A Dstrstr.c32 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() local
33 for (h++; *h && hw != nw; hw = hw<<8 | *++h); in twobyte_strstr()
40 uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8; in threebyte_strstr() local
42 for (h+=2; *h && hw != nw; hw = (hw|*++h)<<8); in threebyte_strstr()
49 uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8 | n[3]; in fourbyte_strstr() local
51 for (h+=3; *h && hw != nw; hw = hw<<8 | *++h); in fourbyte_strstr()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DNeighboringCellInfoTest.java72 NeighboringCellInfo nw = new NeighboringCellInfo(p); in testParcel() local
73 assertEquals(NETWORK_TYPE_GPRS, nw.getNetworkType()); in testParcel()
74 assertEquals(rssi, nw.getRssi()); in testParcel()
75 assertEquals(0x1234, nw.getLac()); in testParcel()
76 assertEquals(0x5678, nw.getCid()); in testParcel()
77 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nw.getPsc()); in testParcel()
H A DImsiEncryptionInfoTest.java104 ImsiEncryptionInfo nw = new ImsiEncryptionInfo(p); in testParcel() local
/aosp12/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DProvisionObserver.java54 for (Network nw : info) { in onStartJob()
55 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
60 connMgr.reportNetworkConnectivity(nw, true); in onStartJob()
61 connMgr.reportNetworkConnectivity(nw, false); in onStartJob()
H A DCaptivePortalLoginActivity.java268 for (Network nw : info) { in getNetworkForCaptivePortal()
269 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal()
272 return nw; in getNetworkForCaptivePortal()
/aosp12/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
H A Dsmisc.c152 int nw, nw1; local
162 nw = b->wds;
163 nw1 = nw & 1;
164 for(xe = x + (nw - nw1); x < xe; x += 2)
/aosp12/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertService.java134 public void add(NotificationWrapper nw) { in add() argument
138 mNw.add(nw); in add()
156 public void notify(int id, NotificationWrapper nw) { in notify() argument
157 mNm.notify(id, nw.mNotification); in notify()
/aosp12/frameworks/rs/driver/
H A DrsdAllocation.cpp575 ANativeWindow *nw = drv->wndSurface; in rsdAllocationDestroy() local
576 if (nw) { in rsdAllocationDestroy()
582 ANativeWindow_release(nw); in rsdAllocationDestroy()
711 int r = ANativeWindow_dequeueBuffer(nw, &drv->wndBuffer, &fenceID); in IoGetBuffer()
759 if (nw) { in rsdAllocationSetSurface()
769 r = ANativeWindow_setUsage(nw, in rsdAllocationSetSurface()
777 IoGetBuffer(rsc, alloc, nw); in rsdAllocationSetSurface()
778 drv->wndSurface = nw; in rsdAllocationSetSurface()
788 ANativeWindow *nw = drv->wndSurface; in rsdAllocationIoSend() local
796 if (nw) { in rsdAllocationIoSend()
[all …]
H A DrsdAllocation.h104 android::renderscript::Allocation *alloc, ANativeWindow *nw);
H A DrsdCore.cpp289 …edef void (*sAllocationSetSurfaceFnPtr) (const Context *rsc, Allocation *alloc, ANativeWindow *nw);
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
H A DModemBatteryStatsReader.java101 for (RawBatteryStats.Network nw: bs.getMultiple(RawBatteryStats.Network.class)) { in createRemainder()
102 appActiveTimeMs += nw.mobileRadioActiveTimeUs / 1000; in createRemainder()
/aosp12/frameworks/rs/
H A DrsAllocation.cpp621 ANativeWindow *nw = (ANativeWindow *)sur; in setSurface() local
622 rsc->mHal.funcs.allocation.setSurface(rsc, this, nw); in setSurface()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutService.java1576 final int nw = ow * maxSize / longerDimension; in shrinkBitmap() local
1580 ow, oh, nw, nh)); in shrinkBitmap()
1583 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); in shrinkBitmap()
1586 final RectF dst = new RectF(0, 0, nw, nh); in shrinkBitmap()
/aosp12/build/make/tools/droiddoc/templates-pdk/assets/
H A Djquery-resizable.min.js40nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles=…
/aosp12/packages/modules/DnsResolver/tests/
H A Dresolv_integration_test.cpp6536 ScopedNetwork* nw) -> void { in TEST_F() argument
6539 ASSERT_TRUE(nw->setDnsConfiguration()); in TEST_F()
6540 ASSERT_TRUE(nw->startTunForwarder()); in TEST_F()

12