/external/python/cpython3/Lib/test/ |
test_copyreg.py | 45 mod, func, code = 'junk1 ', ' junk2', 0xabcd 46 e = ExtensionSaver(code) 50 mod, func, code) 51 copyreg.add_extension(mod, func, code) 53 self.assertTrue(copyreg._extension_registry[mod, func] == code) 54 self.assertTrue(copyreg._inverted_registry[code] == (mod, func)) 56 self.assertNotIn(code, copyreg._extension_cache) 58 copyreg.add_extension(mod, func, code) # shouldn't blow up 59 # Conflicting code. 61 mod, func, code + 1 [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
IAppOpsService.aidl | 25 // These first methods are also called by native code, so must 27 int checkOperation(int code, int uid, String packageName); 28 int noteOperation(int code, int uid, String packageName); 29 int startOperation(IBinder token, int code, int uid, String packageName, 31 void finishOperation(IBinder token, int code, int uid, String packageName); 36 int noteProxyOperation(int code, String proxyPackageName, 44 void setUidMode(int code, int uid, int mode); 45 void setMode(int code, int uid, String packageName, int mode); 47 int checkAudioOperation(int code, int usage, int uid, String packageName); 48 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_copy_reg.py | 46 mod, func, code = 'junk1 ', ' junk2', 0xabcd 47 e = ExtensionSaver(code) 51 mod, func, code) 52 copy_reg.add_extension(mod, func, code) 54 self.assertTrue(copy_reg._extension_registry[mod, func] == code) 55 self.assertTrue(copy_reg._inverted_registry[code] == (mod, func)) 57 self.assertNotIn(code, copy_reg._extension_cache) 59 copy_reg.add_extension(mod, func, code) # shouldn't blow up 60 # Conflicting code. 62 mod, func, code + 1 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_copy_reg.py | 46 mod, func, code = 'junk1 ', ' junk2', 0xabcd 47 e = ExtensionSaver(code) 51 mod, func, code) 52 copy_reg.add_extension(mod, func, code) 54 self.assertTrue(copy_reg._extension_registry[mod, func] == code) 55 self.assertTrue(copy_reg._inverted_registry[code] == (mod, func)) 57 self.assertNotIn(code, copy_reg._extension_cache) 59 copy_reg.add_extension(mod, func, code) # shouldn't blow up 60 # Conflicting code. 62 mod, func, code + 1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_copy_reg.py | 46 mod, func, code = 'junk1 ', ' junk2', 0xabcd 47 e = ExtensionSaver(code) 51 mod, func, code) 52 copy_reg.add_extension(mod, func, code) 54 self.assertTrue(copy_reg._extension_registry[mod, func] == code) 55 self.assertTrue(copy_reg._inverted_registry[code] == (mod, func)) 57 self.assertNotIn(code, copy_reg._extension_cache) 59 copy_reg.add_extension(mod, func, code) # shouldn't blow up 60 # Conflicting code. 62 mod, func, code + 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_copy_reg.py | 46 mod, func, code = 'junk1 ', ' junk2', 0xabcd 47 e = ExtensionSaver(code) 51 mod, func, code) 52 copy_reg.add_extension(mod, func, code) 54 self.assertTrue(copy_reg._extension_registry[mod, func] == code) 55 self.assertTrue(copy_reg._inverted_registry[code] == (mod, func)) 57 self.assertNotIn(code, copy_reg._extension_cache) 59 copy_reg.add_extension(mod, func, code) # shouldn't blow up 60 # Conflicting code. 62 mod, func, code + 1 [all...] |
/external/libunwind/src/ia64/ |
unwind_decoder.h | 51 * UNW_DEC_BAD_CODE(code) 107 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) 124 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) 142 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) 162 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) 183 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg) 185 int body = (code & 0x20) != 0; 188 rlen = (code & 0x1f); 194 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg) 201 mask = ((code & 0x7) << 1) | ((byte1 >> 7) & 1) 449 unsigned char code, primary; local [all...] |
/external/apache-http/src/org/apache/commons/codec/language/ |
Metaphone.java | 26 * Permission given by <CITE>wbrogden</CITE> for code to be used anywhere. 59 * The max code length for metaphone is 4 77 * @param txt String to find the metaphone code for 78 * @return A metaphone code corresponding to the String supplied 93 StringBuffer code = new StringBuffer(10) ; // output local 135 while ((code.length() < this.getMaxCodeLen()) && 136 (n < wdsz) ) { // max code size of 4 works well 145 code.append(symb); 153 code.append(symb); 163 code.append('X'); [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHttpResponse.java | 73 * <code>null</code> to disable automatic 76 * <code>null</code> for the system locale 107 * @param code the status code of the response 108 * @param reason the reason phrase to the status code, or 109 * <code>null</code> 112 final int code, 190 final int code = this.statusline.getStatusCode(); local [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
LookUpSwitchInstruction.java | 83 protected void readInfo(byte[] code, int offset) 89 defaultOffset = readInt(code, offset); offset += 4; 90 int jumpOffsetCount = readInt(code, offset); offset += 4; 98 cases[index] = readInt(code, offset); offset += 4; 99 jumpOffsets[index] = readInt(code, offset); offset += 4; 104 protected void writeInfo(byte[] code, int offset) 109 writeByte(code, offset++, 0); 113 writeInt(code, offset, defaultOffset); offset += 4; 114 writeInt(code, offset, cases.length); offset += 4; 119 writeInt(code, offset, cases[index]); offset += 4 [all...] |
TableSwitchInstruction.java | 87 protected void readInfo(byte[] code, int offset) 93 defaultOffset = readInt(code, offset); offset += 4; 94 lowCase = readInt(code, offset); offset += 4; 95 highCase = readInt(code, offset); offset += 4; 102 jumpOffsets[index] = readInt(code, offset); offset += 4; 107 protected void writeInfo(byte[] code, int offset) 112 writeByte(code, offset++, 0); 116 writeInt(code, offset, defaultOffset); offset += 4; 117 writeInt(code, offset, lowCase); offset += 4; 118 writeInt(code, offset, highCase); offset += 4 [all...] |
/external/libxkbcommon/xkbcommon/src/ |
keysym.c | 303 UCSConvertCase(uint32_t code, xkb_keysym_t *lower, xkb_keysym_t *upper) 309 /* the code to work out the mappings. Zero values mean */ 310 /* undefined code points. */ 462 *lower = code; 463 *upper = code; 466 if (code <= 0x00ff) { 467 if (code >= 0x0041 && code <= 0x005a) /* A-Z */ 469 else if (code >= 0x0061 && code <= 0x007a) /* a-z * [all...] |
/external/pcre/dist2/src/ |
pcre2_auto_possess.c | 9 Original API code Copyright (c) 1997-2012 University of Cambridge 10 New API code Copyright (c) 2016 University of Cambridge 16 * Redistributions of source code must retain the above copyright notice, 65 zero because property types are handled separately in the code. The last four 162 because they can all use the same code. For more details see the comment where 289 /* Checks whether the code points to an opcode that can take part in auto- 293 code points to start of expression 302 Returns: points to the start of the next opcode if *code is accepted 303 NULL if *code is not accepted 307 get_chr_property_list(PCRE2_SPTR code, BOOL utf, const uint8_t *fcc [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
r300_fragprog.c | 61 struct r300_fragment_program_code *code = &compiler->code->code.r300; local 70 fprintf(stderr, "code_offset_ext: %08x\n", code->r400_code_offset_ext); 73 for (n = 0; n <= (code->config & 3); n++) { 74 uint32_t code_addr = code->code_addr[3 - (code->config & 3) + n]; 76 (((code->r400_code_offset_ext >> (24 - (n * 6))) & 0x7) << 6); 78 (((code->r400_code_offset_ext >> (27 - (n * 6))) & 0x7) << 6); 86 if (n > 0 || (code->config & R300_PFS_CNTL_FIRST_NODE_HAS_TEX)) [all...] |
r300_fragprog_emit.c | 58 struct r300_fragment_program_code *code = &c->code->code.r300 83 static void use_temporary(struct r300_fragment_program_code *code, unsigned int index) 85 if (index > code->pixsize) 86 code->pixsize = index; 89 static unsigned int use_source(struct r300_fragment_program_code* code, struct rc_pair_instruction_source src) 97 use_temporary(code, src.Index); 157 if (code->alu.length >= c->Base.max_alu_insts) { 162 ip = code->alu.length++ 308 struct r300_fragment_program_code *code = &emit->compiler->code->code.r300; local 481 struct r300_fragment_program_code *code = &compiler->code->code.r300; local [all...] |
/external/python/cpython2/Tools/world/ |
world | 11 code found in the address. Addresses can be in any of the following forms: 13 xx -- just the country code or top-level domain identifier 39 authoritative source of country code mappings is: 59 code followed by the country name. Note that the three letter country 76 country code is found. 94 def usage(code, msg=''): 98 sys.exit(code) 125 for code, country in all.items(): 128 matches.append(code) 134 code = matches[0 [all...] |
/external/libevent/ |
event_rpcgen.py | 7 # Generates marshaling code based on libevent. 78 def PrintIndented(self, file, ident, code): 80 for entry in code: 84 """ Knows how to generate C code for a struct """ 296 code = [ 299 code = TranslateList(code, entry.GetTranslation()) 301 file, ' ', code) 438 code = [ 'int %s(struct %s *, %s *);' % ( 440 return code [all...] |
/external/llvm/test/MC/Mips/ |
module-directive-bad.s | 6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code 10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code 14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code 18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code 22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code 26 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code 30 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code 34 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code 38 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code 42 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
viddec_mp4_videoobjectlayer.c | 51 uint32_t i,code=0; local 58 getbits = viddec_pm_get_bits(parent, &code, 8); 60 if (code == 0) break; 61 pQM[mp4_ClassicalZigzag[i]] = (uint8_t)(code & 0xFF); 103 uint32_t code=0; local 107 getbits = viddec_pm_get_bits(parent, &(code), 4); 109 cxt->chroma_format = (code >> 2) & 0x3; 110 cxt->low_delay = ((code & 0x2) > 0); 111 cxt->vbv_parameters = code & 0x1; 123 getbits = viddec_pm_get_bits(parent, &(code), 32) 182 uint32_t code; local 233 uint32_t code; local 269 uint32_t code; local 411 uint32_t code; local [all...] |
/external/libxml2/ |
xmlunicode.c | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/world/ |
world | 11 code found in the address. Addresses can be in any of the following forms:
13 xx -- just the country code or top-level domain identifier
39 authoritative source of country code mappings is:
59 code followed by the country name. Note that the three letter country
76 country code is found.
94 def usage(code, msg=''):
98 sys.exit(code)
125 for code, country in all.items():
128 matches.append(code)
134 code = matches[0] [all...] |
/system/bt/bta/ag/ |
bta_ag_rfc.cc | 43 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle); 44 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle); 45 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle); 46 void bta_ag_port_cback_4(uint32_t code, uint16_t port_handle); 47 void bta_ag_port_cback_5(uint32_t code, uint16_t port_handle); 48 void bta_ag_port_cback_6(uint32_t code, uint16_t port_handle); 49 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle); 50 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle); 51 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle); 52 void bta_ag_mgmt_cback_4(uint32_t code, uint16_t port_handle) [all...] |
/art/compiler/linker/x86/ |
relative_patcher_x86.h | 29 void PatchPcRelativeReference(std::vector<uint8_t>* code, 33 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code,
|
/art/compiler/linker/x86_64/ |
relative_patcher_x86_64.h | 29 void PatchPcRelativeReference(std::vector<uint8_t>* code, 33 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code,
|
/bionic/tools/ |
update_seccomp.sh | 6 git diff --exit-code HEAD libc/seccomp/
|