| /external/libmojo/third_party/jinja2/ |
| bccache.py | 33 def marshal_dump(code, f): 35 marshal.dump(code, f) 37 f.write(marshal.dumps(code)) 74 self.code = None 83 # the source code of the file changed, we need to reload 88 self.code = marshal_load(f) 92 if self.code is None: 96 marshal_dump(self.code, f) 140 bucket. If they are not able to find code in the cache for the 295 code = self.client.get(self.prefix + bucket.key [all...] |
| /external/python/cpython2/Lib/test/ |
| test_compile.py | 98 code = [""" 114 for c in code: 115 compile(c, "<code>", "exec") 176 code = ''' 194 exec code 245 # the first line of code starts after 256, correct line numbers 420 code = b'# -*- coding: badencoding -*-\npass\n' 421 self.assertRaises(SyntaxError, compile, code, 'tmp', 'exec') 422 code = u"# -*- coding: utf-8 -*-\npass\n" 423 self.assertRaises(SyntaxError, compile, code, "tmp", "exec" [all...] |
| /external/python/cpython2/Modules/cjkcodecs/ |
| _codecs_hk.c | 35 * These are handled by not mapping tables but a hand-written code. 43 DBCHAR code; local 59 TRYMAP_ENC(big5hkscs_bmp, code, c) { 60 if (code == MULTIC) { 64 code = big5hkscs_pairenc_table[ 74 code = 0x8866; 76 code = 0x88a7; 80 else TRYMAP_ENC(big5, code, c); 86 TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff); 92 OUT1(code >> 8 [all...] |
| /external/python/cpython3/Modules/cjkcodecs/ |
| _codecs_hk.c | 35 * These are handled by not mapping tables but a hand-written code. 43 DBCHAR code; local 57 if (TRYMAP_ENC(big5hkscs_bmp, code, c)) { 58 if (code == MULTIC) { 68 code = big5hkscs_pairenc_table[ 78 code = 0x8866; 80 code = 0x88a7; 84 else if (TRYMAP_ENC(big5, code, c)) 92 if (TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff)) 100 OUTBYTE1(code >> 8) [all...] |
| /external/skia/src/gpu/ccpr/ |
| GrCCQuadraticShader.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 37 GrGLSLVarying::Scope scope, SkString* code, 44 code->appendf("%s.xy = (%s * float3(%s, 1)).xy;", 46 code->appendf("%s.z = dot(%s.xy, %s) + %s.z;", 49 code->appendf("%s.w = %s;", OutName(fXYDW), wind); 51 this->onEmitVaryings(varyingHandler, scope, code); 80 GrGLSLVarying::Scope scope, SkString* code) { 83 code->appendf("%s = float2(2 * %s.x, -1) * float2x2(%s);", 103 GrGLSLVarying::Scope scope, SkString* code) { 108 code->appendf("%s = float3(%s[0].x, %s[0].y, %s.x);" [all...] |
| /external/skqp/src/gpu/ccpr/ |
| GrCCQuadraticShader.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 37 GrGLSLVarying::Scope scope, SkString* code, 44 code->appendf("%s.xy = (%s * float3(%s, 1)).xy;", 46 code->appendf("%s.z = dot(%s.xy, %s) + %s.z;", 49 code->appendf("%s.w = %s;", OutName(fXYDW), wind); 51 this->onEmitVaryings(varyingHandler, scope, code); 80 GrGLSLVarying::Scope scope, SkString* code) { 83 code->appendf("%s = float2(2 * %s.x, -1) * float2x2(%s);", 103 GrGLSLVarying::Scope scope, SkString* code) { 106 code->appendf("%s = float3(%s[0].x, %s[0].y, %s.x);" [all...] |
| /external/tensorflow/tensorflow/core/debug/ |
| debug_graph_utils_test.cc | 49 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code()); 53 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code()); 57 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code()); 66 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code()); 70 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code()); [all...] |
| /external/webp/src/dsp/ |
| lossless_common.h | 3 // Use of this source code is governed by a BSD-style license 97 // extra bits. The prefixes are encoded with an entropy code 99 static WEBP_INLINE void VP8LPrefixEncodeBitsNoLUT(int distance, int* const code, 104 *code = 2 * highest_bit + second_highest_bit; 107 static WEBP_INLINE void VP8LPrefixEncodeNoLUT(int distance, int* const code, 114 *code = 2 * highest_bit + second_highest_bit; 126 static WEBP_INLINE void VP8LPrefixEncodeBits(int distance, int* const code, 130 *code = prefix_code.code_; 133 VP8LPrefixEncodeBitsNoLUT(distance, code, extra_bits); 137 static WEBP_INLINE void VP8LPrefixEncode(int distance, int* const code, [all...] |
| /hardware/interfaces/wifi/supplicant/1.1/vts/functional/ |
| supplicant_hidl_test.cpp | 74 (status.code == SupplicantStatusCode::SUCCESS) || 75 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); 91 (status.code == SupplicantStatusCode::SUCCESS) || 92 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); 109 (status.code == SupplicantStatusCode::SUCCESS) || 110 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); 115 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); 131 (status.code == SupplicantStatusCode::SUCCESS) || 132 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); 137 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); [all...] |
| /prebuilts/go/darwin-x86/test/fixedbugs/issue9608.dir/ |
| issue9608.go | 2 // Use of this source code is governed by a BSD-style 7 func fail() // unimplemented, to test dead code elimination 9 // Test dead code elimination in if statements 19 // Test dead code elimination in ordinary switch statements 71 // Test dead code elimination in large ranges.
|
| /prebuilts/go/linux-x86/test/fixedbugs/issue9608.dir/ |
| issue9608.go | 2 // Use of this source code is governed by a BSD-style 7 func fail() // unimplemented, to test dead code elimination 9 // Test dead code elimination in if statements 19 // Test dead code elimination in ordinary switch statements 71 // Test dead code elimination in large ranges.
|
| /dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
| Form11n.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpecList; 28 * Instruction format {@code 11n}. See the instruction format spec 32 /** {@code non-null;} unique instance of this class */
|
| Form21s.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpecList; 28 * Instruction format {@code 21s}. See the instruction format spec 32 /** {@code non-null;} unique instance of this class */
|
| Form22b.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpecList; 28 * Instruction format {@code 22b}. See the instruction format spec 32 /** {@code non-null;} unique instance of this class */
|
| Form22c.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpecList; 30 * Instruction format {@code 22c}. See the instruction format spec 34 /** {@code non-null;} unique instance of this class */
|
| Form22s.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpecList; 28 * Instruction format {@code 22s}. See the instruction format spec 32 /** {@code non-null;} unique instance of this class */
|
| Form22t.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.DalvInsn; 20 import com.android.dexgen.dex.code.InsnFormat; 21 import com.android.dexgen.dex.code.TargetInsn; 22 import com.android.dexgen.rop.code.RegisterSpecList; 26 * Instruction format {@code 22t}. See the instruction format spec 30 /** {@code non-null;} unique instance of this class */
|
| Form31i.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpecList; 28 * Instruction format {@code 31i}. See the instruction format spec 32 /** {@code non-null;} unique instance of this class */
|
| Form51l.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpecList; 29 * Instruction format {@code 51l}. See the instruction format spec 33 /** {@code non-null;} unique instance of this class */
|
| /dalvik/dx/src/com/android/dx/command/dump/ |
| BlockDumper.java | 19 import com.android.dx.cf.code.BasicBlocker; 20 import com.android.dx.cf.code.ByteBlock; 21 import com.android.dx.cf.code.ByteBlockList; 22 import com.android.dx.cf.code.ByteCatchList; 23 import com.android.dx.cf.code.BytecodeArray; 24 import com.android.dx.cf.code.ConcreteMethod; 25 import com.android.dx.cf.code.Ropper; 31 import com.android.dx.rop.code.AccessFlags; 32 import com.android.dx.rop.code.BasicBlock; 33 import com.android.dx.rop.code.BasicBlockList 207 BytecodeArray code = meth.getCode(); local 280 BytecodeArray code = meth.getCode(); local [all...] |
| /dalvik/dx/src/com/android/dx/dex/code/form/ |
| Form21t.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.DalvInsn; 20 import com.android.dx.dex.code.InsnFormat; 21 import com.android.dx.dex.code.TargetInsn; 22 import com.android.dx.rop.code.RegisterSpecList; 27 * Instruction format {@code 21t}. See the instruction format spec 31 /** {@code non-null;} unique instance of this class */
|
| Form22t.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.DalvInsn; 20 import com.android.dx.dex.code.InsnFormat; 21 import com.android.dx.dex.code.TargetInsn; 22 import com.android.dx.rop.code.RegisterSpecList; 27 * Instruction format {@code 22t}. See the instruction format spec 31 /** {@code non-null;} unique instance of this class */
|
| Form22x.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.DalvInsn; 20 import com.android.dx.dex.code.InsnFormat; 21 import com.android.dx.dex.code.SimpleInsn; 22 import com.android.dx.rop.code.RegisterSpecList; 27 * Instruction format {@code 22x}. See the instruction format spec 31 /** {@code non-null;} unique instance of this class */
|
| Form23x.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.DalvInsn; 20 import com.android.dx.dex.code.InsnFormat; 21 import com.android.dx.dex.code.SimpleInsn; 22 import com.android.dx.rop.code.RegisterSpecList; 27 * Instruction format {@code 23x}. See the instruction format spec 31 /** {@code non-null;} unique instance of this class */
|
| Form31i.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.CstInsn; 20 import com.android.dx.dex.code.DalvInsn; 21 import com.android.dx.dex.code.InsnFormat; 22 import com.android.dx.rop.code.RegisterSpecList; 29 * Instruction format {@code 31i}. See the instruction format spec 33 /** {@code non-null;} unique instance of this class */
|