Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_pkg.py105 import t2.sub
106 import t2.sub.subsub
108 self.assertEqual(t2.sub.__name__, "t2.sub")
109 self.assertEqual(t2.sub.subsub.__name__, "t2.sub.subsub")
120 from t2 import sub
121 from t2.sub import subsub
122 from t2.sub.subsub import spam
123 self.assertEqual(sub.__name__, "t2.sub")
125 self.assertEqual(sub.subsub.__name__, "t2.sub.subsub")
129 import t2.sub
[all …]
Dtest_re.py42 self.assertEqual(re.sub("(?i)b+", "x", "bbbb BBBB"), 'x x')
43 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y'),
45 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y', 3),
48 self.assertEqual(re.sub('.', lambda m: r"\n", 'x'), '\\n')
49 self.assertEqual(re.sub('.', r"\n", 'x'), '\n')
52 self.assertEqual(re.sub('(.)', s, 'x'), 'xx')
53 self.assertEqual(re.sub('(.)', re.escape(s), 'x'), s)
54 self.assertEqual(re.sub('(.)', lambda m: s, 'x'), s)
56 self.assertEqual(re.sub('(?P<a>x)', '\g<a>\g<a>', 'xx'), 'xxxx')
57 self.assertEqual(re.sub('(?P<a>x)', '\g<a>\g<1>', 'xx'), 'xxxx')
[all …]
Dtest_importhooks.py162 import hooktestpackage.sub
163 import hooktestpackage.sub.subber
168 self.assertEqual(hooktestpackage.sub.get_name(),
170 self.assertEqual(hooktestpackage.sub.subber.get_name(),
175 self.assertEqual(hooktestpackage.sub.__loader__, importer)
176 self.assertEqual(hooktestpackage.sub.subber.__loader__, importer)
189 self.assertEqual(hooktestpackage.oldabs.sub,
190 hooktestpackage.sub)
195 self.assertEqual(hooktestpackage.newrel.sub,
196 hooktestpackage.sub)
[all …]
Dtest_property.py98 sub = SubClass()
99 self.assertRaises(PropertyGet, getattr, sub, "spam")
100 self.assertRaises(PropertySet, setattr, sub, "spam", None)
101 self.assertRaises(PropertyDel, delattr, sub, "spam")
106 sub = SubClass()
107 self.assertEqual(sub.__class__.spam.__doc__, "SubClass.getter")
117 sub = PropertyDocSub()
119 self.assertEqual(sub.__class__.spam.__doc__, "spam spam spam")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dfind.h12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find() argument
22 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_SEARCH); in stringlib_find()
32 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind() argument
42 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_RSEARCH); in stringlib_rfind()
67 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find_slice() argument
71 return stringlib_find(str + start, end - start, sub, sub_len, start); in stringlib_find_slice()
76 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind_slice() argument
80 return stringlib_rfind(str + start, end - start, sub, sub_len, start); in stringlib_rfind_slice()
86 stringlib_contains_obj(PyObject* str, PyObject* sub) in stringlib_contains_obj() argument
90 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in stringlib_contains_obj()
Dsplit.h24 sub = STRINGLIB_NEW((data) + (left), \
26 if (sub == NULL) \
28 if (PyList_Append(list, sub)) { \
29 Py_DECREF(sub); \
33 Py_DECREF(sub);
36 sub = STRINGLIB_NEW((data) + (left), \
38 if (sub == NULL) \
41 PyList_SET_ITEM(list, count, sub); \
43 if (PyList_Append(list, sub)) { \
44 Py_DECREF(sub); \
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dfind.h12 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find() argument
22 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_SEARCH); in stringlib_find()
32 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind() argument
42 pos = fastsearch(str, str_len, sub, sub_len, -1, FAST_RSEARCH); in stringlib_rfind()
67 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_find_slice() argument
71 return stringlib_find(str + start, end - start, sub, sub_len, start); in stringlib_find_slice()
76 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in stringlib_rfind_slice() argument
80 return stringlib_rfind(str + start, end - start, sub, sub_len, start); in stringlib_rfind_slice()
86 stringlib_contains_obj(PyObject* str, PyObject* sub) in stringlib_contains_obj() argument
90 STRINGLIB_STR(sub), STRINGLIB_LEN(sub), 0 in stringlib_contains_obj()
Dsplit.h24 sub = STRINGLIB_NEW((data) + (left), \
26 if (sub == NULL) \
28 if (PyList_Append(list, sub)) { \
29 Py_DECREF(sub); \
33 Py_DECREF(sub);
36 sub = STRINGLIB_NEW((data) + (left), \
38 if (sub == NULL) \
41 PyList_SET_ITEM(list, count, sub); \
43 if (PyList_Append(list, sub)) { \
44 Py_DECREF(sub); \
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DUserString.py65 def count(self, sub, start=0, end=sys.maxint): argument
66 return self.data.count(sub, start, end)
87 def find(self, sub, start=0, end=sys.maxint): argument
88 return self.data.find(sub, start, end)
89 def index(self, sub, start=0, end=sys.maxint): argument
90 return self.data.index(sub, start, end)
109 def rfind(self, sub, start=0, end=sys.maxint): argument
110 return self.data.rfind(sub, start, end)
111 def rindex(self, sub, start=0, end=sys.maxint): argument
112 return self.data.rindex(sub, start, end)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dmailerdaemon.py14 self.sub = ''
17 sub = self.getheader('Subject')
18 if not sub:
20 sub = sub.lower()
21 if sub.startswith('waiting mail'): return 1
22 if 'warning' in sub: return 1
23 self.sub = sub
30 return p(self.fp, self.sub)
91 def emparse_list(fp, sub): argument
127 reason = sub
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/Arm/
DException.asm48 sub r1, LR, #4
54 sub r1, LR, #4
60 sub r1, LR, #4
66 sub r1, LR, #8
78 sub r1, LR, #4
84 sub r1, LR, #4
DException.S55 sub r1, LR, #4
62 sub r1, LR, #4
69 sub r1, LR, #4
76 sub r1, LR, #8
90 sub r1, LR, #4
97 sub r1, LR, #4
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/Arm/
DCopyMem.S103 sub r3, r14, #1
104 sub r12, r12, #1
106 sub r2, r10, #1
109 sub r10, r10, #1
110 sub r14, r14, #1
122 sub r14, r14, #32
123 sub r12, r12, #32
134 sub r10, r10, #32
144 sub r12, r12, #1
157 sub r12, r12, #32
DCopyMem.asm74 sub r3, r14, #1
75 sub r12, r12, #1
77 sub r2, r10, #1
80 sub r10, r10, #1
81 sub r14, r14, #1
93 sub r14, r14, #32
94 sub r12, r12, #32
104 sub r10, r10, #32
114 sub r12, r12, #1
127 sub r12, r12, #32
/device/linaro/bootloader/arm-trusted-firmware/
Dmaintainers.rst6 parts of the codebase is delegated to the sub-maintainers listed below. An
7 acknowledgement from these sub-maintainers may be required before the
17 OPTEE and QEMU platform sub-maintainer
29 TLK/Trusty SPDs and NVidia platforms sub-maintainer
45 eMMC/UFS drivers and HiSilicon platform sub-maintainer
65 MediaTek platform sub-maintainer
74 RockChip platform sub-maintainer
84 Xilinx platform sub-maintainer
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/
DDebugAgentException.asm78 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
86 sub LR, LR, #4 ; Only -2 for Thumb, adjust in CommonExceptionEntry
90 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
98 sub LR, LR, #4 ; Only -2 for Thumb, adjust in CommonExceptionEntry
102 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
110 sub LR,LR,#4
114 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
122 sub LR,LR,#8
126 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
137 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
[all …]
DDebugAgentException.S83 sub SP,SP,#0x20 @ Save space for SP, LR, PC, IFAR - CPSR
91 sub LR, LR, #4 @ Only -2 for Thumb, adjust in CommonExceptionEntry
95 sub SP,SP,#0x20 @ Save space for SP, LR, PC, IFAR - CPSR
103 sub LR, LR, #4 @ Only -2 for Thumb, adjust in CommonExceptionEntry
107 sub SP,SP,#0x20 @ Save space for SP, LR, PC, IFAR - CPSR
115 sub LR,LR,#4
119 sub SP,SP,#0x20 @ Save space for SP, LR, PC, IFAR - CPSR
127 sub LR,LR,#8
131 sub SP,SP,#0x20 @ Save space for SP, LR, PC, IFAR - CPSR
142 sub SP,SP,#0x20 @ Save space for SP, LR, PC, IFAR - CPSR
[all …]
/device/linaro/bootloader/arm-trusted-firmware/lib/psci/aarch32/
Dpsci_helpers.S81 sub r1, r0, r1
121 sub r1, r0, r1
131 sub r0, r4, #PLATFORM_STACK_SIZE
132 sub r1, sp, r0
/device/linaro/bootloader/arm-trusted-firmware/lib/psci/aarch64/
Dpsci_helpers.S59 sub x1, x0, x1
69 sub x0, x19, #PLATFORM_STACK_SIZE
70 sub x1, sp, x0
105 sub x1, x0, x1
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Arm/
DExceptionSupport.ARMv6.asm96 sub LR, LR, #4 ; Only -2 for Thumb, adjust in CommonExceptionEntry
100 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
108 sub LR, LR, #4 ; Only -2 for Thumb, adjust in CommonExceptionEntry
112 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
120 sub LR,LR,#4
124 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
132 sub LR,LR,#8
136 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
147 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
155 sub LR,LR,#4
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePi/Arm/
DModuleEntryPoint.asm63 sub r3, r3, #1
100 sub r1, r1, r9
104 sub r9, r1, r4
110 sub r10, r1, r2
114 sub r10, r10, r1
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePi/AArch64/
DModuleEntryPoint.S38 sub x3, x3, #1
77 sub x11, x1, x4
83 sub x12, x1, x2
87 sub x12, x12, x1
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dfset.c580 ( Junction *alt1, Junction *alt2, char *sub, Tree *ambig ) in ensure_predicates_cover_ambiguous_lookahead_sequences() argument
582 ensure_predicates_cover_ambiguous_lookahead_sequences( alt1, alt2, sub, ambig ) in ensure_predicates_cover_ambiguous_lookahead_sequences()
585 char *sub;
600 alt1->altnum, sub);
621 alt2->altnum, sub);
645 alt1->altnum, sub);
659 alt2->altnum, sub);
674 void MR_doPredicatesHelp(int inGuessBlock,Junction *alt1,Junction *alt2,int jtype,char *sub) in MR_doPredicatesHelp() argument
676 void MR_doPredicatesHelp(inGuessBlock,alt1,alt2,jtype,sub) in MR_doPredicatesHelp()
681 char *sub;
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/Ia32/
DEbcLowLevel.S28 sub %edx,%eax
29 sub %eax,%esp
54 sub $0x40, %esp
80 sub $0xC, %esp
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmExceptionLib/Arm/
DExceptionSupport.asm100 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
108 sub LR, LR, #4 ; Only -2 for Thumb, adjust in CommonExceptionEntry
112 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
123 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
131 sub LR,LR,#4
135 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
143 sub LR,LR,#8
147 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
158 sub SP,SP,#0x20 ; Save space for SP, LR, PC, IFAR - CPSR
166 sub LR,LR,#4
[all …]

12345678910>>...18