/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
UpdateHelper.java | 24 public int update(int original, int update) { method in class:UpdateHelper 25 if (original != update) { 27 original = update; 32 public long update(long original, long update) { method in class:UpdateHelper 33 if (original != update) { 35 original = update; 40 public double update(double original, double update) { method in class:UpdateHelper 48 public <T> T update(T original, T update) { method in class:UpdateHelper [all...] |
/external/clang/test/OpenMP/ |
target_update_if_messages.cpp | 15 #pragma omp target update to(n) if // expected-error {{expected '(' after 'if'}} 16 #pragma omp target update from(n) if ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 17 #pragma omp target update to(n) if () // expected-error {{expected expression}} 18 #pragma omp target update from(n) if (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 19 #pragma omp target update to(n) if (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} 20 #pragma omp target update from(n) if (argc > 0 ? argv[1] : argv[2]) 21 #pragma omp target update to(n) if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp target update' cannot contain more than one 'if' clause}} 22 #pragma omp target update from(n) if (S) // expected-error {{'S' does not refer to a value} [all...] |
target_update_messages.cpp | 20 #pragma omp target update // expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 21 #pragma omp target update to(m) { // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} 22 #pragma omp target update to(m) ( // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} 23 #pragma omp target update to(m) [ // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} 24 #pragma omp target update to(m) ] // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored} [all...] |
target_update_nowait_messages.cpp | 6 #pragma omp nowait target update to(i) // expected-error {{expected an OpenMP directive}} 7 #pragma omp target nowait update to(i) // expected-error {{unexpected OpenMP clause 'update' in directive '#pragma omp target'}} expected-error {{unexpected OpenMP clause 'to' in directive '#pragma omp target'}} 9 #pragma omp target update nowait() to(i) // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 10 #pragma omp target update to(i) nowait( // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} 11 #pragma omp target update to(i) nowait (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored} [all...] |
target_update_depend_messages.cpp | 25 #pragma omp depend target update to(z) // expected-error{{expected an OpenMP directive}} 26 #pragma omp depend(out:argc) target update to(z) // expected-error{{expected an OpenMP directive}} 27 #pragma omp target depend(in:argc) update to(z) // expected-error{{unexpected OpenMP clause 'update' in directive '#pragma omp target'}} expected-error{{unexpected OpenMP clause 'to' in directive '#pragma omp target'}} 30 #pragma omp target update to(z) depend // expected-error {{expected '(' after 'depend'}} 31 #pragma omp target update to(z) depend( // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-error {{expected ')'}} expected-note {{to match this '('}} expected-warning {{missing ':' after dependency type - ignoring}} 32 #pragma omp target update to(z) depend() // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-warning {{missing ':' after dependency type - ignoring}} 33 #pragma omp target update to(z) depend(argc // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-warning {{missing ':' after dependency type - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 34 #pragma omp target update to(z) depend(source : argc) // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} 35 #pragma omp target update to(z) depend(source) // expected-error {{expected expression}} expected-warning {{missing ':' afte (…) [all...] |
target_update_device_messages.cpp | 15 #pragma omp target update to(i) device // expected-error {{expected '(' after 'device'}} 16 #pragma omp target update to(i) device ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 17 #pragma omp target update to(i) device () // expected-error {{expected expression}} 18 #pragma omp target update to(i) device (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 19 #pragma omp target update to(i) device (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} 20 #pragma omp target update from(i) device (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} 21 #pragma omp target update from(i) device (argc + argc) 22 #pragma omp target update from(i) device (argc), device (argc+1) // expected-error {{directive '#pragma omp target update' cannot contain more than one 'device' clause} [all...] |
target_update_from_messages.cpp | 82 #pragma omp target update from // expected-error {{expected '(' after 'from'}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 83 #pragma omp target update from( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected expression}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 84 #pragma omp target update from() // expected-error {{expected expression}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 85 #pragma omp target update() // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 86 #pragma omp target update from(alloc) // expected-error {{use of undeclared identifier 'alloc'}} expected-error {{expected a (…) [all...] |
target_update_to_messages.cpp | 82 #pragma omp target update to // expected-error {{expected '(' after 'to'}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 83 #pragma omp target update to( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected expression}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 84 #pragma omp target update to() // expected-error {{expected expression}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 85 #pragma omp target update() // expected-warning {{extra tokens at the end of '#pragma omp target update' are ignored}} expected-error {{expected at least one 'to' clause or 'from' clause specified to '#pragma omp target update'}} 86 #pragma omp target update to(alloc) // expected-error {{use of undeclared identifier 'alloc'}} expected-error {{expected at (…) [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
Checksum.java | 38 * @param b the byte to update the checksum with 40 public void update(int b); method in interface:Checksum 44 * @param b the byte array to update the checksum with 46 * @param len the number of bytes to use for the update 48 public void update(byte[] b, int off, int len); method in interface:Checksum
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
OptionUpdateRule.java | 29 /** once an option is set, subsequent attempts to update it should be ignored. */ 32 Object update(String optionName, Object current, Object update) method 34 if (current == null) return update; 42 Object update(String optionName, Object current, Object update) method 44 return update; 51 Object update(String optionName, Object current, Object update) method 53 if (current == null) return update; 67 Object update(String optionName, Object current, Object update) method 83 Object update(String optionName, Object current, Object update) method 92 abstract Object update(String optionName, Object current, Object update) method in class:OptionUpdateRule 99 public Object update(String optionName, Object optionSource, Field field, Object update) method in class:OptionUpdateRule [all...] |
/external/e2fsprogs/debian/ |
e2fsprogs.postinst | 6 if [ -x /usr/sbin/update-initramfs -a \ 8 update-initramfs -u
|
/external/selinux/python/sepolicy/sepolicy/templates/ |
script.py | 29 USAGE="$0 [ --update ]" 36 if [ "$1" = "--update" ] ; then 40 echo "Found avc's to update policy with"
|
/libcore/ojluni/src/main/java/java/util/ |
Observer.java | 46 void update(Observable o, Object arg); method in interface:Observer
|
/frameworks/base/core/tests/coretests/src/android/text/ |
DynamicLayoutBlocksTest.java | 69 private void update(int startLine, int endLine, int newLineCount) { method in class:DynamicLayoutBlocksTest 104 update(0, 0, 0); 107 update(0, 0, 1); 110 update(0, 0, 10); 118 update(0, 0, 0); 121 update(0, 10, 0); 124 update(0, 100, 0); 127 update(20, 30, 0); 130 update(20, 20, 0); 133 update(40, 100, 0) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Digest.java | 23 * update the message digest with a single byte. 27 public void update(byte in); method in interface:Digest 30 * update the message digest with a block of bytes. 36 public void update(byte[] in, int inOff, int len); method in interface:Digest
|
Signer.java | 17 * update the internal digest with the byte b 19 public void update(byte b); method in interface:Signer 22 * update the internal digest with the byte array in 24 public void update(byte[] in, int off, int len); method in interface:Signer
|
/external/libopus/ |
version.mk | 1 # static version string; update manually every release.
|
/frameworks/hardware/interfaces/ |
update-makefiles.sh | 3 source system/tools/hidl/update-makefiles-helper.sh
|
/hardware/interfaces/ |
update-makefiles.sh | 3 source system/tools/hidl/update-makefiles-helper.sh
|
/system/hardware/interfaces/ |
update-makefiles.sh | 3 source system/tools/hidl/update-makefiles-helper.sh
|
/external/replicaisland/src/com/replica/replicaisland/ |
MainLoop.java | 34 public void update(float timeDelta, BaseObject parent) { method in class:MainLoop 35 mTimeSystem.update(timeDelta, parent); 37 super.update(newTimeDelta, parent);
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractByteHasher.java | 43 protected abstract void update(byte b); method in class:AbstractByteHasher 48 protected void update(byte[] b) { method in class:AbstractByteHasher 49 update(b, 0, b.length); method 55 protected void update(byte[] b, int off, int len) { method in class:AbstractByteHasher 57 update(b[i]); 63 update(b); 70 update(bytes); 77 update(bytes, off, len); method 84 private Hasher update(int bytes) { method in class:AbstractByteHasher 86 update(scratch.array(), 0, bytes) [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/util/config/ |
OptionUpdateRuleTest.java | 27 private static final Object UPDATE = "5 update value"; 28 private static final Object SMALL_UPDATE = "0 update value"; 29 private static final Object BIG_UPDATE = "9 update value"; 32 assertEquals(UPDATE, OptionUpdateRule.FIRST.update(OPTION_NAME, null, UPDATE)); 33 assertEquals(CURRENT, OptionUpdateRule.FIRST.update(OPTION_NAME, CURRENT, UPDATE)); 37 assertEquals(UPDATE, OptionUpdateRule.LAST.update(OPTION_NAME, null, UPDATE)) [all...] |
/tools/tradefederation/core/src/com/android/tradefed/config/ |
OptionUpdateRule.java | 28 /** once an option is set, subsequent attempts to update it should be ignored. */ 31 boolean shouldUpdate(String optionName, Object current, Object update) 40 boolean shouldUpdate(String optionName, Object current, Object update) 49 boolean shouldUpdate(String optionName, Object current, Object update) 51 return current == null || compare(optionName, current, update) < 0; 58 boolean shouldUpdate(String optionName, Object current, Object update) 60 return current == null || compare(optionName, current, update) > 0; 67 boolean shouldUpdate(String optionName, Object current, Object update) 72 "Attempted to update immutable value (%s) for option \"%s\"", optionName, 79 abstract boolean shouldUpdate(String optionName, Object current, Object update) [all...] |
/external/libdrm/tests/ |
updatedraw.c | 35 struct drm_update_draw update; local 37 update.handle = drawable; 38 update.type = DRM_DRAWABLE_CLIPRECTS; 39 update.num = 0; 40 update.data = 0; 42 ret = ioctl(fd, DRM_IOCTL_UPDATE_DRAW, &update); 50 struct drm_update_draw update; local 52 update.handle = drawable; 53 update.type = DRM_DRAWABLE_CLIPRECTS; 54 update.num = 0 65 struct drm_update_draw update; local [all...] |