Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Difdef.py55 stack = []
80 stack.append((ok, ko, word))
83 stack.append((ok, not ko, word))
86 stack.append((ok, -1, word))
89 stack.append((ok, -1, ''))
91 elif keyword == 'else' and stack:
92 s_ok, s_ko, s_word = stack[-1]
99 stack[-1] = s_ok, s_ko, s_word
100 elif keyword == 'endif' and stack:
101 s_ok, s_ko, s_word = stack[-1]
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dparse.py109 self.stack = [stackentry]
119 dfa, state, node = self.stack[-1]
134 if not self.stack:
137 dfa, state, node = self.stack[-1]
153 if not self.stack:
177 dfa, state, node = self.stack[-1]
182 self.stack[-1] = (dfa, newstate, node)
186 dfa, state, node = self.stack[-1]
188 self.stack[-1] = (dfa, newstate, node)
189 self.stack.append((newdfa, 0, newnode))
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Sec/X64/
DSwitchRam.asm31 ; Adjust callers %rbp to account for stack move
35 push rbp ; stack frame is for the debugger
43 ; Copy all of temp RAM to permanent memory, including stack
49 sub rsp, 028h ; Allocate register spill area & 16-byte align stack
51 ; Temp mem stack now copied to permanent location. %esp still in temp memory
54 pop r9 ; CopySize (old stack)
55 pop r8 ; PermanentMemoryBase (old stack)
56 pop rdx ; TemporaryMemoryBase (old stack)
58 mov rcx, rsp ; Move to new stack
59 sub rcx, rdx ; Calc offset of stack in Temp Memory
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpickle.py851 self.stack = []
852 self.append = self.stack.append
871 stack = self.stack
873 k = len(stack)-1
874 while stack[k] is not mark: k = k-1
895 pid = self.stack.pop()
995 self.stack[k:] = [tuple(self.stack[k+1:])]
999 self.stack.append(())
1003 self.stack[-1] = (self.stack[-1],)
1007 self.stack[-2:] = [(self.stack[-2], self.stack[-1])]
[all …]
Dpyclbr.py149 stack = [] # stack of (class, indent) pairs
157 while stack and stack[-1][1] >= thisindent:
158 del stack[-1]
162 while stack and stack[-1][1] >= thisindent:
163 del stack[-1]
167 if stack:
168 cur_class = stack[-1][0]
177 stack.append((None, thisindent)) # Marker for nested fns
181 while stack and stack[-1][1] >= thisindent:
182 del stack[-1]
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/PrePeiCore/Arm/
DException.asm43 cps #0x13 ; Switch to SVC for common stack
49 cps #0x13 ; Switch to SVC for common stack
55 cps #0x13 ; Switch to SVC for common stack
61 cps #0x13 ; Switch to SVC for common stack
67 cps #0x13 ; Switch to SVC for common stack
73 cps #0x13 ; Switch to SVC for common stack
79 cps #0x13 ; Switch to SVC for common stack
85 cps #0x13 ; Switch to SVC for common stack
DException.S49 # Switch to SVC for common stack
56 # Switch to SVC for common stack
63 # Switch to SVC for common stack
70 # Switch to SVC for common stack
77 # Switch to SVC for common stack
84 # Switch to SVC for common stack
91 # Switch to SVC for common stack
98 # Switch to SVC for common stack
/device/linaro/bootloader/edk2/StdLib/LibC/CRT/Ia32/
Dlldiv.c39 ; Arguments are passed on the stack: in _alldiv()
45 ; NOTE: this routine removes the parameters from the stack. in _alldiv()
47 ; Original local stack when calling _alldiv in _alldiv()
64 ; Set up the local stack for NULL Reminder pointer in _alldiv()
70 ; Set up the local stack for Divisor parameter in _alldiv()
78 ; Set up the local stack for Dividend parameter in _alldiv()
91 ; Adjust stack in _alldiv() local
Dulldiv.c38 ; Original local stack when calling _aulldiv in _aulldiv()
55 ; Set up the local stack for NULL Reminder pointer in _aulldiv()
61 ; Set up the local stack for Divisor parameter in _aulldiv()
69 ; Set up the local stack for Dividend parameter in _aulldiv()
82 ; Adjust stack in _aulldiv() local
Dulldvrm.c37 ; Original local stack when calling _aulldvrm in _aulldvrm()
56 ; NOTE: this routine removes the parameters from the stack. in _aulldvrm()
60 ; Set up the local stack for Remainder pointer in _aulldvrm()
66 ; Set up the local stack for Divisor parameter in _aulldvrm()
74 ; Set up the local stack for Dividend parameter in _aulldvrm()
94 ; Adjust stack in _aulldvrm() local
Dlldvrm.c37 ; Original local stack when calling _alldvrm in _alldvrm()
56 ; NOTE: this routine removes the parameters from the stack. in _alldvrm()
60 ; Set up the local stack for Reminder pointer in _alldvrm()
66 ; Set up the local stack for Divisor parameter in _alldvrm()
74 ; Set up the local stack for Dividend parameter in _alldvrm()
94 ; Adjust stack in _alldvrm() local
Dllrem.c37 ; Original local stack when calling _allrem in _allrem()
54 ; Set up the local stack for Reminder pointer in _allrem()
60 ; Set up the local stack for Divisor parameter in _allrem()
68 ; Set up the local stack for Dividend parameter in _allrem()
87 ; Adjust stack in _allrem() local
Dullrem.c37 ; Original local stack when calling _aullrem in _aullrem()
54 ; Set up the local stack for Reminder pointer in _aullrem()
60 ; Set up the local stack for Divisor parameter in _aullrem()
68 ; Set up the local stack for Dividend parameter in _aullrem()
87 ; Adjust stack in _aullrem() local
Dllmul.c35 ; Original local stack when calling _allmul in _allmul()
52 ; Set up the local stack for Multiplicand parameter in _allmul()
60 ; Set up the local stack for Multiplier parameter in _allmul()
73 ; Adjust stack in _allmul() local
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dmisc.py33 self.stack = []
34 self.pop = self.stack.pop
36 return len(self.stack)
38 self.stack.append(elt)
40 return self.stack[-1]
42 return self.stack[index]
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/
DDebugAgentException.asm75 srsfd #0x13! ; Store return state on SVC stack
87 srsfd #0x13! ; Store return state on SVC stack
88 cps #0x13 ; Switch to SVC for common stack
99 srsfd #0x13! ; Store return state on SVC stack
111 srsfd #0x13! ; Store return state on SVC stack
112 cps #0x13 ; Switch to SVC for common stack
123 srsfd #0x13! ; Store return state on SVC stack
124 cps #0x13 ; Switch to SVC for common stack
134 srsfd #0x13! ; Store return state on SVC stack
135 cps #0x13 ; Switch to SVC for common stack
[all …]
DDebugAgentException.S79 srsdb #0x13! @ Store return state on SVC stack
92 srsdb #0x13! @ Store return state on SVC stack
93 cps #0x13 @ Switch to SVC for common stack
104 srsdb #0x13! @ Store return state on SVC stack
116 srsdb #0x13! @ Store return state on SVC stack
117 cps #0x13 @ Switch to SVC for common stack
128 srsdb #0x13! @ Store return state on SVC stack
129 cps #0x13 @ Switch to SVC for common stack
139 srsdb #0x13! @ Store return state on SVC stack
140 cps #0x13 @ Switch to SVC for common stack
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Arm/
DExceptionSupport.ARMv6.asm97 srsfd #0x13! ; Store return state on SVC stack
98 cpsid f, #0x13 ; Switch to SVC for common stack
109 srsfd #0x13! ; Store return state on SVC stack
121 srsfd #0x13! ; Store return state on SVC stack
122 cpsid f, #0x13 ; Switch to SVC for common stack
133 srsfd #0x13! ; Store return state on SVC stack
134 cpsid f, #0x13 ; Switch to SVC for common stack
144 srsfd #0x13! ; Store return state on SVC stack
145 cpsid f, #0x13 ; Switch to SVC for common stack
156 srsfd #0x13! ; Store return state on SVC stack
[all …]
DExceptionSupport.ARMv6.S3 # Use ARMv6 instruction to operate on a single stack
96 srsdb #0x13! @ Store return state on SVC stack
97 cpsid f,#0x13 @ Switch to SVC for common stack
108 srsdb #0x13! @ Store return state on SVC stack
120 srsdb #0x13! @ Store return state on SVC stack
121 cpsid f,#0x13 @ Switch to SVC for common stack
132 srsdb #0x13! @ Store return state on SVC stack
133 cpsid f,#0x13 @ Switch to SVC for common stack
143 srsdb #0x13! @ Store return state on SVC stack
144 cpsid f,#0x13 @ Switch to SVC for common stack
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/X64/
DDisablePaging64.asm40 mov edi, [rsp + 28h] ; rdi <- New stack
45 sub rdi, rax ; rdi <- Use stack to hold transition code
47 push rcx ; save rcx to stack
49 …rep movsb ; copy transition code to top of new stack which must be below…
54 mov eax, r10d ; eax <- start of the transition code on the stack
55 sub eax, 4 ; eax <- One slot below transition code on the stack
56 push rcx ; push Cs to stack
57 push r10 ; push address of tansition code on stack
59 retf ; Use far return to load CS register from stack
63 mov esp, eax ; set up new stack
DDisablePaging64.nasm42 mov edi, [rsp + 0x28] ; rdi <- New stack
47 sub rdi, rax ; rdi <- Use stack to hold transition code
49 push rcx ; save rcx to stack
51 …rep movsb ; copy transition code to top of new stack which must be below…
56 mov eax, r10d ; eax <- start of the transition code on the stack
57 sub eax, 4 ; eax <- One slot below transition code on the stack
58 push rcx ; push Cs to stack
59 push r10 ; push address of tansition code on stack
61 retf ; Use far return to load CS register from stack
65 mov esp, eax ; set up new stack
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmExceptionLib/Arm/
DExceptionSupport.asm97 srsfd #0x13! ; Store return state on SVC stack
109 srsfd #0x13! ; Store return state on SVC stack
110 cps #0x13 ; Switch to SVC for common stack
120 srsfd #0x13! ; Store return state on SVC stack
132 srsfd #0x13! ; Store return state on SVC stack
133 cps #0x13 ; Switch to SVC for common stack
144 srsfd #0x13! ; Store return state on SVC stack
145 cps #0x13 ; Switch to SVC for common stack
155 srsfd #0x13! ; Store return state on SVC stack
156 cps #0x13 ; Switch to SVC for common stack
[all …]
DExceptionSupport.S3 # Use ARMv6 instruction to operate on a single stack
102 srsdb #0x13! @ Store return state on SVC stack
115 srsdb #0x13! @ Store return state on SVC stack
116 cps #0x13 @ Switch to SVC for common stack
126 srsdb #0x13! @ Store return state on SVC stack
138 srsdb #0x13! @ Store return state on SVC stack
139 cps #0x13 @ Switch to SVC for common stack
150 srsdb #0x13! @ Store return state on SVC stack
151 cps #0x13 @ Switch to SVC for common stack
161 srsdb #0x13! @ Store return state on SVC stack
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/
DAsmFuncs.nasm66 ;; The declarations below define the memory region that will be used for the debug stack.
67 ;; The context record will be built by pushing register values onto this stack.
71 ;; The stub will switch stacks from the application stack to the debuger stack
74 ;; Then we building the context record on the stack. Since the stack grows down,
76 ;; are 132 bytes of stack used prior allocating the 512 bytes of stack to be
81 ;; We carefully locate the stack to make this happen.
99 times 0x1ffc dd 0x0 ;; 32K should be enough stack
164 mov [AppEsp], esp ; save stack top
165 mov esp, DebugStackBegin ; switch to debugger stack
179 ;; At this point, the stub has saved the current application stack esp into AppEsp
[all …]
DAsmFuncs.asm64 ;; The declarations below define the memory region that will be used for the debug stack.
65 ;; The context record will be built by pushing register values onto this stack.
69 ;; The stub will switch stacks from the application stack to the debuger stack
72 ;; Then we building the context record on the stack. Since the stack grows down,
74 ;; are 132 bytes of stack used prior allocating the 512 bytes of stack to be
79 ;; We carefully locate the stack to make this happen.
98 dd 1ffdh dup (000000000h) ;; 32K should be enough stack
169 mov AppEsp, esp ; save stack top
170 mov esp, offset DebugStackBegin ; switch to debugger stack
186 ;; At this point, the stub has saved the current application stack esp into AppEsp
[all …]

12345678910>>...17