HomeSort by relevance Sort by last modified time
    Searched refs:code (Results 276 - 300 of 9702) sorted by null

<<11121314151617181920>>

  /external/chromium_org/chrome/test/chromedriver/chrome/
status.h 2 // Use of this source code is governed by a BSD-style license that can be
42 explicit Status(StatusCode code);
43 Status(StatusCode code, const std::string& details);
44 Status(StatusCode code, const Status& cause);
45 Status(StatusCode code, const std::string& details, const Status& cause);
53 StatusCode code() const;
javascript_dialog_manager_unittest.cc 2 // Use of this source code is governed by a BSD-style license that can be
19 ASSERT_EQ(kNoAlertOpen, manager.GetDialogMessage(&message).code());
22 ASSERT_EQ(kNoAlertOpen, manager.HandleDialog(false, NULL).code());
56 manager.OnEvent(&client, "Page.javascriptDialogOpening", params).code());
58 ASSERT_EQ(kOk, manager.HandleDialog(false, &given_text).code());
72 manager.OnEvent(&client, "Page.javascriptDialogOpening", params).code());
73 ASSERT_EQ(kOk, manager.HandleDialog(false, NULL).code());
85 manager.OnEvent(&client, "Page.javascriptDialogOpening", params).code());
88 ASSERT_EQ(kOk, manager.GetDialogMessage(&message).code());
93 ASSERT_EQ(kNoAlertOpen, manager.GetDialogMessage(&message).code());
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/examples/
FibonacciMaker.java 20 import com.google.dexmaker.Code;
40 Code code = dexMaker.declare(fib, Modifier.PUBLIC | Modifier.STATIC); local
42 Local<Integer> i = code.getParameter(0, TypeId.INT);
43 Local<Integer> constant1 = code.newLocal(TypeId.INT);
44 Local<Integer> constant2 = code.newLocal(TypeId.INT);
45 Local<Integer> a = code.newLocal(TypeId.INT);
46 Local<Integer> b = code.newLocal(TypeId.INT);
47 Local<Integer> c = code.newLocal(TypeId.INT);
48 Local<Integer> d = code.newLocal(TypeId.INT)
    [all...]
