HomeSort by relevance Sort by last modified time
    Searched full:exchange (Results 1 - 25 of 2391) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/jsr166-tests/src/test/java/jsr166/
ExchangerTest.java 33 * exchange exchanges objects across two threads
39 assertSame(one, e.exchange(two));
40 assertSame(two, e.exchange(one));
44 assertSame(two, e.exchange(one));
45 assertSame(one, e.exchange(two));
53 * timed exchange exchanges objects across two threads
59 assertSame(one, e.exchange(two, LONG_DELAY_MS, MILLISECONDS));
60 assertSame(two, e.exchange(one, LONG_DELAY_MS, MILLISECONDS));
64 assertSame(two, e.exchange(one, LONG_DELAY_MS, MILLISECONDS));
65 assertSame(one, e.exchange(two, LONG_DELAY_MS, MILLISECONDS))
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/X64/
InterlockedCompareExchange32.c 21 long Exchange,
28 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
30 Performs an atomic compare exchange operation on the 32-bit unsigned integer
33 then Value is returned. The compare exchange operation must be performed using
36 @param Value A pointer to the 32-bit value for the compare exchange
39 @param ExchangeValue 32-bit value used in exchange operation.
41 @return The original *Value before exchange.
InterlockedCompareExchange64.c 21 __int64 Exchange,
28 Performs an atomic compare exchange operation on a 64-bit unsigned integer.
30 Performs an atomic compare exchange operation on the 64-bit unsigned integer specified
33 The compare exchange operation must be performed using MP safe mechanisms.
35 @param Value A pointer to the 64-bit value for the compare exchange
38 @param ExchangeValue 64-bit value used in exchange operation.
40 @return The original *Value before exchange.
InterlockedCompareExchange16.c 22 __int16 Exchange,
29 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
31 Performs an atomic compare exchange operation on the 16-bit unsigned integer specified
34 The compare exchange operation must be performed using MP safe mechanisms.
36 @param Value A pointer to the 16-bit value for the compare exchange
39 @param ExchangeValue 16-bit value used in exchange operation.
41 @return The original *Value before exchange.
GccInline.c 92 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
94 Performs an atomic compare exchange operation on the 16-bit unsigned integer
97 then Value is returned. The compare exchange operation must be performed using
101 @param Value A pointer to the 16-bit value for the compare exchange
104 @param ExchangeValue 16-bit value used in exchange operation.
106 @return The original *Value before exchange.
136 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
138 Performs an atomic compare exchange operation on the 32-bit unsigned integer
141 then Value is returned. The compare exchange operation must be performed using
145 @param Value A pointer to the 32-bit value for the compare exchange
    [all...]
  /external/skia/src/core/
