/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 57 # Python code for object.__reduce_ex__ for protocols 0 and 1 145 # if it is a registered extension code for it. Extension codes are 151 _extension_registry = {} # key -> code 152 _inverted_registry = {} # code -> key 153 _extension_cache = {} # code -> object 157 def add_extension(module, name, code): 158 """Register an extension code.""" 159 code = int(code) 160 if not 1 <= code <= 0x7fffffff [all...] |
/external/llvm/lib/Support/ |
regerror.c | 2 * This code is derived from OpenBSD's libc/regex, original license follows: 8 * This code is derived from software contributed to Berkeley by 14 * 1. Redistributions of source code must retain the above copyright 55 int code; member in struct:rerr 75 { 0, "", "*** unknown regexp error code ***" } 95 for (r = rerrs; r->code != 0; r++) 96 if (r->code == target) 100 if (r->code != 0) { 127 for (r = rerrs; r->code != 0; r++) 130 if (r->code == 0 [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
regerror.c | 2 * This code is derived from OpenBSD's libc/regex, original license follows: 8 * This code is derived from software contributed to Berkeley by 14 * 1. Redistributions of source code must retain the above copyright 55 int code; member in struct:rerr 75 { 0, "", "*** unknown regexp error code ***" } 95 for (r = rerrs; r->code != 0; r++) 96 if (r->code == target) 100 if (r->code != 0) { 127 for (r = rerrs; r->code != 0; r++) 130 if (r->code == 0 [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
regerror.c | 2 * This code is derived from OpenBSD's libc/regex, original license follows: 8 * This code is derived from software contributed to Berkeley by 14 * 1. Redistributions of source code must retain the above copyright 55 int code; member in struct:rerr 75 { 0, "", "*** unknown regexp error code ***" } 95 for (r = rerrs; r->code != 0; r++) 96 if (r->code == target) 100 if (r->code != 0) { 127 for (r = rerrs; r->code != 0; r++) 130 if (r->code == 0 [all...] |
/external/tensorflow/tensorflow/python/eager/ |
core.py | 28 def _status_to_exception(code, message): 30 error_class = errors.exception_type_from_error_code(code) 33 return errors.UnknownError(None, None, message, code) 39 def __init__(self, message, code): 42 self.code = code 45 e = _status_to_exception(self.code, self.message)
|
/frameworks/base/telephony/java/android/telephony/ims/ |
ImsSuppServiceNotification.java | 39 public final int code; field in class:ImsSuppServiceNotification 50 public ImsSuppServiceNotification(int notificationType, int code, int index, int type, 53 this.code = code; 63 code = in.readInt(); 73 ", code=" + code + 89 out.writeInt(code);
|
/external/curl/tests/libtest/ |
lib1509.c | 36 CURLcode code; local 54 code = curl_easy_perform(curl); 55 if(CURLE_OK != code) { 57 "with code %d (%s)\n", 58 __FILE__, __LINE__, (int)code, curl_easy_strerror(code)); 63 code = curl_easy_getinfo(curl, CURLINFO_HEADER_SIZE, &headerSize); 64 if(CURLE_OK != code) { 66 "with code %d (%s)\n", 67 __FILE__, __LINE__, (int)code, curl_easy_strerror(code)) [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
AbstractLexicalPreservingTest.java | 40 protected void considerCode(String code) { 41 cu = LexicalPreservingPrinter.setup(JavaParser.parse(code)); 44 protected void considerExpression(String code) { 45 expression = LexicalPreservingPrinter.setup(JavaParser.parseExpression(code)); 49 String code = readExample(resourceName); local 50 considerCode(code); 51 return code; 65 String code = considerExample(exampleName + "_original"); local 66 assertEquals(code, LexicalPreservingPrinter.print(cu != null ? cu : expression));
|
/external/llvm/test/MC/ARM/ |
directive-arch-mode-switch.s | 6 @ CHECK: .code 32 8 @ In ARM mode, switch to an arch which has ARM and Thumb, no warning or .code directive (stay in ARM mode) 11 @ CHECK-NOT: .code 13 @ CHECK-NOT: .code 15 @ In ARM mode, switch to an arch which has Thumb only, expect warning and .code 16 directive 18 @ CHECK: .code 16 21 @ In Thumb mode, switch to an arch which has ARM and Thumb, no warning or .code directive (stay in Thumb mode) 24 @ CHECK-NOT: .code 26 @ CHECK-NOT: .code 28 @ In Thumb mode, switch to a CPU which has ARM and Thumb, no warning or .code directive (stay in Thumb mode [all...] |
invalid-crc32.s | 11 @ CHECK: error: instruction 'crc32cb' is not predicable, but condition code specified 12 @ CHECK: error: instruction 'crc32b' is not predicable, but condition code specified 13 @ CHECK: error: instruction 'crc32ch' is not predicable, but condition code specified 14 @ CHECK: error: instruction 'crc32h' is not predicable, but condition code specified 15 @ CHECK: error: instruction 'crc32cw' is not predicable, but condition code specified 16 @ CHECK: error: instruction 'crc32w' is not predicable, but condition code specified
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
StatusLine.java | 10 /** Numeric status code, 307: Temporary Redirect. */ 16 public final int code; field in class:StatusLine 19 public StatusLine(Protocol protocol, int code, String message) { 21 this.code = code; 26 return new StatusLine(response.protocol(), response.code(), response.message()); 57 // Parse response code like "200". Always 3 digits. 61 int code; local 63 code = Integer.parseInt(statusLine.substring(codeStart, codeStart + 3)); 69 // exists, it is separated from the response code by a space [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_emit_nvc0.cpp | 172 code[pos / 32] |= (src.get() ? SDATA(src).id : 63) << (pos % 32); 177 code[pos / 32] |= (src ? SDATA(*src).id : 63) << (pos % 32); 183 code[pos / 32] |= r << (pos % 32); 191 code[pos / 32] |= offset << (pos % 32); 193 code[1] |= offset >> (32 - pos); 198 code[pos / 32] |= (def.get() ? DDATA(def).id : 63) << (pos % 32); 204 code[pos / 32] |= r << (pos % 32); 218 case ROUND_M: code[1] |= 1 << 23; break; 219 case ROUND_P: code[1] |= 2 << 23; break; 220 case ROUND_Z: code[1] |= 3 << 23; break [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
SimpleInsn.java | 17 package com.android.dexgen.dex.code; 19 import com.android.dexgen.rop.code.RegisterSpecList; 20 import com.android.dexgen.rop.code.SourcePosition; 29 * unknown ({@code -1}). 32 * @param position {@code non-null;} source position 33 * @param registers {@code non-null;} register list, including a
|
VariableSizeInsn.java | 17 package com.android.dexgen.dex.code; 19 import com.android.dexgen.rop.code.RegisterSpecList; 20 import com.android.dexgen.rop.code.SourcePosition; 28 * unknown ({@code -1}). 30 * @param position {@code non-null;} source position 31 * @param registers {@code non-null;} source registers
|
ZeroSizeInsn.java | 17 package com.android.dexgen.dex.code; 19 import com.android.dexgen.rop.code.RegisterSpecList; 20 import com.android.dexgen.rop.code.SourcePosition; 24 * Pseudo-instruction base class for zero-size (no code emitted) 26 * about the code they are adjacent to. 31 * unknown ({@code -1}). 33 * @param position {@code non-null;} source position
|
/dalvik/dx/src/com/android/dx/dex/code/ |
CodeAddress.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.RegisterSpecList; 20 import com.android.dx.rop.code.SourcePosition; 23 * Pseudo-instruction which is used to track an address within a code 25 * exception handler ranges. Its code size is zero, and so instances 35 * unknown ({@code -1}). 37 * @param position {@code non-null;} source position 45 * unknown ({@code -1}). 47 * @param position {@code non-null;} source position 71 return "code-address" [all...] |
SimpleInsn.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.RegisterSpecList; 20 import com.android.dx.rop.code.SourcePosition; 29 * unknown ({@code -1}). 32 * @param position {@code non-null;} source position 33 * @param registers {@code non-null;} register list, including a
|
VariableSizeInsn.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.RegisterSpecList; 20 import com.android.dx.rop.code.SourcePosition; 28 * unknown ({@code -1}). 30 * @param position {@code non-null;} source position 31 * @param registers {@code non-null;} source registers
|
ZeroSizeInsn.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.RegisterSpecList; 20 import com.android.dx.rop.code.SourcePosition; 24 * Pseudo-instruction base class for zero-size (no code emitted) 26 * about the code they are adjacent to. 31 * unknown ({@code -1}). 33 * @param position {@code non-null;} source position
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
SpecialFormat.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; 27 * exceptions, as code should know (implicitly or explicitly) to avoid 29 * always returns {@code true}. 32 /** {@code non-null;} unique instance of this class */
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
DHKeyParameters.java | 45 int code = isPrivate() ? 0 : 1; local 49 code ^= params.hashCode(); 52 return code;
|
/external/libffi/testsuite/libffi.call/ |
err_bad_abi.c | 19 void *code; local 20 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); 33 CHECK(ffi_prep_closure_loc(pcl, &cif, dummy_fn, NULL, code) == FFI_BAD_ABI);
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
err_bad_abi.c | 19 void *code; local 20 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); 33 CHECK(ffi_prep_closure_loc(pcl, &cif, dummy_fn, NULL, code) == FFI_BAD_ABI);
|
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/ |
err_bad_abi.c | 19 void *code; local 20 ffi_closure *pcl = ffi_closure_alloc(sizeof(ffi_closure), &code); 33 CHECK(ffi_prep_closure_loc(pcl, &cif, dummy_fn, NULL, code) == FFI_BAD_ABI);
|
/external/tpm2/ |
CpriCryptPri.c | 12 static void Trap(const char *function, int line, int code); 26 int code 31 UNREFERENCED(code);
|