Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 3782) sorted by relevance

12345678910>>...152

/external/coreboot/src/soc/intel/xeon_sp/skx/
Dupd_display.c7 #define DUMP_UPD(old, new, field) \ argument
8 fsp_display_upd_value(#field, sizeof(old->field), old->field, new->field)
16 const FSP_M_CONFIG *old; in soc_display_fspm_upd_params() local
18 old = &fspm_old_upd->FspmConfig; in soc_display_fspm_upd_params()
23 DUMP_UPD(old, new, PcdFspMrcDebugPrintErrorLevel); in soc_display_fspm_upd_params()
24 DUMP_UPD(old, new, PcdFspKtiDebugPrintErrorLevel); in soc_display_fspm_upd_params()
25 DUMP_UPD(old, new, PcdHsuartDevice); in soc_display_fspm_upd_params()
36 const FSP_S_CONFIG *old; in soc_display_fsps_upd_params() local
38 old = &fsps_old_upd->FspsConfig; in soc_display_fsps_upd_params()
43 DUMP_UPD(old, new, PcdBifurcationPcie0); in soc_display_fsps_upd_params()
[all …]
/external/coreboot/src/soc/intel/xeon_sp/cpx/
Dupd_display.c7 #define DUMP_UPD(old, new, field) \ argument
8 fsp_display_upd_value(#field, sizeof(old->field), old->field, new->field)
16 const FSP_M_CONFIG *old; in soc_display_fspm_upd_params() local
18 old = &fspm_old_upd->FspmConfig; in soc_display_fspm_upd_params()
23 DUMP_UPD(old, new, DebugPrintLevel); in soc_display_fspm_upd_params()
24 DUMP_UPD(old, new, PchAdrEn); in soc_display_fspm_upd_params()
35 const FSP_S_CONFIG *old; in soc_display_fsps_upd_params() local
37 old = &fsps_old_upd->FspsConfig; in soc_display_fsps_upd_params()
42 DUMP_UPD(old, new, BifurcationPcie0); in soc_display_fsps_upd_params()
43 DUMP_UPD(old, new, BifurcationPcie1); in soc_display_fsps_upd_params()
[all …]
/external/trusty/musl/src/internal/
Datomic.h22 int old; in a_cas() local
24 do old = a_ll(p); in a_cas()
25 while (old==t && !a_sc(p, s)); in a_cas()
27 return old; in a_cas()
35 int old; in a_swap() local
37 do old = a_ll(p); in a_swap()
40 return old; in a_swap()
48 int old; in a_fetch_add() local
50 do old = a_ll(p); in a_fetch_add()
51 while (!a_sc(p, (unsigned)old + v)); in a_fetch_add()
[all …]
/external/clang/test/CodeGen/
Datomic.c5 int old; in atomic() local
13 old = __sync_fetch_and_add(&val, 1); in atomic()
16 old = __sync_fetch_and_sub(&valc, 2); in atomic()
19 old = __sync_fetch_and_min(&val, 3); in atomic()
22 old = __sync_fetch_and_max(&val, 4); in atomic()
25 old = __sync_fetch_and_umin(&uval, 5u); in atomic()
28 old = __sync_fetch_and_umax(&uval, 6u); in atomic()
31 old = __sync_lock_test_and_set(&val, 7); in atomic()
34 old = __sync_swap(&val, 8); in atomic()
37 old = __sync_val_compare_and_swap(&val, 4, 1976); in atomic()
[all …]
/external/musl/src/internal/
Datomic.h22 int old; in a_cas() local
24 do old = a_ll(p); in a_cas()
25 while (old==t && !a_sc(p, s)); in a_cas()
27 return old; in a_cas()
35 int old; in a_swap() local
37 do old = a_ll(p); in a_swap()
40 return old; in a_swap()
48 int old; in a_fetch_add() local
50 do old = a_ll(p); in a_fetch_add()
51 while (!a_sc(p, (unsigned)old + v)); in a_fetch_add()
[all …]
/external/coreboot/src/soc/intel/braswell/
Dchip.c139 void soc_display_silicon_init_params(const SILICON_INIT_UPD *old, SILICON_INIT_UPD *new) in soc_display_silicon_init_params() argument
145 old->PcdSdcardMode, in soc_display_silicon_init_params()
148 old->PcdEnableHsuart0, in soc_display_silicon_init_params()
151 old->PcdEnableHsuart1, in soc_display_silicon_init_params()
154 old->PcdEnableAzalia, in soc_display_silicon_init_params()
157 (uint32_t)old->AzaliaConfigPtr, in soc_display_silicon_init_params()
160 fsp_display_upd_value("PcdEnableSata", 1, old->PcdEnableSata, new->PcdEnableSata); in soc_display_silicon_init_params()
161 fsp_display_upd_value("PcdEnableXhci", 1, old->PcdEnableXhci, new->PcdEnableXhci); in soc_display_silicon_init_params()
162 fsp_display_upd_value("PcdEnableLpe", 1, old->PcdEnableLpe, new->PcdEnableLpe); in soc_display_silicon_init_params()
163 fsp_display_upd_value("PcdEnableDma0", 1, old->PcdEnableDma0, new->PcdEnableDma0); in soc_display_silicon_init_params()
[all …]
/external/coreboot/src/drivers/intel/fsp2_0/
Dupd_display.c7 void fsp_display_upd_value(const char *name, size_t size, uint64_t old, in fsp_display_upd_value() argument
11 if (old == new) { in fsp_display_upd_value()
15 old, (int)size, new, name); in fsp_display_upd_value()
19 static void fspm_display_arch_params(const FSPM_ARCHx_UPD *old, in fspm_display_arch_params() argument
25 fsp_display_upd_value("Revision", sizeof(old->Revision), in fspm_display_arch_params()
26 old->Revision, new->Revision); in fspm_display_arch_params()
27 fsp_display_upd_value("NvsBufferPtr", sizeof(old->NvsBufferPtr), in fspm_display_arch_params()
28 (uintptr_t)old->NvsBufferPtr, in fspm_display_arch_params()
30 fsp_display_upd_value("StackBase", sizeof(old->StackBase), in fspm_display_arch_params()
31 (uintptr_t)old->StackBase, in fspm_display_arch_params()
[all …]
/external/perfetto/python/tools/
Dupdate_permalink.py17 def upgrade_15(old): argument
18 new = copy.deepcopy(old)
24 def upgrade_16(old): argument
25 new = copy.deepcopy(old)
27 new["nextId"] = max(old["nextId"], old["nextNoteId"], old["nextAreaId"])
28 engines = old["engines"]
34 def upgrade_17(old): argument
35 new = copy.deepcopy(old)
41 def upgrade_18(old): argument
42 new = copy.deepcopy(old)
[all …]
/external/cronet/stable/third_party/apache-portable-runtime/src/atomic/os390/
Datomic.c30 apr_uint32_t old, new_val; in apr_atomic_add32() local
32 old = *mem; /* old is automatically updated on cs failure */ in apr_atomic_add32()
34 new_val = old + val; in apr_atomic_add32()
35 } while (__cs(&old, (cs_t *)mem, new_val)); in apr_atomic_add32()
36 return old; in apr_atomic_add32()
41 apr_uint32_t old, new_val; in apr_atomic_sub32() local
43 old = *mem; /* old is automatically updated on cs failure */ in apr_atomic_sub32()
45 new_val = old - val; in apr_atomic_sub32()
46 } while (__cs(&old, (cs_t *)mem, new_val)); in apr_atomic_sub32()
56 apr_uint32_t old, new_val; in apr_atomic_dec32() local
[all …]
/external/cronet/tot/third_party/apache-portable-runtime/src/atomic/os390/
Datomic.c30 apr_uint32_t old, new_val; in apr_atomic_add32() local
32 old = *mem; /* old is automatically updated on cs failure */ in apr_atomic_add32()
34 new_val = old + val; in apr_atomic_add32()
35 } while (__cs(&old, (cs_t *)mem, new_val)); in apr_atomic_add32()
36 return old; in apr_atomic_add32()
41 apr_uint32_t old, new_val; in apr_atomic_sub32() local
43 old = *mem; /* old is automatically updated on cs failure */ in apr_atomic_sub32()
45 new_val = old - val; in apr_atomic_sub32()
46 } while (__cs(&old, (cs_t *)mem, new_val)); in apr_atomic_sub32()
56 apr_uint32_t old, new_val; in apr_atomic_dec32() local
[all …]
/external/googleapis/google/ads/googleads/v15/enums/
Dreach_plan_age_range.proto40 // Between 18 and 24 years old.
43 // Between 18 and 34 years old.
46 // Between 18 and 44 years old.
49 // Between 18 and 49 years old.
52 // Between 18 and 54 years old.
55 // Between 18 and 64 years old.
58 // Between 18 and 65+ years old.
61 // Between 21 and 34 years old.
64 // Between 25 and 34 years old.
67 // Between 25 and 44 years old.
[all …]
/external/googleapis/google/ads/googleads/v14/enums/
Dreach_plan_age_range.proto40 // Between 18 and 24 years old.
43 // Between 18 and 34 years old.
46 // Between 18 and 44 years old.
49 // Between 18 and 49 years old.
52 // Between 18 and 54 years old.
55 // Between 18 and 64 years old.
58 // Between 18 and 65+ years old.
61 // Between 21 and 34 years old.
64 // Between 25 and 34 years old.
67 // Between 25 and 44 years old.
[all …]
/external/googleapis/google/ads/googleads/v16/enums/
Dreach_plan_age_range.proto40 // Between 18 and 24 years old.
43 // Between 18 and 34 years old.
46 // Between 18 and 44 years old.
49 // Between 18 and 49 years old.
52 // Between 18 and 54 years old.
55 // Between 18 and 64 years old.
58 // Between 18 and 65+ years old.
61 // Between 21 and 34 years old.
64 // Between 25 and 34 years old.
67 // Between 25 and 44 years old.
[all …]
/external/clang/test/SemaCXX/
Dconstexpr-turing.cpp19 constexpr Tape(const Tape &old, bool write) : in Tape()
20 l(old.l), val(write), r(old.r) {} in Tape()
21 constexpr Tape(const Tape &old, Dir dir) : in Tape()
22 l(dir == L ? old.l ? old.l->l : 0 : &old), in Tape()
23 val(dir == L ? old.l ? old.l->val : false in Tape()
24 : old.r ? old.r->val : false), in Tape()
25 r(dir == R ? old.r ? old.r->r : 0 : &old) {} in Tape()
30 constexpr Tape update(const Tape &old, bool write) { return Tape(old, write); } in update() argument
31 constexpr Tape move(const Tape &old, Dir dir) { return Tape(old, dir); } in move() argument
/external/pytorch/aten/src/ATen/cuda/
DAtomic.cuh22 unsigned int old = *address_as_ui; in operator ()() local
27 assumed = old; in operator ()()
28 hsum.x = (size_t)address & 2 ? (old >> 16) : (old & 0xffff); in operator ()()
30 old = (size_t)address & 2 ? (old & 0xffff) | (hsum.x << 16) : (old & 0xffff0000) | hsum.x; in operator ()()
31 old = atomicCAS(address_as_ui, assumed, old); in operator ()()
32 } while (assumed != old); in operator ()()
33 hsum.x = (size_t)address & 2 ? (old >> 16) : (old & 0xffff); in operator ()()
44 unsigned int old = *address_as_ui; in operator ()() local
49 assumed = old; in operator ()()
50 bsum.x = (size_t)address & 2 ? (old >> 16) : (old & 0xffff); in operator ()()
[all …]
/external/e2fsprogs/lib/ext2fs/
Direl_ma.c27 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
29 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old,
31 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
34 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old,
40 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
41 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old);
140 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
149 if (old > ma->max_inode)
156 if (ma->entries[(unsigned) old].new == 0)
157 ent->orig = old;
[all …]
Dbrel_ma.c30 static errcode_t bma_put(ext2_brel brel, blk64_t old,
32 static errcode_t bma_get(ext2_brel brel, blk64_t old,
35 static errcode_t bma_next(ext2_brel brel, blk64_t *old,
37 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new);
38 static errcode_t bma_delete(ext2_brel brel, blk64_t old);
105 static errcode_t bma_put(ext2_brel brel, blk64_t old, in bma_put() argument
111 if (old > ma->max_block) in bma_put()
113 ma->entries[(unsigned)old] = *ent; in bma_put()
117 static errcode_t bma_get(ext2_brel brel, blk64_t old, in bma_get() argument
123 if (old > ma->max_block) in bma_get()
[all …]
Direl.h35 errcode_t (*put)(ext2_irel irel, ext2_ino_t old,
40 errcode_t (*get)(ext2_irel irel, ext2_ino_t old,
46 errcode_t (*get_by_orig)(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
58 errcode_t (*next)(ext2_irel irel, ext2_ino_t *old,
86 errcode_t (*move)(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
92 errcode_t (*delete)(ext2_irel irel, ext2_ino_t old);
103 #define ext2fs_irel_put(irel, old, ent) ((irel)->put((irel), old, ent)) argument
104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, ent)) argument
105 #define ext2fs_irel_get_by_orig(irel, orig, old, ent) \ argument
106 ((irel)->get_by_orig((irel), orig, old, ent))
[all …]
Dbrel.h37 errcode_t (*put)(ext2_brel brel, blk64_t old,
43 errcode_t (*get)(ext2_brel brel, blk64_t old,
55 errcode_t (*next)(ext2_brel brel, blk64_t *old,
62 errcode_t (*move)(ext2_brel brel, blk64_t old, blk_t new);
67 errcode_t (*delete)(ext2_brel brel, blk64_t old);
79 #define ext2fs_brel_put(brel, old, ent) ((brel)->put((brel), old, ent)) argument
80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent)) argument
82 #define ext2fs_brel_next(brel, old, ent) ((brel)->next((brel), old, ent)) argument
83 #define ext2fs_brel_move(brel, old, new) ((brel)->move((brel), old, new)) argument
84 #define ext2fs_brel_delete(brel, old) ((brel)->delete((brel), old)) argument
/external/trusty/lk/arch/arm64/include/arch/
Darch_ops.h125 int old; in atomic_add()
134 : [old]"=&r" (old), [temp]"=&r" (temp), [test]"=&r" (test) in atomic_add()
140 return old; in atomic_add()
149 int old; in atomic_or()
158 : [old]"=&r" (old), [temp]"=&r" (temp), [test]"=&r" (test) in atomic_or()
164 return old; in atomic_or()
173 int old; in atomic_and()
182 : [old]"=&r" (old), [temp]"=&r" (temp), [test]"=&r" (test) in atomic_and()
188 return old; in atomic_and()
197 int old; in atomic_swap()
[all …]
/external/jetpack-camera-app/core/camera/src/main/java/com/google/jetpackcamera/core/camera/test/
DFakeCameraUseCase.kt154 currentSettings.update { old -> in <lambda>() method
155 old.copy(zoomScale = scale) in <lambda>()
167 currentSettings.update { old -> in <lambda>() method
168 old.copy(flashMode = flashMode) in <lambda>()
177 currentSettings.update { old -> in <lambda>() method
178 old.copy(aspectRatio = aspectRatio) in <lambda>()
183 currentSettings.update { old -> in <lambda>() method
184 old.copy(videoQuality = videoQuality) in <lambda>()
189 currentSettings.update { old -> in <lambda>() method
190 old.copy(cameraLensFacing = lensFacing) in <lambda>()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_update_shadow_word_inl.h20 old = LoadShadow(sp);
21 if (old.IsZero()) {
30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) {
33 if (Shadow::TidsAreEqual(old, cur)) {
35 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
40 if (HappensBefore(old, thr)) {
41 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
45 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic))
50 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) {
52 if (Shadow::TidsAreEqual(old, cur)) {
[all …]
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/batching/
DNonBlockingSemaphore.java55 long old = acquiredPermits.get(); in release() local
57 long newAcquired = Math.max(0, old - permits); in release()
58 if (acquiredPermits.compareAndSet(old, newAcquired)) { in release()
68 long old = acquiredPermits.get(); in acquire() local
69 if (old + permits > limit.get()) { in acquire()
72 if (acquiredPermits.compareAndSet(old, old + permits)) { in acquire()
85 long old = acquiredPermits.get(); in acquirePartial() local
86 if (old + permits > limit.get() && old > 0) { in acquirePartial()
89 if (acquiredPermits.compareAndSet(old, old + permits)) { in acquirePartial()
/external/grpc-grpc/include/grpc/support/
Datm_windows.h99 gpr_atm old; in gpr_atm_no_barrier_fetch_add() local
101 old = *p; in gpr_atm_no_barrier_fetch_add()
102 } while (!gpr_atm_no_barrier_cas(p, old, old + delta)); in gpr_atm_no_barrier_fetch_add()
103 return old; in gpr_atm_no_barrier_fetch_add()
108 gpr_atm old; in gpr_atm_full_fetch_add() local
111 old = *p; in gpr_atm_full_fetch_add()
112 } while (old != (gpr_atm)InterlockedCompareExchange64((volatile LONGLONG*)p, in gpr_atm_full_fetch_add()
113 (LONGLONG)old + delta, in gpr_atm_full_fetch_add()
114 (LONGLONG)old)); in gpr_atm_full_fetch_add()
117 old = *p; in gpr_atm_full_fetch_add()
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/spm-core-include/grpc/support/
Datm_windows.h99 gpr_atm old; in gpr_atm_no_barrier_fetch_add() local
101 old = *p; in gpr_atm_no_barrier_fetch_add()
102 } while (!gpr_atm_no_barrier_cas(p, old, old + delta)); in gpr_atm_no_barrier_fetch_add()
103 return old; in gpr_atm_no_barrier_fetch_add()
108 gpr_atm old; in gpr_atm_full_fetch_add() local
111 old = *p; in gpr_atm_full_fetch_add()
112 } while (old != (gpr_atm)InterlockedCompareExchange64((volatile LONGLONG*)p, in gpr_atm_full_fetch_add()
113 (LONGLONG)old + delta, in gpr_atm_full_fetch_add()
114 (LONGLONG)old)); in gpr_atm_full_fetch_add()
117 old = *p; in gpr_atm_full_fetch_add()
[all …]

12345678910>>...152