HelloWorldMaker.java 20 import com.google.dexmaker.Code;
45 // Execute our newly-generated code in-process.
68 // Declare that method on the dexMaker. Use the returned Code instance
70 Code code = dexMaker.declare(hello, Modifier.STATIC | Modifier.PUBLIC); local
73 Local<Integer> a = code.newLocal(TypeId.INT);
74 Local<Integer> b = code.newLocal(TypeId.INT);
75 Local<Integer> c = code.newLocal(TypeId.INT);
76 Local<String> s = code.newLocal(TypeId.STRING);
77 Local<PrintStream> localSystemOut = code.newLocal(printStreamType)
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_AbstractTest.java 82 int code = 0; local
83 while (code < 256) {
84 while (!encoder.canEncode((char) code)) code ++;
85 if (code < 65536) {
86 out.consume(code);
87 code += 1;
90 while (code < 65536) {
91 while (!encoder.canEncode((char) code)) code ++
    [all...]
  /external/chromium_org/third_party/icu/source/common/
uscript.c 33 UScriptCode code = USCRIPT_INVALID_CODE; local
47 code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, nameOrAbbrOrLocale);
50 if(code==(UScriptCode)UCHAR_INVALID_CODE){
63 code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, cName);
64 /* got the script code now fill in the buffer */
66 *(fillIn)++=code;
80 code = USCRIPT_INVALID_CODE;
82 if(code==(UScriptCode)UCHAR_INVALID_CODE){
84 code = (UScriptCode) u_getPropertyValueEnum(UCHAR_SCRIPT, nameOrAbbrOrLocale);
86 if(code!=(UScriptCode)UCHAR_INVALID_CODE)
    [all...]
  /external/e2fsprogs/lib/ss/
test_ss.c 85 int c, code; local
107 (char *)NULL, &test_cmds, &code);
108 if (code) {
109 ss_perror(sci_idx, code, "creating invocation");
113 (void) ss_add_request_table (sci_idx, &ss_std_requests, 1, &code);
114 if (code) {
115 ss_perror (sci_idx, code, "adding standard requests");
123 code = ss_execute_line(sci_idx, request);
124 if (code) {
125 ss_perror(sci_idx, code, request)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
CodeGenTreeWalker.g 13 1. Redistributions of source code must retain the above copyright
33 /** Walk a grammar and generate code by gradually building up
375 if ( $rST.code != null )
377 recognizerST.add("rules", $rST.code);
378 outputFileST.add("rules", $rST.code);
379 headerFileST.add("rules", $rST.code);
396 rule returns [ST code=null]
409 // For syn preds, we don't want any AST code etc... in there.
435 $b.code.add("description", description);
461 $code = templates.getInstanceOf(stName)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowUriMatcher.java 17 public int code = UriMatcher.NO_MATCH; field in class:ShadowUriMatcher.MatchNode
22 public MatchNode(int code) {
23 this.code = code;
29 public void __constructor__(int code) {
30 rootNode = new MatchNode(code);
34 public void addURI(String authority, String path, int code) {
37 authNode = new MatchNode(rootNode.code);
42 addNodes(authNode, Arrays.asList(segments), code);
51 return rootNode.code;
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
vlc_encode.cpp 151 uint code, len; local
163 code = ((TotalCoeff - 1) << 2) | (TrailingOnes);
167 code = 3;
169 status = BitstreamWriteBits(stream, 6, code);
187 code = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][1];
188 status = BitstreamWriteBits(stream, len, code);
205 uint code, len; local
208 code = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][1];
209 status = BitstreamWriteBits(stream, len, code);
254 int len, code; local
282 int len, code; local
318 int len, code; local
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
bitstream.h 39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code);
45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code);
46 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code);
47 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code);
51 __inline PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code)
62 *code = stream->curr_word >> (32 - nbits);
69 __inline PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code)
78 *code = stream->curr_word >> 17;
83 __inline PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code)
92 *code = stream->curr_word >> 19
97 uint code; local
112 uint code; local
    [all...]
  /external/guava/guava/src/com/google/common/primitives/
generate.sh 61 * Static utility methods pertaining to {@code primtyp} primitives, that are not
72 * The number of bytes required to represent a primitive {@code primtyp}
78 * Returns a hash code for {@code value}; equal to the result of invoking
79 * {@code ((WrapperCl) value).hashCode()}.
81 * @param value a primitive {@code primtyp} value
82 * @return a hash code for the value
89 * Returns the {@code primtyp} value that is equal to {@code value}, if
92 * @param value any value in the range of the {@code primtyp} typ
    [all...]
  /external/libcxx/test/re/re.badexp/
regex_error.pass.cpp 18 // regex_constants::error_type code() const;
28 assert(e.code() == std::regex_constants::error_collate);
33 assert(e.code() == std::regex_constants::error_ctype);
38 assert(e.code() == std::regex_constants::error_escape);
44 assert(e.code() == std::regex_constants::error_backref);
49 assert(e.code() == std::regex_constants::error_brack);
54 assert(e.code() == std::regex_constants::error_paren);
59 assert(e.code() == std::regex_constants::error_brace);
64 assert(e.code() == std::regex_constants::error_badbrace);
69 assert(e.code() == std::regex_constants::error_range)
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
cbsearch.cpp 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec
67 code[] -- array of type Word16 -- Innovative codebook, Q13
101 PSEUDO-CODE
107 When the code is written for a specific target processor the
181 ; FUNCTION CODE
192 Word16 code[], /* o : Innovative codebook, Q13 */
219 code,
234 code,
249 code,
264 code,
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.badexp/
regex_error.pass.cpp 18 // regex_constants::error_type code() const;
28 assert(e.code() == std::regex_constants::error_collate);
33 assert(e.code() == std::regex_constants::error_ctype);
38 assert(e.code() == std::regex_constants::error_escape);
44 assert(e.code() == std::regex_constants::error_backref);
49 assert(e.code() == std::regex_constants::error_brack);
54 assert(e.code() == std::regex_constants::error_paren);
59 assert(e.code() == std::regex_constants::error_brace);
64 assert(e.code() == std::regex_constants::error_badbrace);
69 assert(e.code() == std::regex_constants::error_range)
    [all...]
  /external/chromium_org/v8/test/webkit/
dfg-dead-variable-on-exit.js 7 // 1. Redistributions of source code must retain the above copyright
31 var code = "";
32 code += "(function(";
35 code += ", ";
36 code += "arg" + j;
38 code += ") {\n";
39 code += " return ";
43 code += " + ";
44 code += "arg" + j;
47 code += "void 0"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
copy_reg.py 57 # Python code for object.__reduce_ex__ for protocols 0 and 1
145 # if it is a registered extension code for it. Extension codes are
151 _extension_registry = {} # key -> code
152 _inverted_registry = {} # code -> key
153 _extension_cache = {} # code -> object
157 def add_extension(module, name, code):
158 """Register an extension code."""
159 code = int(code)
160 if not 1 <= code <= 0x7fffffff
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
copy_reg.py 57 # Python code for object.__reduce_ex__ for protocols 0 and 1
145 # if it is a registered extension code for it. Extension codes are
151 _extension_registry = {} # key -> code
152 _inverted_registry = {} # code -> key
153 _extension_cache = {} # code -> object
157 def add_extension(module, name, code):
158 """Register an extension code."""
159 code = int(code)
160 if not 1 <= code <= 0x7fffffff
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
GoogleServiceAuthError.java 2 // Use of this source code is governed by a BSD-style license that can be
60 State(int code, int message) {
61 mCode = code;
65 public static State fromCode(int code) {
67 if (state.mCode == code) {
71 throw new IllegalArgumentException("No state for code: " + code);
81 GoogleServiceAuthError(int code) {
82 mState = State.fromCode(code);
  /external/chromium_org/components/translate/core/language_detection/
language_detection_util.cc 2 // Use of this source code is governed by a BSD-style license that can be
28 // Similar language code list. Some languages are very similar and difficult
31 const char* const code; member in struct:__anon11244::SimilarLanguageCode
42 // Checks |kSimilarLanguageCodes| and returns group code.
45 if (language.find(kSimilarLanguageCodes[i].code) != 0)
60 // Applies a series of language code modification in proper order.
61 void ApplyLanguageCodeCorrection(std::string* code) {
63 translate::CorrectLanguageCodeTypo(code);
65 if (!translate::IsValidLanguageCode(*code)) {
66 *code = std::string()
    [all...]
  /external/llvm/lib/Support/
regerror.c 2 * This code is derived from OpenBSD's libc/regex, original license follows:
8 * This code is derived from software contributed to Berkeley by
14 * 1. Redistributions of source code must retain the above copyright
55 int code; member in struct:rerr
75 { 0, "", "*** unknown regexp error code ***" }
95 for (r = rerrs; r->code != 0; r++)
96 if (r->code == target)
100 if (r->code != 0) {
127 for (r = rerrs; r->code != 0; r++)
130 if (r->code == 0
    [all...]
  /external/strace/linux/
ioctlsort.c 16 unsigned long code; member in struct:ioctlent
26 unsigned long code1 = ((struct ioctlent *) a)->code;
27 unsigned long code2 = ((struct ioctlent *) b)->code;
38 ioctls[i].code &= (_IOC_NRMASK << _IOC_NRSHIFT) |
44 if (i == 0 || ioctls[i].code != ioctls[i-1].code ||
47 ioctls[i].header, ioctls[i].name, ioctls[i].code);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
ReasonCode.java 26 * CRL Entry's Reason Code Extension (OID = 2.5.29.21).
48 // predefined reason code values
60 // the reason code value
61 private final byte code; field in class:ReasonCode
65 this.code = ((byte[]) ASN1.decode(encoding))[0];
70 encoding = ASN1.encode(new byte[] { code });
77 if (code < 0 || code > values.length) {
80 return values[code];
84 sb.append(prefix).append("Reason Code: [ ")
    [all...]
  /ndk/sources/host-tools/ndk-stack/regex/
regerror.c 7 * This code is derived from software contributed to Berkeley by
13 * 1. Redistributions of source code must retain the above copyright
50 int code; member in struct:rerr
70 { 0, "", "*** unknown regexp error code ***" }
90 for (r = rerrs; r->code != 0; r++)
91 if (r->code == target)
95 if (r->code != 0) {
122 for (r = rerrs; r->code != 0; r++)
125 if (r->code == 0)
128 (void)snprintf(localbuf, localbufsize, "%d", r->code);
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java 81 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
82 Local<Long> localA = code.getParameter(0, TypeId.LONG);
83 Local<Boolean> localB = code.getParameter(1, TypeId.BOOLEAN);
86 Local<Constructable> localResult = code.newLocal(constructable);
87 code.newInstance(localResult, constructor, localA, localB);
88 code.returnValue(localResult);
110 Code code = dexMaker.declare(methodId, PUBLIC); local
111 code.returnVoid()
129 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
148 Code code = dexMaker.declare(methodId, PUBLIC); local
174 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
212 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
267 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
291 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
310 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
330 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
348 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
424 Code code = dexMaker.declare(constructor, PUBLIC); local
460 Code code = dexMaker.declare(GENERATED.getMethod(returnType, "call"), PUBLIC | STATIC); local
519 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
654 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
684 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
725 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
881 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
965 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1048 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1064 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1089 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1115 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1160 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1205 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1248 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1293 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1369 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1415 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1436 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1494 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1511 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1561 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1603 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1650 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1669 Code code = dexMaker.declare(methodId, PUBLIC | SYNCHRONIZED); local
1700 Code code = dexMaker.declare(methodId, PUBLIC); local
1727 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); local
1798 Code code = dexMaker.declare(GENERATED.getConstructor(), PUBLIC); local
    [all...]

Completed in 2128 milliseconds

<<11121314151617181920>>