Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 4380) sorted by relevance

12345678910>>...176

/external/chromium_org/third_party/skia/experimental/SkV8Example/
DPath2D.cpp15 void Path2D::ConstructPath(const v8::FunctionCallbackInfo<Value>& args) { in ConstructPath() argument
18 args.This()->SetInternalField( in ConstructPath()
60 Path2D* Path2D::Unwrap(const v8::FunctionCallbackInfo<Value>& args) { in Unwrap() argument
62 args.This()->GetInternalField(0)); in Unwrap()
67 void Path2D::ClosePath(const v8::FunctionCallbackInfo<Value>& args) { in ClosePath() argument
68 Path2D* path = Unwrap(args); in ClosePath()
72 void Path2D::MoveTo(const v8::FunctionCallbackInfo<Value>& args) { in MoveTo() argument
73 if (args.Length() != 2) { in MoveTo()
74 args.GetIsolate()->ThrowException( in MoveTo()
76 args.GetIsolate(), "Error: 2 arguments required.")); in MoveTo()
[all …]
/external/skia/experimental/SkV8Example/
DPath2D.cpp15 void Path2D::ConstructPath(const v8::FunctionCallbackInfo<Value>& args) { in ConstructPath() argument
18 args.This()->SetInternalField( in ConstructPath()
60 Path2D* Path2D::Unwrap(const v8::FunctionCallbackInfo<Value>& args) { in Unwrap() argument
62 args.This()->GetInternalField(0)); in Unwrap()
67 void Path2D::ClosePath(const v8::FunctionCallbackInfo<Value>& args) { in ClosePath() argument
68 Path2D* path = Unwrap(args); in ClosePath()
72 void Path2D::MoveTo(const v8::FunctionCallbackInfo<Value>& args) { in MoveTo() argument
73 if (args.Length() != 2) { in MoveTo()
74 args.GetIsolate()->ThrowException( in MoveTo()
76 args.GetIsolate(), "Error: 2 arguments required.")); in MoveTo()
[all …]
/external/qemu/tcg/
Doptimize.c515 TCGArg *args, TCGOpDef *tcg_op_defs) in tcg_constant_folding() argument
534 gen_args = args; in tcg_constant_folding()
540 int nb_oargs = args[0] >> 16; in tcg_constant_folding()
541 int nb_iargs = args[0] & 0xffff; in tcg_constant_folding()
543 if (temps[args[i]].state == TCG_TEMP_COPY) { in tcg_constant_folding()
544 args[i] = find_better_copy(s, args[i]); in tcg_constant_folding()
549 if (temps[args[i]].state == TCG_TEMP_COPY) { in tcg_constant_folding()
550 args[i] = find_better_copy(s, args[i]); in tcg_constant_folding()
567 swap_commutative(args[0], &args[1], &args[2]); in tcg_constant_folding()
570 if (swap_commutative(-1, &args[0], &args[1])) { in tcg_constant_folding()
[all …]
/external/icu/icu4c/source/common/
Ducnv_u32.c45 T_UConverter_toUnicode_UTF32_BE(UConverterToUnicodeArgs * args, in T_UConverter_toUnicode_UTF32_BE() argument
48 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE()
49 UChar *myTarget = args->target; in T_UConverter_toUnicode_UTF32_BE()
50 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE()
51 const UChar *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE()
52 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE()
56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
57 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE()
58 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE()
60 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE()
[all …]
Ducnv_cb.c35 ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs *args, in ucnv_cbFromUWriteBytes() argument
46 args->converter, in ucnv_cbFromUWriteBytes()
48 &args->target, args->targetLimit, in ucnv_cbFromUWriteBytes()
49 &args->offsets, offsetIndex, in ucnv_cbFromUWriteBytes()
54 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args, in ucnv_cbFromUWriteUChars() argument
79 oldTarget = args->target; in ucnv_cbFromUWriteUChars()
81 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars()
82 &args->target, in ucnv_cbFromUWriteUChars()
83 args->targetLimit, in ucnv_cbFromUWriteUChars()
90 if(args->offsets) in ucnv_cbFromUWriteUChars()
[all …]
Ducnvhz.c39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument
42args->target[targetIndex] = (unsigned char) *strToAppend; …
43 …if(args->offsets!=NULL){ …
49args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) …
154 UConverter_toUnicode_HZ_OFFSETS_LOGIC(UConverterToUnicodeArgs *args, in UConverter_toUnicode_HZ_OFFSETS_LOGIC() argument
157 const char *mySource = ( char *) args->source; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
158 UChar *myTarget = args->target; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
159 const char *mySourceLimit = args->sourceLimit; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
162 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
174 if(myTarget < args->targetLimit){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ducnv_u32.c45 T_UConverter_toUnicode_UTF32_BE(UConverterToUnicodeArgs * args, in T_UConverter_toUnicode_UTF32_BE() argument
48 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE()
49 UChar *myTarget = args->target; in T_UConverter_toUnicode_UTF32_BE()
50 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE()
51 const UChar *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE()
52 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE()
56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
57 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE()
58 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE()
60 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE()
[all …]
Ducnv_cb.c35 ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs *args, in ucnv_cbFromUWriteBytes() argument
46 args->converter, in ucnv_cbFromUWriteBytes()
48 &args->target, args->targetLimit, in ucnv_cbFromUWriteBytes()
49 &args->offsets, offsetIndex, in ucnv_cbFromUWriteBytes()
54 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args, in ucnv_cbFromUWriteUChars() argument
79 oldTarget = args->target; in ucnv_cbFromUWriteUChars()
81 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars()
82 &args->target, in ucnv_cbFromUWriteUChars()
83 args->targetLimit, in ucnv_cbFromUWriteUChars()
90 if(args->offsets) in ucnv_cbFromUWriteUChars()
[all …]
Ducnvhz.c39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument
42args->target[targetIndex] = (unsigned char) *strToAppend; …
43 …if(args->offsets!=NULL){ …
49args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) …
154 UConverter_toUnicode_HZ_OFFSETS_LOGIC(UConverterToUnicodeArgs *args, in UConverter_toUnicode_HZ_OFFSETS_LOGIC() argument
157 const char *mySource = ( char *) args->source; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
158 UChar *myTarget = args->target; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
159 const char *mySourceLimit = args->sourceLimit; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
162 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
174 if(myTarget < args->targetLimit){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
/external/openfst/src/include/fst/script/
Drandequivalent.h29 typedef args::Package<const FstClass&, const FstClass&,
31 typedef args::WithReturnValue<bool,
35 void RandEquivalent(RandEquivalentArgs1 *args) { in RandEquivalent() argument
36 const Fst<Arc> &fst1 = *(args->args.arg1.GetFst<Arc>()); in RandEquivalent()
37 const Fst<Arc> &fst2 = *(args->args.arg2.GetFst<Arc>()); in RandEquivalent()
39 args->retval = RandEquivalent(fst1, fst2, args->args.arg3, args->args.arg4, in RandEquivalent()
40 args->args.arg5, args->args.arg6); in RandEquivalent()
44 typedef args::Package<const FstClass &, const FstClass &, int32,
49 typedef args::WithReturnValue<bool,
53 void RandEquivalent(RandEquivalentArgs2 *args) { in RandEquivalent() argument
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dtester_main.cc54 int ParseArguments(CmdArgs& args) { in ParseArguments() argument
55 args.width = FLAGS_width; in ParseArguments()
56 args.height = FLAGS_height; in ParseArguments()
57 args.bitRate = FLAGS_bitrate; in ParseArguments()
58 args.frameRate = FLAGS_framerate; in ParseArguments()
59 if (args.width < 1 || args.height < 1 || args.bitRate < 1 || in ParseArguments()
60 args.frameRate < 1) { in ParseArguments()
63 args.codecName = FLAGS_codec; in ParseArguments()
64 if (args.codecName == "VP8") { in ParseArguments()
65 args.codecType = kVideoCodecVP8; in ParseArguments()
[all …]
/external/valgrind/main/none/tests/ppc32/
Dtest_fx.c39 double* args, int nargs, in do_one() argument
47 a = args[i]; in do_one()
60 double* args = malloc(nargs * sizeof(double)); in main() local
61 args[0] = 0.0; in main()
62 args[1] = 1.0 / 0.0; // inf in main()
63 args[2] = -args[1]; // -inf in main()
64 args[3] = args[2]/args[2]; // nan in main()
65 args[4] = -args[3]; // -nan in main()
66 args[5] = -5e100; in main()
67 args[6] = -5e20; in main()
[all …]
Dtest_gx.c74 double* args, int nargs, in do_one() argument
82 a = args[i]; in do_one()
95 double* args = malloc(nargs * sizeof(double)); in main() local
96 args[0] = 0.0; in main()
97 args[1] = 1.0 / 0.0; // inf in main()
98 args[2] = -args[1]; // -inf in main()
99 args[3] = args[2]/args[2]; // nan in main()
100 args[4] = -args[3]; // -nan in main()
101 args[5] = -5e100; in main()
102 args[6] = -5e20; in main()
[all …]
/external/openfst/src/include/fst/extensions/far/
Dfarscript.h87 void FarCompileStrings(FarCompileStringsArgs *args) { in FarCompileStrings() argument
89 args->in_fnames, args->out_fname, args->fst_type, args->far_type, in FarCompileStrings()
90 args->generate_keys, args->fet, args->tt, args->symbols_fname, in FarCompileStrings()
91 args->unknown_symbol, args->keep_symbols, args->initial_symbols, in FarCompileStrings()
92 args->allow_negative_labels, args->file_list_input, in FarCompileStrings()
93 args->key_prefix, args->key_suffix); in FarCompileStrings()
139 void FarCreate(FarCreateArgs *args) { in FarCreate() argument
140 fst::FarCreate<Arc>(args->in_fnames, args->out_fname, args->generate_keys, in FarCreate()
141 args->file_list_input, args->far_type, in FarCreate()
142 args->key_prefix, args->key_suffix); in FarCreate()
[all …]
/external/e2fsprogs/intl/
Dprintf.c80 libintl_vfprintf (FILE *stream, const char *format, va_list args) in libintl_vfprintf() argument
83 return vfprintf (stream, format, args); in libintl_vfprintf()
87 char *result = libintl_vasnprintf (NULL, &length, format, args); in libintl_vfprintf()
103 va_list args; in libintl_fprintf() local
106 va_start (args, format); in libintl_fprintf()
107 retval = libintl_vfprintf (stream, format, args); in libintl_fprintf()
108 va_end (args); in libintl_fprintf()
114 libintl_vprintf (const char *format, va_list args) in libintl_vprintf() argument
116 return libintl_vfprintf (stdout, format, args); in libintl_vprintf()
123 va_list args; in libintl_printf() local
[all …]
/external/chromium_org/sandbox/win/src/
Dsharedmem_ipc_server.cc140 void ReleaseArgs(const IPCParams* ipc_params, void* args[kMaxIpcParams]) { in ReleaseArgs()
142 switch (ipc_params->args[i]) { in ReleaseArgs()
144 delete reinterpret_cast<base::string16*>(args[i]); in ReleaseArgs()
145 args[i] = NULL; in ReleaseArgs()
149 delete reinterpret_cast<CountedBuffer*>(args[i]); in ReleaseArgs()
150 args[i] = NULL; in ReleaseArgs()
160 void* args[kMaxIpcParams]) { in GetArgs()
167 args[i] = params->GetRawParameter(i, &size, &type); in GetArgs()
168 if (args[i]) { in GetArgs()
169 ipc_params->args[i] = type; in GetArgs()
[all …]
/external/openssl/apps/
Dsmime.c92 char **args; in MAIN() local
122 args = argv + 1; in MAIN()
136 while (!badarg && *args && *args[0] == '-') in MAIN()
138 if (!strcmp (*args, "-encrypt")) in MAIN()
140 else if (!strcmp (*args, "-decrypt")) in MAIN()
142 else if (!strcmp (*args, "-sign")) in MAIN()
144 else if (!strcmp (*args, "-resign")) in MAIN()
146 else if (!strcmp (*args, "-verify")) in MAIN()
148 else if (!strcmp (*args, "-pk7out")) in MAIN()
151 else if (!strcmp (*args, "-des3")) in MAIN()
[all …]
Dcms.c107 char **args; in MAIN() local
146 args = argv + 1; in MAIN()
160 while (!badarg && *args && *args[0] == '-') in MAIN()
162 if (!strcmp (*args, "-encrypt")) in MAIN()
164 else if (!strcmp (*args, "-decrypt")) in MAIN()
166 else if (!strcmp (*args, "-sign")) in MAIN()
168 else if (!strcmp (*args, "-sign_receipt")) in MAIN()
170 else if (!strcmp (*args, "-resign")) in MAIN()
172 else if (!strcmp (*args, "-verify")) in MAIN()
174 else if (!strcmp (*args, "-verify_retcode")) in MAIN()
[all …]
Dpkey.c72 char **args, *infile = NULL, *outfile = NULL; in MAIN() local
97 args = argv + 1; in MAIN()
98 while (!badarg && *args && *args[0] == '-') in MAIN()
100 if (!strcmp(*args,"-inform")) in MAIN()
102 if (args[1]) in MAIN()
104 args++; in MAIN()
105 informat=str2fmt(*args); in MAIN()
109 else if (!strcmp(*args,"-outform")) in MAIN()
111 if (args[1]) in MAIN()
113 args++; in MAIN()
[all …]
Docsp.c128 char **args; in MAIN() local
176 args = argv + 1; in MAIN()
179 while (!badarg && *args && *args[0] == '-') in MAIN()
181 if (!strcmp(*args, "-out")) in MAIN()
183 if (args[1]) in MAIN()
185 args++; in MAIN()
186 outfile = *args; in MAIN()
190 else if (!strcmp(*args, "-timeout")) in MAIN()
192 if (args[1]) in MAIN()
194 args++; in MAIN()
[all …]
/external/lldb/tools/debugserver/source/
DDNBLog.cpp107 _DNBLogVAPrintf(uint32_t flags, const char *format, va_list args) in _DNBLogVAPrintf() argument
113 g_log_callback(g_log_baton, flags, format, args); in _DNBLogVAPrintf()
119 va_list args; in _DNBLog() local
120 va_start (args, format); in _DNBLog()
121 _DNBLogVAPrintf(flags, format, args); in _DNBLog()
122 va_end (args); in _DNBLog()
134 va_list args; in _DNBLogDebug() local
135 va_start (args, format); in _DNBLogDebug()
136 _DNBLogVAPrintf(DNBLOG_FLAG_DEBUG, format, args); in _DNBLogDebug()
137 va_end (args); in _DNBLogDebug()
[all …]
/external/doclava/test/doclava/
DApiCheckTest.java41 String[] args = { "test/api/medium.xml", "test/api/medium.xml" }; in testEquivalentApi() local
43 Report report = apiCheck.checkApi(args); in testEquivalentApi()
48 String[] args = { "test/api/return-type-changed-1.xml", "test/api/return-type-changed-2.xml" }; in testMethodReturnTypeChanged() local
50 Report report = apiCheck.checkApi(args); in testMethodReturnTypeChanged()
56 String[] args = { "test/api/parameter-changed-1.xml", "test/api/parameter-changed-2.xml" }; in testMethodParameterChanged() local
58 Report report = apiCheck.checkApi(args); in testMethodParameterChanged()
70 String[] args = { "test/api/parameter-changed-1.xml", "test/api/parameter-changed-3.xml" }; in testConstructorParameterChanged() local
72 Report report = apiCheck.checkApi(args); in testConstructorParameterChanged()
83 String[] args = { "test/api/simple.xml", "test/api/add-class.xml" }; in testAddedClass() local
85 Report report = apiCheck.checkApi(args); in testAddedClass()
[all …]
/external/chromium_org/extensions/renderer/
Dfile_system_natives.cc37 const v8::FunctionCallbackInfo<v8::Value>& args) { in GetIsolatedFileSystem() argument
38 DCHECK(args.Length() == 1 || args.Length() == 2); in GetIsolatedFileSystem()
39 DCHECK(args[0]->IsString()); in GetIsolatedFileSystem()
40 std::string file_system_id(*v8::String::Utf8Value(args[0])); in GetIsolatedFileSystem()
55 if (args.Length() == 2) { in GetIsolatedFileSystem()
56 DCHECK(args[1]->IsString()); in GetIsolatedFileSystem()
57 optional_root_name = *v8::String::Utf8Value(args[1]); in GetIsolatedFileSystem()
63 args.GetReturnValue().Set( in GetIsolatedFileSystem()
68 .toV8Value(args.Holder(), args.GetIsolate())); in GetIsolatedFileSystem()
72 const v8::FunctionCallbackInfo<v8::Value>& args) { in GetFileEntry() argument
[all …]
/external/chromium_org/v8/src/
Dd8-posix.cc222 static bool GetTimeouts(const v8::FunctionCallbackInfo<v8::Value>& args, in GetTimeouts() argument
225 if (args.Length() > 3) { in GetTimeouts()
226 if (args[3]->IsNumber()) { in GetTimeouts()
227 *total_timeout = args[3]->Int32Value(); in GetTimeouts()
229 args.GetIsolate()->ThrowException(String::NewFromUtf8( in GetTimeouts()
230 args.GetIsolate(), "system: Argument 4 must be a number")); in GetTimeouts()
234 if (args.Length() > 2) { in GetTimeouts()
235 if (args[2]->IsNumber()) { in GetTimeouts()
236 *read_timeout = args[2]->Int32Value(); in GetTimeouts()
238 args.GetIsolate()->ThrowException(String::NewFromUtf8( in GetTimeouts()
[all …]
/external/chromium_org/chrome/browser/resources/
Dsync_setup_overlay.js367 setChooseDataTypesCheckboxes_: function(args) { argument
369 datatypeSelect.selectedIndex = args.syncAllDataTypes ?
373 $('bookmarks-checkbox').checked = args.bookmarksSynced;
374 dataTypeBoxesChecked_['bookmarks-checkbox'] = args.bookmarksSynced;
375 dataTypeBoxesDisabled_['bookmarks-checkbox'] = args.bookmarksEnforced;
378 $('preferences-checkbox').checked = args.preferencesSynced;
379 dataTypeBoxesChecked_['preferences-checkbox'] = args.preferencesSynced;
380 dataTypeBoxesDisabled_['preferences-checkbox'] = args.preferencesEnforced;
383 $('themes-checkbox').checked = args.themesSynced;
384 dataTypeBoxesChecked_['themes-checkbox'] = args.themesSynced;
[all …]

12345678910>>...176