/cts/tests/tests/telephony/src/android/telephony/cts/ |
NeighboringCellInfoTest.java | 36 NeighboringCellInfo nc; local 39 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); 40 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); 41 assertEquals(rssi, nc.getRssi()); 42 assertEquals(0xfff, nc.getLac()); 43 assertEquals(0xffff, nc.getCid()); 44 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); 46 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); 47 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); 48 assertEquals(rssi, nc.getRssi()) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
NeighboringCellInfoTest.java | 32 NeighboringCellInfo nc; local 34 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); 35 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); 36 assertEquals(rssi, nc.getRssi()); 37 assertEquals(0xfff, nc.getLac()); 38 assertEquals(0xffff, nc.getCid()); 39 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); 41 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); 42 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); 43 assertEquals(rssi, nc.getRssi()) 60 NeighboringCellInfo nc = new NeighboringCellInfo(rssi, "12345678", NETWORK_TYPE_GPRS); local [all...] |
/packages/apps/Email/provider_src/com/android/email/ |
EmailIntentService.java | 40 final NotificationController nc = local 42 if (nc != null) { 43 nc.handleUpdateNotificationIntent(this, intent);
|
/external/curl/docs/examples/ |
cookie_interface.c | 37 struct curl_slist *nc; local 46 nc = cookies, i = 1; 47 while (nc) { 48 printf("[%d]: %s\n", i, nc->data); 49 nc = nc->next;
|
/external/eigen/bench/ |
benchmarkSlice.cpp | 26 int r, c, nr, nc; local 30 nc = Eigen::internal::random<int>(50,80); 31 m.block(r,c,nr,nc) += Mat::Ones(nr,nc); 32 m.block(r,c,nr,nc) *= SCALAR(10); 33 m.block(r,c,nr,nc) -= Mat::constant(nr,nc,10); 34 m.block(r,c,nr,nc) /= SCALAR(10);
|
/external/clang/test/CXX/dcl.decl/dcl.init/ |
p14-0x.cpp | 34 NoCopy nc = NoCopy(); // expected-error {{call to deleted}} member in class:S
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/ |
p2.cpp | 55 NonConst nc; member in struct:copy::NonConst3 61 NonConst nc; // makes implicit copy non-const member in struct:copy::BadConst
|
/external/eigen/test/ |
corners.cpp | 36 Index nc = internal::random<Index>(1,cols-sc); local 42 COMPARE_CORNER(middleCols(sc,nc), block(0,sc,rows,nc));
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
make_shared.pass.cpp | 50 int nc = globalMemCounter.outstanding_new; local 55 assert(globalMemCounter.checkOutstandingNewEq(nc+1)); 69 nc = globalMemCounter.outstanding_new; 73 assert(globalMemCounter.checkOutstandingNewEq(nc+1));
|
/external/libnl/tests/ |
test-cache-mngr.c | 32 struct nl_cache *lc, *nc, *ac, *rc; local 48 if ((err = nl_cache_mngr_add(mngr, "route/neigh", &change_cb, &nc)) < 0)
|
/external/llvm/test/tools/dsymutil/X86/ |
odr-uniquing.cpp | 41 // CHECK: 0x[[NC:[0-9a-f]*]]:{{.*}}DW_TAG_class_type 77 N::C nc; local 117 // ODR: DW_AT_name{{.*}}"nc" 119 // ODR: DW_AT_type{{.*}}[[NC]] 168 // NOODR: DW_AT_name{{.*}}"nc"
|
/external/v8/src/base/ |
division-by-constant.cc | 31 const T anc = t - 1 - t % ad; // Absolute value of nc 33 T q1 = min / anc; // Init. q1 = 2**p/|nc|. 34 T r1 = min - q1 * anc; // Init. r1 = rem(2**p, |nc|). 40 q1 = 2 * q1; // Update q1 = 2**p/|nc|. 41 r1 = 2 * r1; // Update r1 = rem(2**p, |nc|). 68 const T nc = ones - (ones - d) % d; local 71 T q1 = min / nc; // Init. q1 = 2**p/nc 72 T r1 = min - q1 * nc; // Init. r1 = rem(2**p,nc) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
isp_az.cpp | 93 #define NC (M/2) 143 int16 nc; local 149 nc = m >> 1; 152 if (nc > 8) 154 Get_isp_pol_16kHz(&isp[0], f1, nc); 155 for (i = 0; i <= nc; i++) 159 Get_isp_pol_16kHz(&isp[1], f2, nc - 1); 160 for (i = 0; i <= nc - 1; i++) 167 Get_isp_pol(&isp[0], f1, nc); 168 Get_isp_pol(&isp[1], f2, nc - 1) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
isp_az.c | 29 #define NC (M/2) 48 Word16 nc; local 53 nc = (m >> 1); 54 if(nc > 8) 56 Get_isp_pol_16kHz(&isp[0], f1, nc); 57 for (i = 0; i <= nc; i++) 62 Get_isp_pol(&isp[0], f1, nc); 64 if (nc > 8) 66 Get_isp_pol_16kHz(&isp[1], f2, (nc - 1)); 67 for (i = 0; i <= nc - 1; i++ [all...] |
/libcore/ojluni/src/main/native/ |
canonicalize_md.c | 100 joinNames(char *names, int nc, char **ix) 105 for (i = 0, p = names; i < nc; i++) { 131 int nc; local 136 nc = collapsible(names); 137 if (nc < 2) return; /* Nothing to do */ 138 ix = (char **)alloca(nc * sizeof(char *)); 141 for (i = 0; i < nc; i++) { 158 } while (i < nc); 159 if (i >= nc) break; 180 joinNames(names, nc, ix) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
make_shared.pass.cpp | 55 int nc = new_count; local 60 assert(new_count == nc+1); 66 nc = new_count; 70 assert(new_count == nc+1);
|
/bionic/libc/bionic/ |
net_if.cpp | 121 NetlinkConnection nc; local 122 bool okay = nc.SendRequest(RTM_GETLINK) && nc.ReadResponses(__if_nameindex_callback, &list);
|
/external/clang/test/SemaCXX/ |
cxx0x-cursory-default-delete.cpp | 20 non_copiable nc; local 21 non_copiable nc2 = nc; // expected-error {{deleted constructor}} 22 nc = nc; // expected-error {{deleted operator}}
|
/external/libopus/celt/tests/ |
test_unit_cwrs32.c | 102 opus_uint32 nc; local 108 nc=ncwrs_urow(n,k,uu); 110 nc=CELT_PVQ_V(n,k); 112 inc=nc/20000; 114 for(i=0;i<nc;i+=inc){ 136 /*printf("%6u of %u:",i,nc); 150 if(v!=nc){ 152 (long)v,(long)nc);
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 134 NetworkConfig *nc = new NetworkConfig(); local 135 if (nc == NULL) 137 nc->setWpaGui(wpagui); 138 nc->paramsFromScanResults(sel); 139 nc->show(); 140 nc->exec();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcRequest.java | 71 NetworkCapabilities nc = nr.networkCapabilities; local 73 if (nc.getTransportTypes().length > 0 && 74 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { 83 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { 87 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { 91 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { 95 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { 99 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { 103 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { 107 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) [all...] |
/libcore/ojluni/src/main/java/java/io/ |
LineNumberReader.java | 236 int nc = read(skipBuffer, 0, (int) Math.min(r, nn)); local 237 if (nc == -1) 239 r -= nc;
|
Reader.java | 185 int nc = read(skipBuffer, 0, (int)Math.min(r, nn)); local 186 if (nc == -1) 188 r -= nc;
|
/libcore/ojluni/src/main/java/java/security/cert/ |
TrustAnchor.java | 71 private NameConstraintsExtension nc; field in class:TrustAnchor 276 nc = null; 281 nc = new NameConstraintsExtension(Boolean.FALSE, bytes); 330 if (nc != null) 331 sb.append(" Name Constraints: " + nc.toString() + "\n");
|
/prebuilts/go/darwin-x86/test/ken/ |
chan.go | 37 nc *Chan 41 nc = new(Chan) 225 go sel(ca[0], ca[1], ca[2], ca[3], nc, nc, nc, nc) 239 go sel(nc, nc, nc, nc, ca[0], ca[1], ca[2], ca[3] 36 nc *Chan var [all...] |