Lines Matching +full:divide +full:- +full:10

1 # Copyright (c) 2018-2019 Linaro
4 # SPDX-License-Identifier: Apache-2.0
17 "python-devicetree", "src"))
45 return 10
157 foo: some-node { ... };
206 The function will divide the value based on 'unit':
208 'k' or 'K' divide by 1024 (1 << 10)
209 'm' or 'M' divide by 1,048,576 (1 << 20)
210 'g' or 'G' divide by 1,073,741,824 (1 << 30)
211 'kb' or 'Kb' divide by 8192 (1 << 13)
212 'mb' or 'Mb' divide by 8,388,608 (1 << 23)
213 'gb' or 'Gb' divide by 8,589,934,592 (1 << 33)
235 The function will divide the value based on 'unit':
237 'k' or 'K' divide by 1024 (1 << 10)
238 'm' or 'M' divide by 1,048,576 (1 << 20)
239 'g' or 'G' divide by 1,073,741,824 (1 << 30)
256 called 'prop' and if that 'prop' is an phandle-array type.
261 The function will divide the value based on 'unit':
263 'k' or 'K' divide by 1024 (1 << 10)
264 'm' or 'M' divide by 1,048,576 (1 << 20)
265 'g' or 'G' divide by 1,073,741,824 (1 << 30)
272 if node.props[prop].type != "phandle-array":
287 The function will divide the value based on 'unit':
289 'k' or 'K' divide by 1024 (1 << 10)
290 'm' or 'M' divide by 1,048,576 (1 << 20)
291 'g' or 'G' divide by 1,073,741,824 (1 << 30)
292 'kb' or 'Kb' divide by 8192 (1 << 13)
293 'mb' or 'Mb' divide by 8,388,608 (1 << 23)
294 'gb' or 'Gb' divide by 8,589,934,592 (1 << 33)
311 The function will divide the value based on 'unit':
313 'k' or 'K' divide by 1024 (1 << 10)
314 'm' or 'M' divide by 1,048,576 (1 << 20)
315 'g' or 'G' divide by 1,073,741,824 (1 << 30)
316 'kb' or 'Kb' divide by 8192 (1 << 13)
317 'mb' or 'Mb' divide by 8,388,608 (1 << 23)
318 'gb' or 'Gb' divide by 8,589,934,592 (1 << 33)
351 The function will divide the value based on 'unit':
353 'k' or 'K' divide by 1024 (1 << 10)
354 'm' or 'M' divide by 1,048,576 (1 << 20)
355 'g' or 'G' divide by 1,073,741,824 (1 << 30)
356 'kb' or 'Kb' divide by 8192 (1 << 13)
357 'mb' or 'Mb' divide by 8,388,608 (1 << 23)
358 'gb' or 'Gb' divide by 8,589,934,592 (1 << 33)
391 The function will divide the value based on 'unit':
393 'k' or 'K' divide by 1024 (1 << 10)
394 'm' or 'M' divide by 1,048,576 (1 << 20)
395 'g' or 'G' divide by 1,073,741,824 (1 << 30)
396 'kb' or 'Kb' divide by 8192 (1 << 13)
397 'mb' or 'Mb' divide by 8,388,608 (1 << 23)
398 'gb' or 'Gb' divide by 8,589,934,592 (1 << 33)
417 The function will divide the value based on 'unit':
419 'k' or 'K' divide by 1024 (1 << 10)
420 'm' or 'M' divide by 1,048,576 (1 << 20)
421 'g' or 'G' divide by 1,073,741,824 (1 << 30)
422 'kb' or 'Kb' divide by 8192 (1 << 13)
423 'mb' or 'Mb' divide by 8,388,608 (1 << 23)
424 'gb' or 'Gb' divide by 8,589,934,592 (1 << 33)
456 foo: some-node { ... };
585 The function will divide the value based on 'unit':
587 'k' or 'K' divide by 1024 (1 << 10)
588 'm' or 'M' divide by 1,048,576 (1 << 20)
589 'g' or 'G' divide by 1,073,741,824 (1 << 30)
590 'kb' or 'Kb' divide by 8192 (1 << 13)
591 'mb' or 'Mb' divide by 8,388,608 (1 << 23)
592 'gb' or 'Gb' divide by 8,589,934,592 (1 << 33)
616 The function will divide the value based on 'unit':
618 'k' or 'K' divide by 1024 (1 << 10)
619 'm' or 'M' divide by 1,048,576 (1 << 20)
620 'g' or 'G' divide by 1,073,741,824 (1 << 30)
640 called 'prop' and if that 'prop' is an phandle-array type.
645 The function will divide the value based on 'unit':
647 'k' or 'K' divide by 1024 (1 << 10)
648 'm' or 'M' divide by 1,048,576 (1 << 20)
649 'g' or 'G' divide by 1,073,741,824 (1 << 30)
669 path to the pointed-to node, or an empty string if there is
913 Normalize the string, so that the string only contains alpha-numeric
914 characters or underscores. All non-alpha-numeric characters are replaced
918 return re.sub(r'[^a-zA-Z0-9_]', '_', string).upper()
956 $(add, 10, 3) # -> 13
957 $(add, 10, 3, 2) # -> 15
958 $(sub, 10, 3) # -> 7
959 $(sub, 10, 3, 2) # -> 5
960 $(mul, 10, 3) # -> 30
961 $(mul, 10, 3, 2) # -> 60
962 $(div, 10, 3) # -> 3
963 $(div, 10, 3, 2) # -> 1
964 $(mod, 10, 3) # -> 1
965 $(mod, 10, 3, 2) # -> 1
966 $(inc, 1) # -> 2
967 $(inc, 1, 1) # -> "2,2"
968 $(inc, $(inc, 1, 1)) # -> "3,3"
969 $(dec, 1) # -> 0
970 $(dec, 1, 1) # -> "0,0"
971 $(dec, $(dec, 1, 1)) # -> "-1,-1"
972 $(add, $(inc, 1, 1)) # -> 4
1007 return ",".join(map(lambda a: str(a - 1), intarray))