/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleReceiver.java | 60 boolean is_ok = locale != null;
61 is_ok = is_ok && (locale.length() == 2 || locale.length() == 5);
62 if (is_ok && locale.length() >= 2) {
63 is_ok = Character.isLetter(locale.charAt(0)) &&
66 if (is_ok && locale.length() == 5) {
67 is_ok = locale.charAt(2) == '_' &&
72 if (!is_ok && DEBUG) {
74 } else if (is_ok) {
|
/external/deqp/external/openglcts/modules/gl/ |
gl4cDirectStateAccessBuffersTests.cpp | 100 bool is_ok = true; local 119 is_ok = false; 137 is_ok = false; 148 is_ok = false; 175 if (is_ok) 231 bool is_ok = true; local 255 is_ok &= TestCase(&DataTest::UploadUsingNamedBufferData, hints[i]); 256 is_ok &= TestCase(&DataTest::UploadUsingNamedBufferSubData, hints[i]); 257 is_ok &= TestCase(&DataTest::UploadUsingCopyNamedBufferSubData, hints[i]); 269 is_ok &= TestCase(&DataTest::UploadUsingNamedBufferStorage, bits[i]) 315 bool is_ok = true; local 873 bool is_ok = true; local 947 bool is_ok = true; local 1170 bool is_ok = true; local 1314 bool is_ok = true; local 1502 bool is_ok = true; local 1667 bool is_ok = true; local 1861 bool is_ok = true; local 2028 bool is_ok = true; local 2128 bool is_ok = true; local 2274 bool is_ok = true; local 2463 bool is_ok = true; local 2633 bool is_ok = true; local 2866 bool is_ok = true; local 3142 bool is_ok = true; local 3379 bool is_ok = true; local 3422 bool is_ok = true; local 3574 bool is_ok = true; local 3716 bool is_ok = true; local 3792 bool is_ok = true; local 3981 bool is_ok = true; local 4117 bool is_ok = true; local 4420 bool is_ok = true; local 4563 bool is_ok = true; local 4765 bool is_ok = true; local 4955 bool is_ok = true; local 5109 bool is_ok = true; local [all...] |
gl4cDirectStateAccessProgramPipelinesTests.cpp | 88 bool is_ok = true; local 107 is_ok = false; 125 is_ok = false; 136 is_ok = false; 159 if (is_ok) 209 bool is_ok = true; local 216 is_ok &= testProgramPipelineParameter(GL_ACTIVE_PROGRAM, 0); 217 is_ok &= testProgramPipelineParameter(GL_VERTEX_SHADER, 0); 218 is_ok &= testProgramPipelineParameter(GL_GEOMETRY_SHADER, 0); 219 is_ok &= testProgramPipelineParameter(GL_FRAGMENT_SHADER, 0) 421 bool is_ok = true; local 514 bool is_ok = true; local [all...] |
gl4cDirectStateAccessVertexArraysTests.cpp | 95 bool is_ok = true; local 114 is_ok = false; 132 is_ok = false; 143 is_ok = false; 170 if (is_ok) 229 bool is_ok = true; local 243 is_ok &= TurnOnAttributes(true, false); 244 is_ok &= DrawAndCheck(false); 246 is_ok &= TurnOnAttributes(false, true); 247 is_ok &= DrawAndCheck(true) 828 bool is_ok = true; local 1269 bool is_ok = true; local 1805 bool is_ok = true; local 2596 bool is_ok = true; local 3020 bool is_ok = true; local 3389 bool is_ok = true; local 3529 bool is_ok = true; local 3648 bool is_ok = true; local 3936 bool is_ok = true; local 4142 bool is_ok = true; local 4240 bool is_ok = true; local 4392 bool is_ok = true; local 4527 bool is_ok = true; local 4739 bool is_ok = true; local 5052 bool is_ok = true; local 5199 bool is_ok = true; local 5333 bool is_ok = true; local 5458 bool is_ok = true; local [all...] |
gl4cDirectStateAccessTexturesTests.cpp | 98 bool is_ok = true; local 129 is_ok = false; 149 is_ok = false; 161 is_ok = false; 191 if (is_ok) 1104 bool is_ok = true; local 1110 is_ok = false; 1116 return is_ok; 1288 bool is_ok = true; local 2372 bool is_ok = true; local 3893 bool is_ok = true; local 4878 bool is_ok = true; local 5547 bool is_ok = true; local 5646 bool is_ok = true; local 6196 bool is_ok = true; local 6619 bool is_ok = true; local 6804 bool is_ok = true; local 7390 bool is_ok = true; local 7627 bool is_ok = true; local 7844 bool is_ok = true; local 7975 bool is_ok = true; local 8128 bool is_ok = true; local 8332 bool is_ok = true; local 8575 bool is_ok = true; local 8633 bool is_ok = true; local 8704 bool is_ok = true; local 8779 bool is_ok = true; local 8858 bool is_ok = true; local 9084 bool is_ok = true; local 9541 bool is_ok = true; local 9754 bool is_ok = true; local 9995 bool is_ok = true; local 10249 bool is_ok = true; local 10359 bool is_ok = true; local 10490 bool is_ok = true; local 10801 bool is_ok = true; local 10945 bool is_ok = true; local 11039 bool is_ok = true; local 11143 bool is_ok = true; local 11357 bool is_ok = true; local 11499 bool is_ok = true; local 11627 bool is_ok = true; local 11755 bool is_ok = true; local 11879 bool is_ok = true; local 12003 bool is_ok = true; local 12127 bool is_ok = true; local 12301 bool is_ok = true; local 12421 bool is_ok = true; local 12518 bool is_ok = true; local 12921 bool is_ok = true; local 13125 bool is_ok = true; local [all...] |
gl4cDirectStateAccessXFBTests.cpp | 88 bool is_ok = true; local 111 is_ok = false; 129 is_ok = false; 162 is_ok = false; 168 is_ok = false; 191 if (is_ok) 245 bool is_ok = true; local 252 is_ok &= testBuffersBindingPoints(); 253 is_ok &= testBuffersDimensions(); 254 is_ok &= testActive() 569 bool is_ok = true; local 977 bool is_ok = true; local 1259 bool is_ok = true; local 1329 bool is_ok = true; local 1400 bool is_ok = true; local 1478 bool is_ok = true; local 1585 bool is_ok = true; local 1906 bool is_ok = true; local 1998 bool is_ok = true; local [all...] |
gl4cDirectStateAccessQueriesTests.cpp | 93 bool is_ok = true; local 119 is_ok = false; 139 is_ok = false; 151 is_ok = false; 177 if (is_ok) 226 bool is_ok = true; local 249 is_ok &= testQueryParameter(GL_QUERY_RESULT, GL_FALSE, target_names[i]); 250 is_ok &= testQueryParameter(GL_QUERY_RESULT_AVAILABLE, GL_TRUE, target_names[i]); 257 is_ok = false; 264 if (is_ok) 392 bool is_ok = true; local 558 bool is_ok = true; local 758 bool is_ok = true; local 882 bool is_ok = true; local 1007 bool is_ok = true; local 1134 bool is_ok = true; local 1443 bool is_ok = true; local 1494 bool is_ok = true; local 1996 bool is_ok = true; local [all...] |
gl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp | 97 bool is_ok = true; local 116 is_ok = false; 134 is_ok = false; 145 is_ok = false; 172 if (is_ok) 226 bool is_ok = true; local 238 is_ok &= Test(GL_COLOR_ATTACHMENT0 + i, GL_RGBA8); 242 is_ok &= Test(GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT24); 245 is_ok &= Test(GL_STENCIL_ATTACHMENT, GL_STENCIL_INDEX8); 248 is_ok &= Test(GL_DEPTH_STENCIL_ATTACHMENT, GL_DEPTH24_STENCIL8) 401 bool is_ok = true; local 823 bool is_ok = true; local 1346 bool is_ok = true; local 1563 bool is_ok = true; local 1763 bool is_ok = true; local 1982 bool is_ok = true; local 2459 bool is_ok = true; local 2704 bool is_ok = true; local 3178 bool is_ok = true; local 3245 bool is_ok = true; local 3324 bool is_ok = true; local 3389 bool is_ok = true; local 3483 bool is_ok = true; local 3595 bool is_ok = true; local 3714 bool is_ok = true; local 3802 bool is_ok = true; local 3866 bool is_ok = true; local 3993 bool is_ok = true; local 4237 bool is_ok = true; local 4361 bool is_ok = true; local 4508 bool is_ok = true; local 4728 bool is_ok = true; local 4811 bool is_ok = true; local 4951 bool is_ok = true; local 5056 bool is_ok = true; local 5322 bool is_ok = true; local 5464 bool is_ok = true; local 5755 bool is_ok = true; local 5846 bool is_ok = true; local 6076 bool is_ok = true; local 6166 bool is_ok = true; local 6344 bool is_ok = true; local 6434 bool is_ok = true; local 6543 bool is_ok = true; local 6622 bool is_ok = true; local 6752 bool is_ok = true; local 6836 bool is_ok = true; local 7097 bool is_ok = true; local 7197 bool is_ok = true; local 7919 bool is_ok = true; local 8046 bool is_ok = true; local 8461 bool is_ok = true; local 8951 bool is_ok = true; local 9100 bool is_ok = true; local 9179 bool is_ok = true; local 9276 bool is_ok = true; local 9360 bool is_ok = true; local 9482 bool is_ok = true; local 9566 bool is_ok = true; local 9680 bool is_ok = true; local [all...] |
gl4cDirectStateAccessSamplersTests.cpp | 88 bool is_ok = true; local 106 is_ok = false; 117 is_ok = false; 133 if (is_ok) 182 bool is_ok = true; local 191 is_ok &= testSamplerFloatVectorParameter(GL_TEXTURE_BORDER_COLOR, expected_vector); 192 is_ok &= testSamplerIntegerParameter(GL_TEXTURE_COMPARE_FUNC, GL_LEQUAL); 193 is_ok &= testSamplerIntegerParameter(GL_TEXTURE_COMPARE_MODE, GL_NONE); 194 is_ok &= testSamplerFloatParameter(GL_TEXTURE_LOD_BIAS, 0.0); 195 is_ok &= testSamplerFloatParameter(GL_TEXTURE_MAX_LOD, 1000) 399 bool is_ok = true; local 492 bool is_ok = true; local [all...] |
gl4cSyncTests.cpp | 103 bool is_ok = false; local 174 is_ok = true; 199 is_ok = false; 228 if (is_ok)
|
gl3cTransformFeedbackTests.cpp | 182 bool is_ok = true; local 237 is_ok = is_ok && m_program_id_with_input_output && m_program_id_with_output && m_program_id_without_output && 242 is_ok = false; 251 is_ok = is_ok && testExtension1(); 256 is_ok = is_ok && testExtension2(); 261 is_ok = is_ok && testExtension3() 1812 bool is_ok = true; local 2152 bool is_ok = true; local 2353 bool is_ok = true; local 2699 bool is_ok = true; local 2907 bool is_ok = true; local 3336 bool is_ok = true; local 3510 bool is_ok = true; local 4272 bool is_ok = true; local 4817 bool is_ok = true; local 4998 bool is_ok = false; local 5109 bool is_ok = true; local 5240 bool is_ok = true; local 5388 bool is_ok = true; local 5845 bool is_ok = true; local 6268 bool is_ok = true; local [all...] |
gl4cContextFlushControlTests.cpp | 86 bool is_ok = true; local 92 is_ok = is_ok && testQuery(m_context.getRenderContext(), GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH); 103 is_ok = is_ok && testQuery(*no_flush_context, GL_NONE); 113 if (is_ok) 250 bool is_ok = true; local 262 is_ok = (test_time_no_flush < test_time_flush); 271 is_ok = false; 276 if (is_ok) [all...] |
gl3cTextureSizePromotion.cpp | 79 bool is_ok = true; local 131 is_ok = is_ok & checkSourceTextureSizeAndType(s_formats[i], s_source_texture_targets[j]); 149 is_ok = is_ok & checkDestinationTexture(s_formats[i], ColorChannelSelector(k), 168 is_ok = false; 181 if (is_ok) 526 bool is_ok = true; local 528 is_ok = is_ok && (red_size >= descriptor.min_red_size) [all...] |
gl4cGetTextureSubImageTests.cpp | 93 bool is_ok = true; local 107 is_ok &= testExistingTextureObjectError(); 109 is_ok &= testBufferOrMultisampledTargetError(); 111 is_ok &= testNegativeOffsetError(); 113 is_ok &= testBoundsError(); 115 is_ok &= testOneDimmensionalTextureErrors(); 117 is_ok &= testTwoDimmensionalTextureErrors(); 119 is_ok &= testBufferSizeError(); 124 is_ok = false; 132 if (is_ok) 751 bool is_ok = true; local 1064 bool is_ok = true; local [all...] |
gl4cConditionalRenderInvertedTests.cpp | 75 bool is_ok = true; local 96 is_ok &= test(modes[i]); 102 is_ok = false; 110 if (is_ok) 243 bool is_ok = true; local 304 is_ok = false; 309 is_ok = false; 320 is_ok = false; 330 if (is_ok)
|
gl4cES31CompatibilityTests.cpp | 81 bool is_ok = true; local 120 is_ok = false; 164 is_ok = false; 177 if (is_ok) 280 bool is_ok = true; local 294 is_ok = false; 299 is_ok &= test(); 310 is_ok = false; 319 if (is_ok)
|
gl3cClipDistance.cpp | 97 bool is_ok = true; local 99 is_ok = is_ok && MaxClipDistancesValueTest(gl); 100 is_ok = is_ok && EnableDisableTest(gl); 101 is_ok = is_ok && MaxClipDistancesValueInVertexShaderTest(gl); 102 is_ok = is_ok && MaxClipDistancesValueInFragmentShaderTest(gl); 103 is_ok = is_ok && ClipDistancesValuePassing(gl) 995 bool is_ok = true; local [all...] |
gl4cIncompleteTextureAccessTests.cpp | 97 bool is_ok = true; local 118 is_ok = false; 126 is_ok = false; 135 if (is_ok)
|
/external/brotli/c/tools/ |
brotli.c | 580 BROTLI_BOOL is_ok = OpenInputFile(context->current_input_path, &context->fin); local 581 if (!context->test_integrity && is_ok) { 582 is_ok = OpenOutputFile( 585 return is_ok; 589 BROTLI_BOOL is_ok = BROTLI_TRUE; local 599 is_ok = BROTLI_FALSE; 603 if (success && is_ok && context->copy_stat) { 610 if (is_ok) { 614 is_ok = BROTLI_FALSE; 624 return is_ok; 685 BROTLI_BOOL is_ok = BROTLI_TRUE; local 751 BROTLI_BOOL is_ok = BROTLI_TRUE; local 778 BROTLI_BOOL is_ok = BROTLI_TRUE; local [all...] |
/external/v8/src/inspector/build/ |
compile-scripts.py | 90 is_ok = False 98 is_ok = major >= java_required_major and minor >= java_required_minor 99 if is_ok: 109 if not is_ok:
|
/toolchain/binutils/binutils-2.27/gold/ |
gold.cc | 180 bool is_ok = false; local 182 is_ok = true; 186 is_ok = true; 188 if (is_ok)
|
/system/bt/bta/av/ |
bta_av_main.cc | 1085 bool is_ok = true; local [all...] |
/external/autotest/frontend/afe/ |
moblab_rpc_interface.py | 389 def _create_operation_status_response(is_ok, details): 392 @param: is_ok: Boolean for if the operation is ok. 397 status_response = {'status_ok': is_ok} [all...] |
/packages/apps/Nfc/nci/jni/ |
NativeNfcManager.cpp | 64 extern void nativeNfcTag_formatStatus(bool is_ok); [all...] |