Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 33) sorted by relevance

12

/tools/binman/etype/
A Dfiles.py17 state = None variable
35 global state
36 from binman import state
61 subnode = state.AddSubnode(self._node, name)
62 state.AddString(subnode, 'type', 'blob')
63 state.AddString(subnode, 'filename', fname)
64 state.AddString(subnode, 'compress', self._files_compress)
66 state.AddInt(subnode, 'align', self._files_align)
A Dblob_phase.py11 state = None variable
37 global state
38 from binman import state
51 subnode = state.AddSubnode(self._node, name)
A Dcbfs.py17 state = None variable
171 global state
172 from binman import state
258 state.AddZeroProp(entry._node, 'uncomp-size')
261 state.AddString(entry._node, 'compress',
268 state.SetInt(entry._node, 'offset', entry.offset)
269 state.SetInt(entry._node, 'size', entry.size)
270 state.SetInt(entry._node, 'image-pos', entry.image_pos)
272 state.SetInt(entry._node, 'uncomp-size', entry.uncomp_size)
A Du_boot_spl_expanded.py10 from binman import state
35 bss_pad = state.GetEntryArgBool('spl-bss-pad')
41 val = state.GetEntryArgBool('spl-dtb')
A Du_boot_tpl_expanded.py10 from binman import state
35 bss_pad = state.GetEntryArgBool('tpl-bss-pad')
41 val = state.GetEntryArgBool('tpl-dtb')
A Du_boot_vpl_expanded.py10 from binman import state
35 bss_pad = state.GetEntryArgBool('vpl-bss-pad')
41 val = state.GetEntryArgBool('vpl-dtb')
A Dfdtmap.py21 state = None variable
90 global state
94 from binman import state
120 data = state.GetFdtContents('fdtmap')[1]
125 data = state.GetFdtContents()[1]
A Dencrypted.py13 state = None variable
101 global state
102 from binman import state
128 cipher_node = state.AddSubnode(self._node.parent, "cipher")
A Dblob.py9 from binman import state
85 state.TimingStart('read')
87 state.TimingAccum('read')
88 state.TimingStart('compress')
90 state.TimingAccum('compress')
A Du_boot_spl_pubkey_dtb.py18 state = None variable
59 global state
60 from binman import state
99 state.UpdateFdtContents(self.GetFdtEtype(), dtb)
A Dblob_dtb.py14 state = None variable
28 global state
29 from binman import state
78 state.UpdateFdtContents(self.GetFdtEtype(), data)
A Du_boot_dtb_with_ucode.py13 state = None variable
31 global state
32 from binman import state
66 fdt = state.GetFdtForEtype(etype)
A Datf_fip.py170 global state
171 from binman import state
A Dsection.py18 from binman import state
268 state.AddZeroProp(self._node, 'skip-at-start')
512 state.SetInt(self._node, 'skip-at-start', self._skip_at_start)
741 threads = state.GetThreads()
/tools/
A Dsunxi-spl-image-builder.c50 static uint16_t lfsr_step(uint16_t state, int count) in lfsr_step() argument
52 state &= 0x7fff; in lfsr_step()
54 state = ((state >> 1) | in lfsr_step()
55 ((((state >> 0) ^ (state >> 1)) & 1) << 14)) & 0x7fff; in lfsr_step()
57 return state; in lfsr_step()
84 uint16_t state; in scramble() local
89 state = brom_scrambler_seeds[0]; in scramble()
100 state = default_scrambler_seeds[page % seedmod]; in scramble()
104 state = lfsr_step(state, 15); in scramble()
108 data[i] ^= state; in scramble()
[all …]
A Dproftool.c1660 struct flame_node *node = state->node; in process_call()
1661 int stack_ptr = state->stack_ptr; in process_call()
1682 state->nodes++; in process_call()
1690 state->stack[stack_ptr].child_total = 0; in process_call()
1704 stk = &state->stack[--stack_ptr]; in process_call()
1725 state->stack_ptr = stack_ptr; in process_call()
1726 state->node = node; in process_call()
1745 struct flame_state state; in make_flame_tree() local
1751 state.stack_ptr = 0; in make_flame_tree()
1756 state.node = tree; in make_flame_tree()
[all …]
A Dqconfig.py391 self.state = STATE_IDLE
408 if self.state != STATE_IDLE:
426 if self.state != STATE_IDLE:
451 if self.state == STATE_IDLE:
459 elif self.state == STATE_DEFCONFIG:
464 elif self.state == STATE_AUTOCONF:
477 return self.state == STATE_IDLE
498 self.state = STATE_DEFCONFIG
521 self.state = STATE_AUTOCONF
544 self.state = STATE_SAVEDEFCONFIG
[all …]
A Dfdtgrep.c689 struct fdt_region_state state; in fdtgrep_find_regions() local
696 disp->flags, &state); in fdtgrep_find_regions()
700 path, path_len, disp->flags, &state); in fdtgrep_find_regions()
712 max_regions, &state); in fdtgrep_find_regions()
/tools/binman/
A Dentry.py24 state = None variable
121 global state
122 from binman import state
375 state.AddZeroProp(self._node, prop)
377 state.AddZeroProp(self._node, 'image-pos')
385 state.AddZeroProp(self._node, 'uncomp-size')
388 err = state.CheckAddHashProp(self._node)
394 state.SetInt(self._node, 'offset', self.offset)
395 state.SetInt(self._node, 'size', self.size)
407 state.CheckSetHashValue(self._node, self.GetData)
[all …]
A Dcontrol.py30 state = None variable
318 state.PrepareFromLoadedData(image)
659 state.Prepare(images, dtb)
675 for dtb_item in state.GetAllFdts():
798 for dtb_item in state.GetAllFdts():
831 global state
840 from binman import state
913 state.use_fake_dtb = args.fake_dtb
924 state.SetEntryArgs(args.entry_arg)
925 state.SetThreads(args.threads)
[all …]
A Dimage.py25 state = None variable
82 global state
83 from binman import state
443 return state.GetFdtContents(fdt_etype)
/tools/patman/
A Dpatchstream.py100 self.state = STATE_MSG_HEADER # What state are we in?
133 pstrm.state = STATE_PATCH_HEADER
347 if self.state == STATE_PATCH_HEADER:
351 if (self.state == STATE_MSG_HEADER
352 or self.state == STATE_PATCH_SUBJECT):
353 self.state += 1
358 self.state += 1
360 self.state = STATE_MSG_HEADER
361 if self.state != STATE_MSG_HEADER:
572 if self.state == STATE_DIFFS:
[all …]
A Dcser_helper.py1099 if state == 'accepted':
1101 elif state == 'awaiting-upstream':
1104 elif state in ['changes-requested']:
1109 elif not state:
1110 state = 'unknown'
1115 out = base_str or SHORTEN_STATE.get(state, state)
1208 states[item.state] += 1
1210 for state, freq in states.items():
1212 state_totals[state] += freq
1496 state = 'accepted'
[all …]
A Dpatchwork.py86 def __init__(self, pid, state=None, data=None, comments=None, argument
96 self.state = state
784 state = data['state']
787 return Patch(patch_id, state, data, comment_data)
A Dcseries.py315 state = {}
323 state[svid] = f'already:{link}'
329 state[svid] = 'missing description'
340 state[svid] = f'linked:{link}'
343 state[svid] = 'failed'
346 state[svid] = 'not found'
353 state[svid])
373 if state.startswith('already'):
376 elif state.startswith('linked'):
380 col_state = self.col.build(col, state, bright)
[all …]

Completed in 47 milliseconds

12