SkExchange.h 15 // std::exchange is in C++14
17 inline static T exchange(T& obj, U&& new_val) { function in namespace:skstd
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ia32/
InterlockedCompareExchange16.c 20 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
22 Performs an atomic compare exchange operation on the 16-bit unsigned integer
25 then Value is returned. The compare exchange operation must be performed using
28 @param Value A pointer to the 16-bit value for the compare exchange
31 @param ExchangeValue 16-bit value used in exchange operation.
33 @return The original *Value before exchange.
InterlockedCompareExchange32.c 19 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
21 Performs an atomic compare exchange operation on the 32-bit unsigned integer
24 then Value is returned. The compare exchange operation must be performed using
27 @param Value A pointer to the 32-bit value for the compare exchange
30 @param ExchangeValue 32-bit value used in exchange operation.
32 @return The original *Value before exchange.
InterlockedCompareExchange64.c 19 Performs an atomic compare exchange operation on a 64-bit unsigned integer.
21 Performs an atomic compare exchange operation on the 64-bit unsigned integer specified
24 The compare exchange operation must be performed using MP safe mechanisms.
26 @param Value A pointer to the 64-bit value for the compare exchange
29 @param ExchangeValue A 64-bit value used in an exchange operation.
31 @return The original *Value before exchange.
GccInline.c 91 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
93 Performs an atomic compare exchange operation on the 16-bit unsigned integer
96 then Value is returned. The compare exchange operation must be performed using
100 @param Value A pointer to the 16-bit value for the compare exchange
103 @param ExchangeValue 16-bit value used in exchange operation.
105 @return The original *Value before exchange.
133 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
135 Performs an atomic compare exchange operation on the 32-bit unsigned integer
138 then Value is returned. The compare exchange operation must be performed using
142 @param Value A pointer to the 32-bit value for the compare exchange
    [all...]
  /art/tools/ahat/src/
StaticHandler.java 38 public void handle(HttpExchange exchange) throws IOException {
42 exchange.getResponseHeaders().add("Content-Type", "text/html");
43 exchange.sendResponseHeaders(404, 0);
44 PrintStream ps = new PrintStream(exchange.getResponseBody());
49 exchange.getResponseHeaders().add("Content-Type", mContentType);
50 exchange.sendResponseHeaders(200, 0);
51 OutputStream os = exchange.getResponseBody();
BitmapHandler.java 37 public void handle(HttpExchange exchange) throws IOException {
39 Query query = new Query(exchange.getRequestURI());
48 exchange.getResponseHeaders().add("Content-Type", "image/png");
49 exchange.sendResponseHeaders(200, 0);
50 OutputStream os = exchange.getResponseBody();
54 exchange.getResponseHeaders().add("Content-Type", "text/html");
55 exchange.sendResponseHeaders(404, 0);
56 PrintStream ps = new PrintStream(exchange.getResponseBody());
64 System.err.println("Exception when handling " + exchange.getRequestURI() + ": ");
AhatHttpHandler.java 38 public void handle(HttpExchange exchange) throws IOException {
39 exchange.getResponseHeaders().add("Content-Type", "text/html;charset=utf-8");
40 exchange.sendResponseHeaders(200, 0);
41 PrintStream ps = new PrintStream(exchange.getResponseBody());
45 mAhatHandler.handle(doc, new Query(exchange.getRequestURI()));
50 System.err.println("Exception when handling " + exchange.getRequestURI() + ": ");
  /external/libcxx/test/std/utilities/utility/exchange/
exchange.pass.cpp 13 // exchange
23 assert ( std::exchange ( v, 23 ) == 12 );
25 assert ( std::exchange ( v, static_cast<short>(67) ) == 23 );
28 assert ((std::exchange<int, short> ( v, {} )) == 67 );
35 assert ( !std::exchange ( b, true ));
43 assert ( std::exchange ( s3, s2 ) == s1 );
45 assert ( std::exchange ( s3, "Hi Mom!" ) == s2 );
49 assert ( std::exchange ( s3, {} ) == s2 );
53 assert ( std::exchange ( s3, "" ) == s2 );
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/exchange/
exchange.pass.cpp 12 // exchange
23 assert ( std::exchange ( v, 23 ) == 12 );
25 assert ( std::exchange ( v, 67.2 ) == 23 );
28 assert ((std::exchange<int, float> ( v, {} )) == 67 );
35 assert ( !std::exchange ( b, true ));
43 assert ( std::exchange ( s3, s2 ) == s1 );
45 assert ( std::exchange ( s3, "Hi Mom!" ) == s2 );
49 assert ( std::exchange ( s3, {} ) == s2 );
53 assert ( std::exchange ( s3, "" ) == s2 );
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/exchange/
exchange.pass.cpp 12 // exchange
23 assert ( std::exchange ( v, 23 ) == 12 );
25 assert ( std::exchange ( v, 67.2 ) == 23 );
28 assert ((std::exchange<int, float> ( v, {} )) == 67 );
35 assert ( !std::exchange ( b, true ));
43 assert ( std::exchange ( s3, s2 ) == s1 );
45 assert ( std::exchange ( s3, "Hi Mom!" ) == s2 );
49 assert ( std::exchange ( s3, {} ) == s2 );
53 assert ( std::exchange ( s3, "" ) == s2 );
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
interlockedapi.h 22 WINBASEAPI LONG WINAPI InterlockedCompareExchange (LONG volatile *Destination, LONG Exchange, LONG Comperand);
23 WINBASEAPI LONGLONG WINAPI InterlockedCompareExchange64 (LONGLONG volatile *Destination, LONGLONG Exchange, LONGLONG Comperand);
41 __MINGW_INTRIN_INLINE LONG WINAPI InterlockedCompareExchange(LONG volatile *Destination, LONG Exchange, LONG Comperand) {
42 return _InterlockedCompareExchange(Destination, Exchange, Comperand);
44 __MINGW_INTRIN_INLINE LONGLONG WINAPI InterlockedCompareExchange64(LONGLONG volatile *Destination, LONGLONG Exchange, LONGLONG Comperand) {
45 return _InterlockedCompareExchange64(Destination, Exchange, Comperand);
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/AArch64/
Synchronization.S 26 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
28 Performs an atomic compare exchange operation on the 16-bit unsigned integer
31 then Value is returned. The compare exchange operation must be performed using
34 @param Value A pointer to the 16-bit value for the compare exchange
37 @param ExchangeValue 16-bit value used in exchange operation.
39 @return The original *Value before exchange.
69 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
71 Performs an atomic compare exchange operation on the 32-bit unsigned integer
74 then Value is returned. The compare exchange operation must be performed using
77 @param Value A pointer to the 32-bit value for the compare exchange
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Arm/
Synchronization.S 26 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
28 Performs an atomic compare exchange operation on the 16-bit unsigned integer
31 then Value is returned. The compare exchange operation must be performed using
34 @param Value A pointer to the 16-bit value for the compare exchange
37 @param ExchangeValue 16-bit value used in exchange operation.
39 @return The original *Value before exchange.
68 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
70 Performs an atomic compare exchange operation on the 32-bit unsigned integer
73 then Value is returned. The compare exchange operation must be performed using
76 @param Value A pointer to the 32-bit value for the compare exchange
    [all...]
Synchronization.asm 25 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
27 Performs an atomic compare exchange operation on the 16-bit unsigned integer
30 then Value is returned. The compare exchange operation must be performed using
33 @param Value A pointer to the 16-bit value for the compare exchange
36 @param ExchangeValue 16-bit value used in exchange operation.
38 @return The original *Value before exchange.
67 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
69 Performs an atomic compare exchange operation on the 32-bit unsigned integer
72 then Value is returned. The compare exchange operation must be performed using
75 @param Value A pointer to the 32-bit value for the compare exchange
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/
BaseSynchronizationLibInternals.h 66 Performs an atomic compare exchange operation on a 16-bit unsigned integer.
68 Performs an atomic compare exchange operation on the 16-bit unsigned integer
71 then Value is returned. The compare exchange operation must be performed using
74 @param Value A pointer to the 16-bit value for the compare exchange
77 @param ExchangeValue A 16-bit value used in exchange operation.
79 @return The original *Value before exchange.
92 Performs an atomic compare exchange operation on a 32-bit unsigned integer.
94 Performs an atomic compare exchange operation on the 32-bit unsigned integer
97 then Value is returned. The compare exchange operation must be performed using
100 @param Value A pointer to the 32-bit value for the compare exchange
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ebc/
Synchronization.c 16 Performs an atomic compare exchange operation on a 16-bit
19 Performs an atomic compare exchange operation on the 16-bit
23 CompareValue, then Value is returned. The compare exchange
27 compare exchange operation.
29 @param ExchangeValue 16-bit value used in exchange operation.
31 @return The original *Value before exchange.
47 Performs an atomic compare exchange operation on a 32-bit
50 Performs an atomic compare exchange operation on the 32-bit
54 CompareValue, then Value is returned. The compare exchange
58 compare exchange operation.
    [all...]
  /dalvik/dx/
README.txt 1 Home of Dalvik eXchange, the thing that takes in class files and
  /external/libxml2/test/catalogs/
catal.script 3 public "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
whites.script 3 public " -//OASIS//DTD XML Exchange Table Model 19990315//EN"

Completed in 1070 milliseconds

1 2 3 4 5 6 7 8 91011>>