/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.nonmodifying/alg.search/ |
search_n.pass.cpp | 61 const unsigned sc = sizeof(ic)/sizeof(ic[0]); local 62 assert(std::search_n(Iter(ic), Iter(ic+sc), 0, 0) == Iter(ic)); 63 assert(std::search_n(Iter(ic), Iter(ic+sc), 1, 0) == Iter(ic)); 64 assert(std::search_n(Iter(ic), Iter(ic+sc), 2, 0) == Iter(ic)); 65 assert(std::search_n(Iter(ic), Iter(ic+sc), 3, 0) == Iter(ic)); 66 assert(std::search_n(Iter(ic), Iter(ic+sc), 4, 0) == Iter(ic+sc)); 69 std::search_n(Iter(ic), Iter(ic+sc), UserDefinedIntegral<unsigned>(0), 0);
|
/external/icu/icu4c/source/test/intltest/ |
ucdtest.cpp | 444 UnicodeSet rtl("[[:bc=R:][:bc=AL:]-[:Cn:]-[:sc=Common:]]", errorCode); 447 UnicodeSet cased("[[:Lu:]-[:sc=Common:]-[:sc=Geor:]]", errorCode); 449 UScriptCode sc = (UScriptCode)sci; local 452 logln(uscript_getShortName(sc)); 453 UScriptUsage usage = uscript_getUsage(sc); 454 UnicodeString sample = uscript_getSampleUnicodeString(sc); 456 scriptSet.applyIntPropertyValue(UCHAR_SCRIPT, sc, errorCode); 459 assertFalse("not encoded, not RTL", uscript_isRightToLeft(sc)); 460 assertFalse("not encoded, not LB letters", uscript_breaksBetweenLetters(sc)); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
WeibullDistributionImpl.java | 314 final double sc = getScale(); local 316 return sc * FastMath.exp(Gamma.logGamma(1 + (1 / sh))); 331 final double sc = getScale(); local 334 return (sc * sc) *
|
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
ScriptC_reduce_general_examples_explicit.java.expect | 188 public result_int reduce_addint_init(Allocation ain1, Script.LaunchOptions sc) { 195 reduce(mExportReduceIdx_addint_init, new Allocation[]{ain1}, aout, sc); 221 public result_int reduce_addint_comb(Allocation ain1, Script.LaunchOptions sc) { 228 reduce(mExportReduceIdx_addint_comb, new Allocation[]{ain1}, aout, sc); 254 public result_int reduce_addint_init_comb(Allocation ain1, Script.LaunchOptions sc) { 261 reduce(mExportReduceIdx_addint_init_comb, new Allocation[]{ain1}, aout, sc); 301 public result_float reduce_dp_init(Allocation ain1, Allocation ain2, Script.LaunchOptions sc) { 325 reduce(mExportReduceIdx_dp_init, new Allocation[]{ain1, ain2}, aout, sc); 351 public resultArray256_uint reduce_histogram_init(Allocation ain1, Script.LaunchOptions sc) { 358 reduce(mExportReduceIdx_histogram_init, new Allocation[]{ain1}, aout, sc); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/ |
threads_scenarii.c | 485 unsigned int sc; variable 499 for (sc = 0; sc < NSCENAR; sc++) { 503 sc, scenarii[sc].descr); 506 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL); 507 switch (scenarii[sc].result) { 529 if (scenarii[sc].detached == 0) { 537 ret = sem_wait(&scenarii[sc].sem) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
threads_scenarii.c | 440 int sc = 0; /* This might be very dirty... but is much simpler */ variable 457 for (sc = 0; sc < NSCENAR; sc++) { 460 output("Starting test with scenario (%i): %s\n", sc, 461 scenarii[sc].descr); 464 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL); 465 switch (scenarii[sc].result) { 493 if (scenarii[sc].detached == 0) { 502 ret = sem_wait(&scenarii[sc].sem) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/ |
threads_scenarii.c | 440 int sc = 0; /* This might be very dirty... but is much simpler */ variable 457 for (sc = 0; sc < NSCENAR; sc++) { 460 output("Starting test with scenario (%i): %s\n", sc, 461 scenarii[sc].descr); 464 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL); 465 switch (scenarii[sc].result) { 493 if (scenarii[sc].detached == 0) { 502 ret = sem_wait(&scenarii[sc].sem) [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
threads_scenarii.c | 507 int sc = 0; /* This might be very dirty... but is much simpler */ variable 524 for (sc = 0; sc < NSCENAR; sc++) { 527 output("Starting test with scenario (%i): %s\n", sc, 528 scenarii[sc].descr); 531 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL); 532 switch (scenarii[sc].result) { 560 if (scenarii[sc].detached == 0) { 569 ret = sem_wait(&scenarii[sc].sem) [all...] |
/external/aac/libAACenc/src/ |
channel_map.cpp | 468 int sc = CountLeadingBits(fixMax(maxChannelBits, averageBitsTot)); local 470 (INT)((fMult(lfeRate, (FIXP_DBL)(maxChannelBits << sc)) >> sc) << 1), 472 fMult(lfeRate, (FIXP_DBL)(averageBitsTot << sc))) 474 sc)); 477 sc = CountLeadingBits(maxChannelBits); 480 fMult((FIXP_DBL)maxChannelBits << sc, GetInvInt(5)) >> sc; 513 int sc = CountLeadingBits(fixMax(maxChannelBits, averageBitsTot)); local 515 (INT)((fMult(lfeRate, (FIXP_DBL)(maxChannelBits << sc)) >> sc) << 1) 563 int sc = CountLeadingBits(fixMax(maxChannelBits, averageBitsTot)); local [all...] |
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
SpecialCharSequenceMgr.java | 225 final SimContactQueryCookie sc = local 229 sc.contactNum = index - 1; 230 sc.setTextField(textField); 233 sc.progressDialog = new ProgressDialog(context); 234 sc.progressDialog.setTitle(R.string.simContacts_title); 235 sc.progressDialog.setMessage(context.getText(R.string.simContacts_emptyLoading)); 236 sc.progressDialog.setIndeterminate(true); 237 sc.progressDialog.setCancelable(true); 238 sc.progressDialog.setOnCancelListener(sc); 619 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; local [all...] |
/external/aac/libSACdec/src/ |
sac_reshapeBBEnv.cpp | 494 INT sc = 0; local 496 FIXP_DBL inv_sqrt = invSqrtNorm2(partNrg[pb], &sc); 502 sc = scale - (2 * sc - sn - s); 503 scale_min = fixMin(scale_min, sc); 506 resPbSF[pb] = sc; 516 INT sc = fixMax(fixMin(resPbSF[pb] + scale_min, DFRACT_BITS - 1), local 519 if (sc < 0) { 520 env += resPb[pb] << (-sc); 522 env += resPb[pb] >> (sc); 544 INT sc, se, sn; local 598 INT sc; local [all...] |
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
ScriptC_reduce_general_inputs.java.expect | 159 public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2, Script.LaunchOptions sc) { 183 reduce(mExportReduceIdx_my_half_half_0, new Allocation[]{ain1, ain2}, aout, sc); 223 public result_int reduce_my_half_half_1(Allocation ain1, Allocation ain2, Script.LaunchOptions sc) { 247 reduce(mExportReduceIdx_my_half_half_1, new Allocation[]{ain1, ain2}, aout, sc); 291 public result_int reduce_my_half_half2_0(Allocation ain1, Allocation ain2, Script.LaunchOptions sc) { 315 reduce(mExportReduceIdx_my_half_half2_0, new Allocation[]{ain1, ain2}, aout, sc); 359 public result_int reduce_my_half_half2_1(Allocation ain1, Allocation ain2, Script.LaunchOptions sc) { 383 reduce(mExportReduceIdx_my_half_half2_1, new Allocation[]{ain1, ain2}, aout, sc); 427 public result_int reduce_my_half_half4_0(Allocation ain1, Allocation ain2, Script.LaunchOptions sc) { 451 reduce(mExportReduceIdx_my_half_half4_0, new Allocation[]{ain1, ain2}, aout, sc); [all...] |
/external/eigen/test/ |
corners.cpp | 35 Index sc = internal::random<Index>(1,cols) - 1; local 36 Index nc = internal::random<Index>(1,cols-sc); 42 COMPARE_CORNER(middleCols(sc,nc), block(0,sc,rows,nc)); 57 sc = SCols enumerator in enum:__anon19835 79 VERIFY_IS_EQUAL((matrix.template middleCols<c>(sc)), (matrix.template block<rows,c>(0,sc))); 101 VERIFY_IS_EQUAL((const_matrix.template middleCols<c>(sc)), (const_matrix.template block<rows,c>(0,sc)));
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/ |
vgg.py | 98 with variable_scope.variable_scope(scope, 'vgg_a', [inputs]) as sc: 99 end_points_collection = sc.original_name_scope + '_end_points' 132 end_points[sc.name + '/fc8'] = net 163 with variable_scope.variable_scope(scope, 'vgg_16', [inputs]) as sc: 164 end_points_collection = sc.original_name_scope + '_end_points' 197 end_points[sc.name + '/fc8'] = net 228 with variable_scope.variable_scope(scope, 'vgg_19', [inputs]) as sc: 229 end_points_collection = sc.name + '_end_points' 262 end_points[sc.name + '/fc8'] = net
|
/external/valgrind/coregrind/m_syswrap/ |
syscall-ppc64le-linux.S | 118 sc /* set the mask */ 129 2: sc /* do the syscall */ 132 3: std 3,OFFSET_ppc64_GPR3(30) /* gst->GPR3 = sc result */ 145 sc /* set the mask */
|
/frameworks/rs/cpu_ref/ |
rsd_cpu.h | 48 const ScriptC * sc; member in struct:android::renderscript::RsdCpuReference::CpuTls 63 const RsScriptCall *sc) = 0; 68 const RsScriptCall *sc) = 0;
|
/frameworks/rs/driver/ |
rsdShader.h | 68 void setup(const android::renderscript::Context *, RsdShaderCache *sc); 93 RsdShaderCache *sc, bool isFragment); 97 void setupTextures(const android::renderscript::Context *rsc, RsdShaderCache *sc);
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
ScriptC_reduce_general_result.java.expect | [all...] |
/art/test/004-SignalTest/ |
signaltest.cc | 81 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 82 sc->arm_pc += 2; // Skip instruction causing segv. 85 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); local 86 sc->pc += 4; // Skip instruction causing segv.
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
layers.py | 112 with ops.name_scope(scope, 'AvgPool2D', [inputs]) as sc: 121 _scope=sc) 123 return utils.collect_named_outputs(outputs_collections, sc, outputs) 161 with ops.name_scope(scope, 'AvgPool3D', [inputs]) as sc: 170 _scope=sc) 172 return utils.collect_named_outputs(outputs_collections, sc, outputs) 266 scope, 'BatchNorm', [inputs], reuse=reuse) as sc: 426 return utils.collect_named_outputs(outputs_collections, sc.name, outputs) 607 custom_getter=layer_variable_getter) as sc: 647 name=sc.name [all...] |
/frameworks/compile/slang/tests/P_reduce_general_struct/ |
ScriptC_reduce_general_struct.java.expect | 92 public result_int reduce_inStruct(Allocation ain1, Script.LaunchOptions sc) { 99 reduce(mExportReduceIdx_inStruct, new Allocation[]{ain1}, aout, sc);
|
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/ |
layers.py | 196 custom_getter=layer_variable_getter) as sc: 234 name=sc.name, 236 _scope=sc, 252 sc.original_name_scope, outputs) 330 custom_getter=layer_variable_getter) as sc: 342 name=sc.name, 344 _scope=sc, 363 sc.original_name_scope, outputs)
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wpas_kay.c | 109 static int wpas_create_receive_sc(void *wpa_s, struct receive_sc *sc, 113 return wpa_drv_create_receive_sc(wpa_s, sc, conf_offset_val(co), vf); 117 static int wpas_delete_receive_sc(void *wpa_s, struct receive_sc *sc) 119 return wpa_drv_delete_receive_sc(wpa_s, sc); 148 wpas_create_transmit_sc(void *wpa_s, struct transmit_sc *sc, 151 return wpa_drv_create_transmit_sc(wpa_s, sc, conf_offset_val(co)); 155 static int wpas_delete_transmit_sc(void *wpa_s, struct transmit_sc *sc) 157 return wpa_drv_delete_transmit_sc(wpa_s, sc);
|
/frameworks/base/rs/java/android/renderscript/ |
RSTextureView.java | 147 * @param sc The RS surface config to create. 151 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { 152 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
|
/frameworks/rs/tests/java_api/HelloComputeNDK/libhellocomputendk/ |
helloComputeNDK.cpp | 54 ScriptC_mono* sc = new ScriptC_mono(rs); local 55 sc->forEach_root(inputAlloc, outputAlloc);
|