| /third_party/cJSON/tests/ |
| H A D | readme_examples.c | 55 cJSON *resolution = NULL; in create_monitor() local 84 resolution = cJSON_CreateObject(); in create_monitor() 85 if (resolution == NULL) in create_monitor() 89 cJSON_AddItemToArray(resolutions, resolution); in create_monitor() 96 cJSON_AddItemToObject(resolution, "width", width); in create_monitor() 103 cJSON_AddItemToObject(resolution, "height", height); in create_monitor() 143 cJSON *resolution = cJSON_CreateObject(); in create_monitor_with_helpers() local 145 if (cJSON_AddNumberToObject(resolution, "width", resolution_numbers[index][0]) == NULL) in create_monitor_with_helpers() 150 if(cJSON_AddNumberToObject(resolution, "height", resolution_numbers[index][1]) == NULL) in create_monitor_with_helpers() 155 cJSON_AddItemToArray(resolutions, resolution); in create_monitor_with_helpers() 171 const cJSON *resolution = NULL; supports_full_hd() local [all...] |
| /third_party/backends/frontend/ |
| H A D | stiff.c | 184 write_tiff_bw_header (FILE *fptr, int width, int height, int resolution) in write_tiff_bw_header() argument 199 if (resolution > 0) in write_tiff_bw_header() 235 if (resolution > 0) in write_tiff_bw_header() 237 /* x resolution */ in write_tiff_bw_header() 240 /* y resolution */ in write_tiff_bw_header() 244 if (resolution > 0) in write_tiff_bw_header() 246 /* resolution unit (dpi) */ in write_tiff_bw_header() 254 /* Write x/y resolution */ in write_tiff_bw_header() 255 if (resolution > 0) in write_tiff_bw_header() 257 write_i4 (fptr, resolution, motorol in write_tiff_bw_header() 267 write_tiff_grey_header(FILE *fptr, int width, int height, int depth, int resolution, const char *icc_profile) write_tiff_grey_header() argument 390 write_tiff_color_header(FILE *fptr, int width, int height, int depth, int resolution, const char *icc_profile) write_tiff_color_header() argument 539 sanei_write_tiff_header(SANE_Frame format, int width, int height, int depth, int resolution, const char *icc_profile, FILE *ofp) sanei_write_tiff_header() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
| H A D | vktGeometryBasicClass.cpp | 78 const IVec2 resolution = IVec2(TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in iterate() local 84 makeImageCreateInfo(resolution, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT), in iterate() 92 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, resolution.x(), resolution.y(), 1u)); in iterate() 103 .setRenderSize (resolution) in iterate() 113 const VkDeviceSize colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate() 154 makeExtent2D(resolution.x(), resolution.y()), in iterate() 173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
| H A D | vktGeometryBasicClass.cpp | 78 const IVec2 resolution = IVec2(TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in iterate() local 84 makeImageCreateInfo(resolution, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT), in iterate() 92 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, resolution.x(), resolution.y(), 1u)); in iterate() 103 .setRenderSize (resolution) in iterate() 113 const VkDeviceSize colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate() 154 makeExtent2D(resolution.x(), resolution.y()), in iterate() 173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate() [all...] |
| /third_party/libinput/tools/ |
| H A D | libinput-measure-touchpad-size.py | 59 if not x.resolution or not y.resolution: 61 x.resolution = 1 62 y.resolution = 1 66 self.width = self.xrange / x.resolution 67 self.height = self.yrange / y.resolution 78 * (self.yrange // y.resolution) 79 // (self.xrange // x.resolution) 246 print("The systemd hwdb already overrides the axis ranges and/or resolution.") 297 touchpad.x.resolution [all...] |
| /third_party/node/test/fixtures/wpt/hr-time/resources/ |
| H A D | timing-attack.js | 2 let resolution = 100; 4 resolution = 5; 16 assert_true((diff === 0) || ((diff * 1000) >= resolution), 17 "Differences smaller than ' + resolution + ' microseconds: " + diff); 40 assert_true(check_resolutions(times, index), 'Difference should be at least ' + resolution + ' microseconds.'); 41 }, 'The recommended minimum resolution of the Performance interface has been set to ' + resolution + ' microseconds for cross-origin isolated contexts.');
|
| /third_party/cups-filters/cupsfilters/ |
| H A D | attr.c | 15 * media, and resolution. 30 * media, and resolution. 38 const char *resolution, /* I - Resolution */ in cupsFindAttr() 49 if (!ppd || !name || !colormodel || !media || !resolution || !spec || in cupsFindAttr() 65 snprintf(spec, specsize, "%s.%s.%s", colormodel, media, resolution); in cupsFindAttr() 70 snprintf(spec, specsize, "%s.%s", colormodel, resolution); in cupsFindAttr() 80 snprintf(spec, specsize, "%s.%s", media, resolution); in cupsFindAttr() 90 snprintf(spec, specsize, "%s", resolution); in cupsFindAttr() 34 cupsFindAttr(ppd_file_t *ppd, const char *name, const char *colormodel, const char *media, const char *resolution, char *spec, int specsize) cupsFindAttr() argument
|
| H A D | cmyk.c | 1027 const char *resolution) /* I - Resolution value */ in cupsCMYKLoad() 1048 if (ppd == NULL || colormodel == NULL || resolution == NULL || media == NULL) in cupsCMYKLoad() 1089 resolution, spec, sizeof(spec))) == NULL) in cupsCMYKLoad() 1105 resolution, spec, sizeof(spec))) != NULL) in cupsCMYKLoad() 1113 resolution, spec, sizeof(spec))) != NULL) in cupsCMYKLoad() 1126 resolution, spec, sizeof(spec))) != NULL) in cupsCMYKLoad() 1153 media, resolution, spec, in cupsCMYKLoad() 1173 resolution, spec, sizeof(spec))) != NULL) in cupsCMYKLoad() 1200 media, resolution, spec, in cupsCMYKLoad() 1229 resolution, spe in cupsCMYKLoad() 1024 cupsCMYKLoad(ppd_file_t *ppd, const char *colormodel, const char *media, const char *resolution) cupsCMYKLoad() argument [all...] |
| H A D | driver.h | 130 const char *resolution, 160 const char *resolution, 194 const char *resolution); 219 const char *resolution);
|
| H A D | lut.c | 47 const char *resolution, /* I - Resolution */ in cupsLutLoad() 61 if (!ppd || !colormodel || !media || !resolution || !ink) in cupsLutLoad() 70 if ((attr = cupsFindAttr(ppd, name, colormodel, media, resolution, spec, in cupsLutLoad() 73 resolution, spec, sizeof(spec)); in cupsLutLoad() 44 cupsLutLoad(ppd_file_t *ppd, const char *colormodel, const char *media, const char *resolution, const char *ink) cupsLutLoad() argument
|
| /third_party/cups-filters/filter/ |
| H A D | rastertoescpx.c | 139 int units; /* Units for resolution */ in StartPage() 142 char resolution[PPD_MAX_NAME], in StartPage() local 222 snprintf(resolution, sizeof(resolution), "%dx%ddpi", in StartPage() 225 snprintf(resolution, sizeof(resolution), "%ddpi", in StartPage() 241 fprintf(stderr, "DEBUG: Resolution = %s\n", resolution); in StartPage() 245 RGB = cupsRGBLoad(ppd, colormodel, header->MediaType, resolution); in StartPage() 249 CMYK = cupsCMYKLoad(ppd, colormodel, header->MediaType, resolution); in StartPage() 274 resolution, "Blac in StartPage() [all...] |
| H A D | rastertopclx.c | 122 char resolution[PPD_MAX_NAME], in StartPage() local 236 snprintf(resolution, sizeof(resolution), "%dx%ddpi", in StartPage() 239 snprintf(resolution, sizeof(resolution), "%ddpi", in StartPage() 344 fprintf(stderr, "DEBUG: Resolution = %s\n", resolution); in StartPage() 358 RGB = cupsRGBLoad(ppd, colormodel, header->MediaType, resolution); in StartPage() 360 CMYK = cupsCMYKLoad(ppd, colormodel, header->MediaType, resolution); in StartPage() 392 resolution, "Black"); in StartPage() 397 resolution, "Cya in StartPage() [all...] |
| H A D | pdftops.c | 311 char resolution[128] = ""; /* Output resolution */ local 312 int xres = 0, yres = 0, /* resolution values */ 315 /* Maximum image rendering resolution */ 801 * Set output resolution ... 806 /* Ignore error exits of cupsRasterInterpretPPD(), if it found a resolution 810 method failed to find the printing resolution */ 817 strncpy(resolution, choice->choice, sizeof(resolution)); 819 strncpy(resolution, att [all...] |
| /third_party/mesa3d/bin/pick/ |
| H A D | core.py | 44 resolution: typing.Optional[int] 120 resolution: Resolution = attr.ib(Resolution.UNRESOLVED) 128 if self.resolution is not None: 129 d['resolution'] = self.resolution.value 137 if data['resolution'] is not None: 138 c.resolution = Resolution(data['resolution']) 163 self.resolution = Resolution.MERGED 183 self.resolution [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | photocd.c | 49 int resolution; member 318 s->resolution = 0; in photocd_decode_frame() 320 s->resolution = 2; in photocd_decode_frame() 322 s->resolution = av_clip(4 - s->lowres, 0, 4); in photocd_decode_frame() 324 ret = ff_set_dimensions(avctx, img_info[s->resolution].width, img_info[s->resolution].height); in photocd_decode_frame() 336 if (s->resolution < 3) { in photocd_decode_frame() 344 bytestream2_seek(gb, img_info[s->resolution].start, SEEK_SET); in photocd_decode_frame() 370 if (s->resolution == 4) { in photocd_decode_frame() 385 if (decode_huff(avctx, p, s->resolution, in photocd_decode_frame() [all...] |
| H A D | av3a_parser.c | 79 uint8_t resolution; member 216 uint8_t resolution = 0; in read_av3a_frame_header() local 394 resolution = 8; in read_av3a_frame_header() 398 resolution = 16; in read_av3a_frame_header() 401 resolution = 24; in read_av3a_frame_header() 450 hdf->resolution = resolution; in read_av3a_frame_header()
|
| H A D | acelp_pitch_delay.c | 109 int third_as_first, int resolution) in ff_decode_pitch_lag() 120 if (resolution == 4) { in ff_decode_pitch_lag() 124 // decoding with 4-bit resolution in ff_decode_pitch_lag() 136 // decoding with 5 or 6 bit resolution, 1/3 fractional precision in ff_decode_pitch_lag() 139 if (resolution == 5) { in ff_decode_pitch_lag() 107 ff_decode_pitch_lag(int *lag_int, int *lag_frac, int pitch_index, const int prev_lag_int, const int subframe, int third_as_first, int resolution) ff_decode_pitch_lag() argument
|
| /third_party/node/lib/internal/perf/ |
| H A D | event_loop_delay.js | 72 * resolution : number 79 const { resolution = 10 } = options; 80 validateInteger(resolution, 'options.resolution', 1); 85 this[kHandle] = createELDHistogram(resolution);
|
| /third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
| H A D | esextcTextureCubeMapArraySampling.cpp | 3140 for (resolutionsVectorType::iterator resolution = m_compressed_resolutions.begin(), in iterate() 3142 end_resolution != resolution; ++resolution) in iterate() 3144 prepareDumpForTextureCompression(*resolution); in iterate() 3354 * @param resolution Texture resolution 3359 const resolutionDefinition& resolution, bool mutability) in prepareCompresedTexture() 3363 const glw::GLint array_length = resolution.m_depth / n_faces; in prepareCompresedTexture() 3364 const glw::GLint n_mipmap_levels = getMipmapLevelCount(resolution.m_width, resolution in prepareCompresedTexture() 3357 prepareCompresedTexture(const textureDefinition& texture, const formatDefinition& format, const resolutionDefinition& resolution, bool mutability) prepareCompresedTexture() argument 3445 prepareTexture(const textureDefinition& texture, const formatDefinition& texture_format, const resolutionDefinition& resolution, bool mutability) prepareTexture() argument 3662 testTexture(const formatDefinition& format, bool mutability, const resolutionDefinition& resolution, textureDefinition& texture, programCollectionForFormat& program_collection) global() argument 3897 verifyResult(const formatDefinition& format, const resolutionDefinition& resolution, const samplingFunction sampling_function, unsigned char* data) global() argument 3938 verifyResultHelper(const formatDefinition& format, const resolutionDefinition& resolution, const componentProvider& component_provider, unsigned char* data) global() argument 4007 init(const glw::Functions& gl, const formatDefinition& format, const resolutionDefinition& resolution) global() argument 5173 prepareDumpForTextureCompression(const TextureCubeMapArraySamplingTest::resolutionDefinition& resolution) global() argument [all...] |
| /third_party/node/test/js-native-api/test_promise/ |
| H A D | test_promise.c | 24 bool resolution; in concludeCurrentPromise() local 27 NODE_API_CALL(env, napi_get_value_bool(env, argv[1], &resolution)); in concludeCurrentPromise() 28 if (resolution) { in concludeCurrentPromise()
|
| /third_party/node/test/sequential/ |
| H A D | test-performance-eventloopdelay.js | 34 () => monitorEventLoopDelay({ resolution: i }), 44 () => monitorEventLoopDelay({ resolution: i }), 54 const histogram = monitorEventLoopDelay({ resolution: 1 });
|
| /third_party/typescript/tests/baselines/reference/tsc/declarationEmit/ |
| H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js | 91 Module resolution kind is not specified, using 'NodeJs'. 105 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. 109 Module resolution kind is not specified, using 'NodeJs'. 119 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts' exist - use it as a name resolution result. 123 Module resolution kind is not specified, using 'NodeJs'. 137 File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result.
|
| H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js | 93 Module resolution kind is not specified, using 'NodeJs'. 115 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts' exist - use it as a name resolution result. 119 Module resolution kind is not specified, using 'NodeJs'. 133 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. 137 Module resolution kind is not specified, using 'NodeJs'. 153 File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result.
|
| H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js | 93 Module resolution kind is not specified, using 'NodeJs'. 115 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/dist/commonjs/index.d.ts' exist - use it as a name resolution result. 119 Module resolution kind is not specified, using 'NodeJs'. 133 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. 137 Module resolution kind is not specified, using 'NodeJs'. 153 File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result.
|
| H A D | when-same-version-is-referenced-through-source-and-another-symlinked-package.js | 91 Module resolution kind is not specified, using 'NodeJs'. 105 File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result. 109 Module resolution kind is not specified, using 'NodeJs'. 119 File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts' exist - use it as a name resolution result. 123 Module resolution kind is not specified, using 'NodeJs'. 137 File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' exist - use it as a name resolution result.
|