/external/skia/experimental/SkV8Example/ |
D | Path2DBuilder.cpp | 17 void Path2DBuilder::ConstructPath(const v8::FunctionCallbackInfo<v8::Value>& args) { in ConstructPath() argument 20 args.This()->SetInternalField( in ConstructPath() 64 Path2DBuilder* Path2DBuilder::Unwrap(const v8::FunctionCallbackInfo<v8::Value>& args) { in Unwrap() argument 66 args.This()->GetInternalField(0)); in Unwrap() 71 void Path2DBuilder::ClosePath(const v8::FunctionCallbackInfo<v8::Value>& args) { in ClosePath() argument 72 Path2DBuilder* path = Unwrap(args); in ClosePath() 76 void Path2DBuilder::MoveTo(const v8::FunctionCallbackInfo<v8::Value>& args) { in MoveTo() argument 77 if (args.Length() != 2) { in MoveTo() 78 args.GetIsolate()->ThrowException( in MoveTo() 80 args.GetIsolate(), "Error: 2 arguments required.")); in MoveTo() [all …]
|
/external/icu/icu4c/source/common/ |
D | ucnv_u32.c | 45 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 …]
|
D | ucnv_cb.c | 35 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 …]
|
D | ucnvhz.c | 39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument 42 …args->target[targetIndex] = (unsigned char) *strToAppend; … 43 …if(args->offsets!=NULL){ … 49 …args->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/selinux/policycoreutils/semanage/ |
D | semanage | 200 def handle_opts(args, dict, target_key): 205 for k in args.__dict__.keys(): 207 if k in dict[target_key][0] and args.__dict__[k]: 213 for k in args.__dict__.keys(): 215 if k in dict[target_key][1] and not args.__dict__[k]: 222 def handleLogin(args): 226 handle_opts(args, login_args, args.action) 229 OBJECT.set_reload(args.noreload) 231 if args.action is "add": 232 OBJECT.add(args.login, args.seuser, args.range) [all …]
|
/external/selinux/prebuilts/bin/ |
D | sesearch.py | 102 args = parser.parse_args() variable 104 if not args.tertypes and not args.mlsrtypes and not args.rbacrtypes: 107 if args.debug: 110 elif args.verbose: 116 p = setools.SELinuxPolicy(args.policy) 118 if args.tertypes: 120 ruletype=args.tertypes, 121 source=args.source, 122 source_indirect=args.source_indirect, 123 source_regex=args.source_regex, [all …]
|
D | seinfo.py | 89 args = parser.parse_args() variable 91 if args.debug: 94 elif args.verbose: 100 p = setools.SELinuxPolicy(args.policy) 103 if args.boolquery or args.all: 105 if isinstance(args.boolquery, str): 106 q.name = args.boolquery 110 if args.mlscatsquery or args.all: 112 if isinstance(args.mlscatsquery, str): 113 q.name = args.mlscatsquery [all …]
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ |
D | common.py | 42 def run(self, *args): argument 56 def run(self, *args): argument 57 return list(args) 74 def run(self, *args): argument 75 if len(args) == 0: 77 for value in args: 86 def run(self, *args): argument 87 for value in args: 96 def run(self, *args): argument 97 if len(args) == 1: [all …]
|
/external/valgrind/none/tests/ppc32/ |
D | test_fx.c | 39 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 …]
|
D | test_gx.c | 74 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/e2fsprogs/intl/ |
D | printf.c | 80 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/autotest/site_utils/ |
D | test_that_unittest.py | 18 args = test_that.parse_arguments( 21 self.assertEqual('some_board', args.board) 22 self.assertEqual('some_image', args.build) 23 self.assertEqual('some_args', args.args) 24 self.assertEqual('some_remote', args.remote) 25 self.assertEqual(['test1', 'test2'], args.tests) 28 args, remote_argv = test_that._parse_arguments_internal( 31 self.assertEqual('some_board', args.board) 32 self.assertEqual('some_image', args.build) 33 self.assertEqual('some_args', args.args) [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | run_tests.py | 70 def ProcessCommandLineArgs(cls, parser, args, _): argument 73 if not args.retry_limit and not args.positional_args: 74 args.retry_limit = 3 76 if args.no_browser: 79 if args.start_xvfb and xvfb.ShouldStartXvfb(): 82 possible_browser = browser_finder.FindBrowser(args) 89 'available browser types.' % args.browser_type) 92 def main(cls, args=None, stream=None): # pylint: disable=arguments-differ argument 96 options, positional_args = parser.parse_args(args) 113 def Run(self, args): argument [all …]
|
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
D | xfa_fm2jscontext.h | 13 CFXJSE_Arguments& args); 16 CFXJSE_Arguments& args); 19 CFXJSE_Arguments& args); 22 CFXJSE_Arguments& args); 25 CFXJSE_Arguments& args); 28 CFXJSE_Arguments& args); 31 CFXJSE_Arguments& args); 34 CFXJSE_Arguments& args); 37 CFXJSE_Arguments& args); 40 CFXJSE_Arguments& args); [all …]
|
/external/llvm/lib/Support/ |
D | GraphWriter.cpp | 81 static bool ExecGraphViewer(StringRef ExecPath, std::vector<const char *> &args, in ExecGraphViewer() argument 84 assert(args.back() == nullptr); in ExecGraphViewer() 86 if (sys::ExecuteAndWait(ExecPath, args.data(), nullptr, nullptr, 0, 0, in ExecGraphViewer() 94 sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg); in ExecGraphViewer() 145 std::vector<const char *> args; in DisplayGraph() local 146 args.push_back(ViewerPath.c_str()); in DisplayGraph() 148 args.push_back("-W"); in DisplayGraph() 149 args.push_back(Filename.c_str()); in DisplayGraph() 150 args.push_back(nullptr); in DisplayGraph() 152 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() [all …]
|
/external/opencv3/samples/gpu/ |
D | hog.cpp | 73 Args args; member in App 118 Args args; in main() local 122 args.camera_id = 0; in main() 123 args.src_is_camera = true; in main() 127 args = Args::read(argc, argv); in main() 131 App app(args); in main() 172 Args args; in read() local 175 if (string(argv[i]) == "--make_gray") args.make_gray = (string(argv[++i]) == "true"); in read() 176 else if (string(argv[i]) == "--resize_src") args.resize_src = (string(argv[++i]) == "true"); in read() 177 else if (string(argv[i]) == "--width") args.width = atoi(argv[++i]); in read() [all …]
|
/external/doclava/test/doclava/ |
D | ApiCheckTest.java | 41 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/libdrm/tegra/ |
D | tegra.c | 45 struct drm_gem_close args; in drm_tegra_bo_free() local 50 memset(&args, 0, sizeof(args)); in drm_tegra_bo_free() 51 args.handle = bo->handle; in drm_tegra_bo_free() 53 drmIoctl(drm->fd, DRM_IOCTL_GEM_CLOSE, &args); in drm_tegra_bo_free() 111 struct drm_tegra_gem_create args; in drm_tegra_bo_new() local 127 memset(&args, 0, sizeof(args)); in drm_tegra_bo_new() 128 args.flags = flags; in drm_tegra_bo_new() 129 args.size = size; in drm_tegra_bo_new() 131 err = drmCommandWriteRead(drm->fd, DRM_TEGRA_GEM_CREATE, &args, in drm_tegra_bo_new() 132 sizeof(args)); in drm_tegra_bo_new() [all …]
|
/external/autotest/client/cros/audio/ |
D | sox_utils.py | 13 args = ['-t', 'raw', '-e', 'signed'] 14 args += ['-c', str(channels)] 15 args += ['-b', str(bits)] 16 args += ['-r', str(rate)] 17 return args 32 args = [SOX_PATH, '-n'] 33 args += _raw_format_args(channels, bits, rate) 34 args.append(filename) 35 args.append('synth') 37 args.append(str(duration)) [all …]
|
/external/autotest/client/cros/nfc/ |
D | console.py | 49 def _error_handler(*args): argument 51 return func(*args) 464 def do_initialize(self, args): argument 466 if args: 477 def do_adapters(self, args): argument 479 if args: 489 def do_adapter_status(self, args): argument 491 args = args.strip().split(' ') 492 if len(args) != 1 or not args[0]: 495 self._nfc_client.print_adapter_status(NEARD_PATH + args[0]) [all …]
|
/external/valgrind/auxprogs/ |
D | ppcfround.c | 330 double* args, in do_N_unary() argument 336 do_1_unary( name, f, args[i], hideMask ); in do_N_unary() 342 double* args, in do_N_binary() argument 349 do_1_binary( name, f, args[i], args[j], hideMask ); in do_N_binary() 356 double* args, in do_N_ternary() argument 364 do_1_ternary( name, f, args[i], args[j], args[k], hideMask ); in do_N_ternary() 377 double* args = malloc(nargs * sizeof(double)); in main() local 380 args[0] = 0.0; in main() 381 args[1] = 1.0 / 0.0; // inf in main() 382 args[2] = -args[1]; // -inf in main() [all …]
|
/external/javasqlite/src/main/java/SQLite/ |
D | Shell.java | 166 public void columns(String args[]) { in columns() argument 167 cols = args; in columns() 170 public void types(String args[]) { in types() argument 174 public boolean newrow(String args[]) { in newrow() argument 179 if (args.length == 0) { in newrow() 185 for (i = 0; i < args.length; i++) { in newrow() 187 args[i] == null ? "NULL" : args[i]); in newrow() 193 colwidth = new int[args.length]; in newrow() 194 for (i = 0; i < args.length; i++) { in newrow() 210 if (args.length == 0) { in newrow() [all …]
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 101 struct drm_radeon_gem_create args; in bo_open() local 103 args.size = size; in bo_open() 104 args.alignment = alignment; in bo_open() 105 args.initial_domain = bo->base.domains; in bo_open() 106 args.flags = 0; in bo_open() 107 args.handle = 0; in bo_open() 109 &args, sizeof(args)); in bo_open() 110 bo->base.handle = args.handle; in bo_open() 131 struct drm_gem_close args; in bo_unref() local 141 memset(&args, 0, sizeof(args)); in bo_unref() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLContext.cpp | 18 ConstructorArgs args; in Create() local 19 args.fInterface = interface; in Create() 33 args.fGLVersion = GrGLGetVersionFromString(ver); in Create() 34 if (GR_GL_INVALID_VER == args.fGLVersion) { in Create() 38 if (!GrGLGetGLSLGeneration(interface, &args.fGLSLGeneration)) { in Create() 42 args.fVendor = GrGLGetVendor(interface); in Create() 44 args.fRenderer = GrGLGetRendererFromString(renderer); in Create() 54 if (kAdreno3xx_GrGLRenderer == args.fRenderer) { in Create() 55 args.fGLSLGeneration = k110_GrGLSLGeneration; in Create() 58 GrGLGetDriverInfo(interface->fStandard, args.fVendor, renderer, ver, in Create() [all …]
|
/external/freetype/src/cff/ |
D | cffgload.c | 1032 FT_Fixed* args = decoder->top; in cff_decoder_parse_charstrings() local 1033 FT_Int num_args = (FT_Int)( args - decoder->stack ); in cff_decoder_parse_charstrings() 1312 args -= req_args; in cff_decoder_parse_charstrings() 1339 args - ( num_args & ~1 ) ); in cff_decoder_parse_charstrings() 1342 args = stack; in cff_decoder_parse_charstrings() 1359 args - ( num_args & ~1 ) ); in cff_decoder_parse_charstrings() 1402 args = stack; in cff_decoder_parse_charstrings() 1410 x += args[-2]; in cff_decoder_parse_charstrings() 1411 y += args[-1]; in cff_decoder_parse_charstrings() 1412 args = stack; in cff_decoder_parse_charstrings() [all …]
|