| /openbmc/openbmc/poky/bitbake/lib/simplediff/ |
| H A D | __init__.py | 17 def diff(old, new): argument 87 for inew, val in enumerate(new): 103 return (old and [('-', old)] or []) + (new and [('+', new)] or []) 107 return diff(old[ : sub_start_old], new[ : sub_start_new]) + \ 108 [('=', new[sub_start_new : sub_start_new + sub_length])] + \ 110 new[sub_start_new + sub_length : ]) 113 def string_diff(old, new): argument 139 return diff(old.split(), new.split()) 142 def html_diff(old, new): argument 166 return " ".join([(con[a])(" ".join(b)) for a, b in string_diff(old, new)]) [all …]
|
| /openbmc/u-boot/test/overlay/ |
| H A D | test-fdt-overlay.dts | 29 /* Test that we add a new property */ 38 /* Test that we add a new node (by phandle) */ 43 new-node { 44 new-property; 49 /* Test that we add a new node (by path) */ 54 new-node { 55 new-property; 64 local: new-local-node { 65 new-property; 91 new-sub-test-property;
|
| /openbmc/qemu/host/include/generic/host/ |
| H A D | store-insert-al16.h.inc | 24 Int128Alias old, new; 31 new.s = int128_and(old.s, msk); 32 new.s = int128_or(new.s, val); 33 } while (!__atomic_compare_exchange_n(pu, &old.u, new.u, true, 36 Int128 old, new, cmp; 43 new = int128_and(old, msk); 44 new = int128_or(new, val); 45 old = atomic16_cmpxchg(ps, cmp, new);
|
| /openbmc/u-boot/net/ |
| H A D | checksum.c | 36 unsigned add_ip_checksums(unsigned offset, unsigned sum, unsigned new) in add_ip_checksums() argument 41 new = ~new & 0xffff; in add_ip_checksums() 47 new = ((new >> 8) & 0xff) | ((new << 8) & 0xff00); in add_ip_checksums() 49 checksum = sum + new; in add_ip_checksums()
|
| /openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
| H A D | gbmc-br-nft.sh | 70 local new 72 new=$((old + 1)) 74 new=$((old - 1)) 76 if (( new <= 0 )); then 79 gbmc_br_nft_pfx["$pfx"]=$new 82 if (( old <= 0 && new >= 1 || old >= 1 && new <= 0 )); then
|
| /openbmc/u-boot/scripts/dtc/ |
| H A D | livetree.c | 29 struct label *new; in add_label() local 32 for_each_label_withdel(*labels, new) in add_label() 33 if (streq(new->label, label)) { in add_label() 34 new->deleted = 0; in add_label() 38 new = xmalloc(sizeof(*new)); in add_label() 39 memset(new, 0, sizeof(*new)); in add_label() 40 new->label = label; in add_label() 41 new->next = *labels; in add_label() 42 *labels = new; in add_label() 55 struct property *new = xmalloc(sizeof(*new)); in build_property() local [all …]
|
| H A D | util.h | 54 void *new = malloc(len); in xmalloc() local 56 if (!new) in xmalloc() 59 return new; in xmalloc() 64 void *new = realloc(p, len); in xrealloc() local 66 if (!new) in xrealloc() 69 return new; in xrealloc()
|
| /openbmc/openbmc/meta-security/recipes-ids/suricata/files/ |
| H A D | CVE-2024-38535_pre.patch | 67 let mut blocks = Vec::new(); 71 + name: Rc::new(name.to_vec()), 72 + value: Rc::new(input.to_vec()), 78 let mut blocks = Vec::new(); 127 + name: Rc::new(name.as_bytes().to_vec()), 128 + value: Rc::new(value.as_bytes().to_vec()), 136 - name: Vec::new(), 137 - value: Vec::new(), 138 + name: Rc::new(Vec::new()), 139 + value: Rc::new(Vec::new()), [all …]
|
| /openbmc/u-boot/common/ |
| H A D | usb_kbd.c | 117 uint8_t *new; member 250 uint8_t *new; in usb_kbd_service_key() local 254 new = data->old; in usb_kbd_service_key() 255 old = data->new; in usb_kbd_service_key() 257 new = data->new; in usb_kbd_service_key() 262 (memscan(new + 2, old[i], USB_KBD_BOOT_REPORT_SIZE - 2) == in usb_kbd_service_key() 263 new + USB_KBD_BOOT_REPORT_SIZE)) { in usb_kbd_service_key() 264 res |= usb_kbd_translate(data, old[i], data->new[0], up); in usb_kbd_service_key() 277 if (data->new[0] == 0x00) in usb_kbd_irq_worker() 280 else if ((data->new[0] == LEFT_CNTR) || (data->new[0] == RIGHT_CNTR)) in usb_kbd_irq_worker() [all …]
|
| /openbmc/u-boot/Documentation/sphinx/ |
| H A D | parse-headers.pl | 178 my ($type, $old, $new, $reftype); 183 $new = $3; 188 if ($new =~ m/^\:c\:(data|func|macro|type)\:\`(.+)\`/) { 190 $new = $2; 191 } elsif ($new =~ m/\:ref\:\`(.+)\`/) { 193 $new = $1; 197 $new = "$reftype:`$old <$new>`"; 200 $ioctls{$old} = $new if (exists($ioctls{$old})); 204 $defines{$old} = $new if (exists($defines{$old})); 208 $enum_symbols{$old} = $new if (exists($enum_symbols{$old})); [all …]
|
| /openbmc/qemu/util/ |
| H A D | lockcnt.c | 83 int new = expected - QEMU_LOCKCNT_STATE_LOCKED + QEMU_LOCKCNT_STATE_WAITING; in qemu_lockcnt_cmpxchg_or_wait() local 85 trace_lockcnt_futex_wait_prepare(lockcnt, expected, new); in qemu_lockcnt_cmpxchg_or_wait() 86 *val = qatomic_cmpxchg(&lockcnt->count, expected, new); in qemu_lockcnt_cmpxchg_or_wait() 88 *val = new; in qemu_lockcnt_cmpxchg_or_wait() 260 int expected, new, val; in qemu_lockcnt_inc_and_unlock() local 265 new = (val + QEMU_LOCKCNT_COUNT_STEP) & ~QEMU_LOCKCNT_STATE_MASK; in qemu_lockcnt_inc_and_unlock() 266 trace_lockcnt_unlock_attempt(lockcnt, val, new); in qemu_lockcnt_inc_and_unlock() 267 val = qatomic_cmpxchg(&lockcnt->count, val, new); in qemu_lockcnt_inc_and_unlock() 270 trace_lockcnt_unlock_success(lockcnt, val, new); in qemu_lockcnt_inc_and_unlock() 278 int expected, new, val; in qemu_lockcnt_unlock() local [all …]
|
| H A D | iova-tree.c | 126 DMAMap *new; in iova_tree_insert() local 137 new = g_new0(DMAMap, 1); in iova_tree_insert() 138 memcpy(new, map, sizeof(*new)); in iova_tree_insert() 139 iova_tree_insert_internal(tree->tree, new); in iova_tree_insert() 288 DMAMap *new; in gpa_tree_insert() local 300 new = g_new0(DMAMap, 1); in gpa_tree_insert() 301 memcpy(new, map, sizeof(*new)); in gpa_tree_insert() 302 iova_tree_insert_internal(tree->tree, new); in gpa_tree_insert()
|
| H A D | qht.c | 197 static void qht_do_resize_reset(struct qht *ht, struct qht_map *new, 525 static inline void qht_do_resize(struct qht *ht, struct qht_map *new) in qht_do_resize() argument 527 qht_do_resize_reset(ht, new, false); in qht_do_resize() 530 static inline void qht_do_resize_and_reset(struct qht *ht, struct qht_map *new) in qht_do_resize_and_reset() argument 532 qht_do_resize_reset(ht, new, true); in qht_do_resize_and_reset() 537 struct qht_map *new = NULL; in qht_reset_size() local 546 new = qht_map_create(n_buckets); in qht_reset_size() 548 qht_do_resize_and_reset(ht, new); in qht_reset_size() 551 return !!new; in qht_reset_size() 633 struct qht_bucket *new = NULL; in qht_insert__locked() local [all …]
|
| /openbmc/u-boot/tools/libfdt/ |
| H A D | fdt_rw.c | 5 int fdt_remove_unused_strings(const void *old, void *new) in fdt_remove_unused_strings() argument 16 memcpy(new, old, size); in fdt_remove_unused_strings() 17 fdt_set_size_dt_strings(new, 0); in fdt_remove_unused_strings() 26 fdt_get_property_by_offset(new, offset, NULL); in fdt_remove_unused_strings() 28 ret = fdt_find_add_string_(new, str); in fdt_remove_unused_strings()
|
| /openbmc/qemu/target/s390x/tcg/ |
| H A D | insn-data.h.inc | 26 C(0x1a00, AR, RR_a, Z, r1, r2, new, r1_32, add, adds32) 27 C(0xb9f8, ARK, RRF_a, DO, r2, r3, new, r1_32, add, adds32) 28 C(0x5a00, A, RX_a, Z, r1, m2_32s, new, r1_32, add, adds32) 29 C(0xe35a, AY, RXY_a, LD, r1, m2_32s, new, r1_32, add, adds32) 35 F(0xb30a, AEBR, RRE, Z, e1, e2, new, e1, aeb, f32, IF_BFP) 36 F(0xb31a, ADBR, RRE, Z, f1, f2, new, f1, adb, f64, IF_BFP) 38 F(0xed0a, AEB, RXE, Z, e1, m2_32u, new, e1, aeb, f32, IF_BFP) 39 F(0xed1a, ADB, RXE, Z, f1, m2_64, new, f1, adb, f64, IF_BFP) 41 C(0xb9c8, AHHHR, RRF_a, HW, r2_sr32, r3_sr32, new, r1_32h, add, adds32) 42 C(0xb9d8, AHHLR, RRF_a, HW, r2_sr32, r3, new, r1_32h, add, adds32) [all …]
|
| /openbmc/u-boot/include/linux/ |
| H A D | rbtree_augmented.h | 27 void (*copy)(struct rb_node *old, struct rb_node *new); 28 void (*rotate)(struct rb_node *old, struct rb_node *new); 32 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)); 58 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \ 59 new->rbaugmented = old->rbaugmented; \ 65 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \ 66 new->rbaugmented = old->rbaugmented; \ 98 __rb_change_child(struct rb_node *old, struct rb_node *new, in __rb_change_child() argument 103 parent->rb_left = new; in __rb_change_child() 105 parent->rb_right = new; in __rb_change_child() [all …]
|
| /openbmc/u-boot/fs/btrfs/ |
| H A D | chunk-map.c | 22 struct rb_node **new = &(btrfs_info.chunks_root.rb_node), *prnt = NULL; in add_chunk_mapping() local 37 while (*new) { in add_chunk_mapping() 40 this = rb_entry(*new, struct chunk_map_item, node); in add_chunk_mapping() 42 prnt = *new; in add_chunk_mapping() 44 new = &((*new)->rb_left); in add_chunk_mapping() 46 new = &((*new)->rb_right); in add_chunk_mapping() 61 rb_link_node(&map_item->node, prnt, new); in add_chunk_mapping()
|
| /openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | timer.c | 123 uint32_t old, new, incr; in __udelay() local 129 new = readl(MXS_HW_DIGCTL_MICROSECONDS); in __udelay() 132 if (new < old) { in __udelay() 134 incr += new; in __udelay() 136 incr = new - old; in __udelay() 148 old = new; in __udelay()
|
| /openbmc/qemu/tests/tcg/hexagon/ |
| H A D | test_dotnew.S | 12 memw(sp+#0) = r0.new 16 memw(sp+#4) = r1.new 20 memw(sp+#8) = r2.new 36 p0 = cmp.eq(r3, #2); if (p0.new) jump:t pass
|
| /openbmc/u-boot/fs/jffs2/ |
| H A D | jffs2_nand_1pass.c | 94 insert_node(struct b_list *list, struct b_node *new) in insert_node() argument 99 if (list->listTail != NULL && list->listCompare(new, list->listTail)) in insert_node() 101 else if (list->listLast != NULL && list->listCompare(new, list->listLast)) in insert_node() 107 b != NULL && list->listCompare(new, b); in insert_node() 115 new->next = b; in insert_node() 117 prev->next = new; in insert_node() 119 list->listHead = new; in insert_node() 123 new->next = (struct b_node *) NULL; in insert_node() 125 list->listTail->next = new; in insert_node() 126 list->listTail = new; in insert_node() [all …]
|
| /openbmc/u-boot/drivers/sound/ |
| H A D | maxim_codec.c | 72 unsigned char old, new; in maxim_bic_or() local 76 new = (old & ~mask) | (value & mask); in maxim_bic_or() 77 change = (old != new) ? 1 : 0; in maxim_bic_or() 79 ret = maxim_i2c_write(priv, reg, new); in maxim_bic_or()
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 293 | 78 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec4,${PR}iter-time=10,${PR}ke… 80 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec1,${PR}iter-time=10 82 $QEMU_IMG amend $SECRETS $IMGS1 -o ${PR}state=active,${PR}new-secret=sec3,${PR}iter-time=10,${PR}ke… 85 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec2,${PR}iter-time=10 114 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec2,${PR}iter-time=10 119 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec0,${PR}iter-time=10 123 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec3,${PR}iter-time=10 127 $QEMU_IMG amend $SECRETS $IMGS2 -o ${PR}state=active,${PR}new-secret=sec3,${PR}iter-time=10 158 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec0,${PR}iter-time=10 171 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec1,${PR}keyslot=0 [all …]
|
| /openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
| H A D | rust-oe-selftest.patch | 56 let arc = Arc::new(RwLock::new(1)); 64 let arc = Arc::new(RwLock::new(1)); 72 let arc = Arc::new(RwLock::new(1)); 80 let arc = Arc::new(RwLock::new(1)); 88 let arc = Arc::new(RwLock::new(1)); 115 let unit = TimeThreshold::new(Duration::from_millis(50), Duration::from_millis(100)); 116 let integration = TimeThreshold::new(Duration::from_millis(500), Duration::from_millis(1000)); 126 let arc = Arc::new(Mutex::new(1)); 137 let lock = Mutex::new(()); 148 let arc = Arc::new(RwLock::new(1)); [all …]
|
| /openbmc/u-boot/lib/ |
| H A D | rbtree.c | 53 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new, in __rb_rotate_set_parents() argument 57 new->__rb_parent_color = old->__rb_parent_color; in __rb_rotate_set_parents() 58 rb_set_parent_color(old, new, color); in __rb_rotate_set_parents() 59 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 64 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert() argument 193 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in ____rb_erase_color() argument 355 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_erase_color() argument 369 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {} in dummy_copy() argument 370 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} in dummy_rotate() argument 399 void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) in __rb_insert_augmented() argument [all …]
|
| /openbmc/openbmc-tools/cla-signers/ |
| H A D | update-cla.sh | 4 cat cla-signers | tail -n +2 | sort -u > cla-signers.new 8 cat cla-signers.new >> cla-signers 10 rm cla-signers.new
|