/external/syzkaller/pkg/compiler/ |
D | check.go | 16 func (comp *compiler) typecheck() { 17 comp.checkDirectives() 18 comp.checkNames() 19 comp.checkFields() 20 comp.checkTypedefs() 21 comp.checkTypes() 24 func (comp *compiler) check() { 25 comp.checkTypeValues() 26 comp.checkAttributeValues() 27 comp.checkUnused() [all …]
|
D | compiler.go | 51 comp := &compiler{ 69 comp.typedefs[name] = n 70 comp.usedTypedefs[name] = true 73 comp.strFlags[name] = n 75 comp.typecheck() 79 if comp.errors != 0 { 83 fileConsts := comp.extractConsts() 84 if comp.errors != 0 { 89 if comp.target.SyscallNumbers { 90 comp.assignSyscallNumbers(consts) [all …]
|
D | types.go | 25 CanBeArgRet func(comp *compiler, t *ast.Type) (bool, bool) 27 Check func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) 29 CheckConsts func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) 31 Varlen func(comp *compiler, t *ast.Type, args []*ast.Type) bool 33 ZeroSize func(comp *compiler, t *ast.Type, args []*ast.Type) bool 35 Gen func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) prog.Type 45 Check func(comp *compiler, t *ast.Type) 46 CheckConsts func(comp *compiler, t *ast.Type) 62 func canBeArg(comp *compiler, t *ast.Type) (bool, bool) { return true, false } 63 func canBeArgRet(comp *compiler, t *ast.Type) (bool, bool) { return true, true } [all …]
|
D | gen.go | 16 func (comp *compiler) genResources() []*prog.ResourceDesc { 18 for name, n := range comp.resources { 19 if !comp.used[name] { 22 resources = append(resources, comp.genResource(n)) 30 func (comp *compiler) genResource(n *ast.Resource) *prog.ResourceDesc { 39 n = comp.resources[n.Base.Ident] 44 res.Type = comp.genType(base, "", prog.DirIn, false) 48 func (comp *compiler) genSyscalls() []*prog.Syscall { 50 for _, decl := range comp.desc.Nodes { 52 calls = append(calls, comp.genSyscall(n)) [all …]
|
/external/libxml2/ |
D | pattern.c | 83 if ((c)->comp->dict) \ 84 r = (xmlChar *) xmlDictLookup((c)->comp->dict, BAD_CAST nsname, -1); \ 87 #define XML_PAT_FREE_STRING(c, r) if ((c)->comp->dict == NULL) xmlFree(r); 110 xmlStreamCompPtr comp; /* the compiled stream */ member 119 static void xmlFreeStreamComp(xmlStreamCompPtr comp); 183 xmlPatternPtr comp; /* the result */ member 231 xmlFreePattern(xmlPatternPtr comp) { in xmlFreePattern() argument 235 if (comp == NULL) in xmlFreePattern() 237 if (comp->next != NULL) in xmlFreePattern() 238 xmlFreePattern(comp->next); in xmlFreePattern() [all …]
|
D | testRegexp.c | 19 static void testRegexp(xmlRegexpPtr comp, const char *value) { in testRegexp() argument 22 ret = xmlRegexpExec(comp, (const xmlChar *) value); in testRegexp() 32 xmlRegexpExec(comp, (const xmlChar *) value); in testRegexp() 38 xmlRegexpPtr comp = NULL; in testRegexpFile() local 62 if (comp != NULL) { in testRegexpFile() 63 xmlRegFreeRegexp(comp); in testRegexpFile() 64 comp = NULL; in testRegexpFile() 67 comp = xmlRegexpCompile((const xmlChar *) pattern); in testRegexpFile() 68 if (comp == NULL) { in testRegexpFile() 72 } else if (comp == NULL) { in testRegexpFile() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_conversion.h | 42 auto lambda = [&](int comp) in LoadSOA() 44 simdscalar vComp = _simd_load_ps((const float*)(pSrc + comp*sizeof(simdscalar))); in LoadSOA() 46 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; in LoadSOA() 53 auto lambda = [&](int comp) in LoadSOA() 56 simdscalar vComp = FormatTraits<SrcFormat>::loadSOA(comp, pSrc); in LoadSOA() 59 vComp = FormatTraits<SrcFormat>::unpack(comp, vComp); in LoadSOA() 62 if (FormatTraits<SrcFormat>::isNormalized(comp)) in LoadSOA() 65 vComp = _simd_mul_ps(vComp, _simd_set1_ps(FormatTraits<SrcFormat>::toFloat(comp))); in LoadSOA() 68 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; in LoadSOA() 70 pSrc += (FormatTraits<SrcFormat>::GetBPC(comp) * KNOB_SIMD_WIDTH) / 8; in LoadSOA() [all …]
|
D | backend_clear.cpp | 43 auto lambda = [&](int32_t comp) in ClearRasterTile() 45 FormatTraits<format>::storeSOA(comp, pTileBuffer, value.v[comp]); in ClearRasterTile() 47 pTileBuffer += (KNOB_SIMD_WIDTH * FormatTraits<format>::GetBPC(comp) / 8); in ClearRasterTile() 62 auto lambda = [&](int32_t comp) in ClearRasterTile() argument 64 FormatTraits<format>::storeSOA(comp, pTileBuffer, value.v[comp]); in ClearRasterTile() 66 pTileBuffer += (KNOB_SIMD16_WIDTH * FormatTraits<format>::GetBPC(comp) / 8); in ClearRasterTile() 85 for (uint32_t comp = 0; comp < FormatTraits<format>::numComps; ++comp) in ClearMacroTile() local 88 vComp = _simd16_load1_ps((const float*)&clear[comp]); in ClearMacroTile() 89 if (FormatTraits<format>::isNormalized(comp)) in ClearMacroTile() 91 vComp = _simd16_mul_ps(vComp, _simd16_set1_ps(FormatTraits<format>::fromFloat(comp))); in ClearMacroTile() [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | compressor.h | 46 static inline int compressor_init(struct compressor *comp, void **stream, in compressor_init() argument 49 if(comp->init == NULL) in compressor_init() 51 return comp->init(stream, block_size, datablock); in compressor_init() 55 static inline int compressor_compress(struct compressor *comp, void *strm, in compressor_compress() argument 58 return comp->compress(strm, dest, src, size, block_size, error); in compressor_compress() 62 static inline int compressor_uncompress(struct compressor *comp, void *dest, in compressor_uncompress() argument 65 return comp->uncompress(dest, src, size, block_size, error); in compressor_uncompress() 73 static inline int compressor_options(struct compressor *comp, char *argv[], in compressor_options() argument 76 if(comp->options == NULL) in compressor_options() 79 return comp->options(argv, argc); in compressor_options() [all …]
|
/external/libavc/test/encoder/ |
D | psnr.c | 98 WORD32 comp; in compute_psnr() local 106 for(comp = 0; comp < 3; comp++) in compute_psnr() 108 df_psnr[comp] = 0; in compute_psnr() 109 pu1_buf1 = (UWORD8 *)ps_buf1->apv_bufs[comp]; in compute_psnr() 110 pu1_buf2 = (UWORD8 *)ps_buf2->apv_bufs[comp]; in compute_psnr() 111 wd = ps_buf1->au4_wd[comp]; in compute_psnr() 112 ht = ps_buf1->au4_ht[comp]; in compute_psnr() 113 strd1 = ps_buf1->au4_strd[comp]; in compute_psnr() 114 strd2 = ps_buf2->au4_strd[comp]; in compute_psnr() 121 switch(comp) in compute_psnr() [all …]
|
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/ |
D | vid_dec.c | 57 static OMX_ERRORTYPE vid_dec_Constructor(OMX_COMPONENTTYPE *comp, OMX_STRING name); 58 static OMX_ERRORTYPE vid_dec_Destructor(OMX_COMPONENTTYPE *comp); 61 static OMX_ERRORTYPE vid_dec_MessageHandler(OMX_COMPONENTTYPE *comp, internalRequestMessageType *ms… 64 static void vid_dec_FrameDecoded(OMX_COMPONENTTYPE *comp, OMX_BUFFERHEADERTYPE* input, OMX_BUFFERHE… 66 OMX_ERRORTYPE vid_dec_LoaderComponent(stLoaderComponentType *comp) in vid_dec_LoaderComponent() argument 68 comp->componentVersion.s.nVersionMajor = 0; in vid_dec_LoaderComponent() 69 comp->componentVersion.s.nVersionMinor = 0; in vid_dec_LoaderComponent() 70 comp->componentVersion.s.nRevision = 0; in vid_dec_LoaderComponent() 71 comp->componentVersion.s.nStep = 1; in vid_dec_LoaderComponent() 72 comp->name_specific_length = 3; in vid_dec_LoaderComponent() [all …]
|
/external/python/cpython3/Lib/ |
D | nturl2path.py | 30 comp = url.split('|') 31 if len(comp) != 2 or comp[0][-1] not in string.ascii_letters: 34 drive = comp[0][-1].upper() 35 components = comp[1].split('/') 37 for comp in components: 38 if comp: 39 path = path + '\\' + urllib.parse.unquote(comp) 62 comp = p.split(':') 63 if len(comp) != 2 or len(comp[0]) > 1: 67 drive = urllib.parse.quote(comp[0].upper()) [all …]
|
/external/python/cpython2/Lib/ |
D | nturl2path.py | 25 comp = url.split('|') 26 if len(comp) != 2 or comp[0][-1] not in string.ascii_letters: 29 drive = comp[0][-1].upper() 31 components = comp[1].split('/') 32 for comp in components: 33 if comp: 34 path = path + '\\' + urllib.unquote(comp) 57 comp = p.split(':') 58 if len(comp) != 2 or len(comp[0]) > 1: 62 drive = urllib.quote(comp[0].upper()) [all …]
|
/external/deqp-deps/glslang/Test/ |
D | spv.accessChain.frag | 17 void GetColor2(const S i, int comp) 19 OutColor += i.color[comp]; 22 void GetColor3(const S i, int comp) 24 OutColor += i.color[comp].x; 27 void GetColor4(const S i, int comp) 29 OutColor += i.color[comp].x; 32 void GetColor5(const S i, int comp) 37 void GetColor6(const S i, int comp) 39 OutColor += i.color.yx[comp]; 42 void GetColor7(const S i, int comp) [all …]
|
/external/pdfium/third_party/libopenjpeg20/ |
D | image.c | 61 opj_image_comp_t *comp = &image->comps[compno]; in opj_image_create() local 62 comp->dx = cmptparms[compno].dx; in opj_image_create() 63 comp->dy = cmptparms[compno].dy; in opj_image_create() 64 comp->w = cmptparms[compno].w; in opj_image_create() 65 comp->h = cmptparms[compno].h; in opj_image_create() 66 comp->x0 = cmptparms[compno].x0; in opj_image_create() 67 comp->y0 = cmptparms[compno].y0; in opj_image_create() 68 comp->prec = cmptparms[compno].prec; in opj_image_create() 69 comp->bpp = cmptparms[compno].bpp; in opj_image_create() 70 comp->sgnd = cmptparms[compno].sgnd; in opj_image_create() [all …]
|
D | pi.c | 241 opj_pi_comp_t *comp = NULL; in opj_pi_next_lrcp() local 246 comp = &pi->comps[pi->compno]; in opj_pi_next_lrcp() 247 res = &comp->resolutions[pi->resno]; in opj_pi_next_lrcp() 257 comp = &pi->comps[pi->compno]; in opj_pi_next_lrcp() 258 if (pi->resno >= comp->numresolutions) { in opj_pi_next_lrcp() 261 res = &comp->resolutions[pi->resno]; in opj_pi_next_lrcp() 294 opj_pi_comp_t *comp = NULL; in opj_pi_next_rlcp() local 299 comp = &pi->comps[pi->compno]; in opj_pi_next_rlcp() 300 res = &comp->resolutions[pi->resno]; in opj_pi_next_rlcp() 309 comp = &pi->comps[pi->compno]; in opj_pi_next_rlcp() [all …]
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_composite.c | 218 xa_composite_check_accelerated(const struct xa_composite *comp) in xa_composite_check_accelerated() argument 221 struct xa_picture *src_pic = comp->src; in xa_composite_check_accelerated() 224 !xa_is_filter_accelerated(comp->mask)) { in xa_composite_check_accelerated() 238 if (comp->mask) in xa_composite_check_accelerated() 242 if (blend_for_op(&blend, comp->op, comp->src, comp->mask, comp->dst)) { in xa_composite_check_accelerated() 243 struct xa_picture *mask = comp->mask; in xa_composite_check_accelerated() 258 const struct xa_composite *comp) in bind_composite_blend_state() argument 263 if (!blend_for_op(&blend_opt, comp->op, comp->src, comp->mask, comp->dst)) in bind_composite_blend_state() 328 bind_shaders(struct xa_context *ctx, const struct xa_composite *comp) in bind_shaders() argument 332 struct xa_picture *src_pic = comp->src; in bind_shaders() [all …]
|
/external/clang/test/OpenMP/ |
D | teams_codegen.cpp | 19 int comp = 1; in teams_argument_global_local() local 29 ++comp; in teams_argument_global_local() 38 ++comp; in teams_argument_global_local() 49 ++comp; in teams_argument_global_local() 59 ++comp; in teams_argument_global_local() 78 ++comp; in teams_argument_global_local() 93 comp += Gblc; in teams_argument_global_local() 96 return comp; in teams_argument_global_local() 123 int comp = 1; in teams_template_arg() local 141 ++comp; in teams_template_arg() [all …]
|
/external/vulkan-validation-layers/cmake/ |
D | FindXCB.cmake | 15 foreach(comp ${XCB_FIND_COMPONENTS}) 17 string(TOUPPER ${comp} compname) 20 string(REPLACE "xcb-" "" headername xcb/${comp}.h) 22 set(libname ${comp}) 24 pkg_check_modules(PC_${comp} QUIET ${comp}) 28 ${PC_${comp}_INCLUDEDIR} 29 ${PC_${comp}_INCLUDE_DIRS} 34 ${PC_${comp}_LIBDIR} 35 ${PC_${comp}_LIBRARY_DIRS} 38 find_package_handle_standard_args(${comp} [all …]
|
/external/jdiff/src/jdiff/ |
D | MethodAPI.java | 88 int comp = name_.compareTo(oMethod.name_); in compareTo() local 89 if (comp != 0) in compareTo() 90 return comp; in compareTo() 91 comp = returnType_.compareTo(oMethod.returnType_); in compareTo() 92 if (comp != 0) in compareTo() 93 return comp; in compareTo() 107 comp = exceptions_.compareTo(oMethod.exceptions_); in compareTo() 108 if (comp != 0) in compareTo() 109 return comp; in compareTo() 110 comp = modifiers_.compareTo(oMethod.modifiers_); in compareTo() [all …]
|
D | FieldAPI.java | 72 int comp = name_.compareTo(oFieldAPI.name_); in compareTo() local 73 if (comp != 0) in compareTo() 74 return comp; in compareTo() 75 comp = type_.compareTo(oFieldAPI.type_); in compareTo() 76 if (comp != 0) in compareTo() 77 return comp; in compareTo() 87 comp = value_.compareTo(oFieldAPI.value_); in compareTo() 88 if (comp != 0) in compareTo() 89 return comp; in compareTo() 91 comp = modifiers_.compareTo(oFieldAPI.modifiers_); in compareTo() [all …]
|
D | ConstructorAPI.java | 63 int comp = compareNullIsLeast(name_, constructorAPI.name_); in compareTo() local 64 if (comp != 0) in compareTo() 65 return comp; in compareTo() 66 comp = compareNullIsLeast(getSignature(), constructorAPI.getSignature()); in compareTo() 67 if (comp != 0) in compareTo() 68 return comp; in compareTo() 69 comp = exceptions_.compareTo(constructorAPI.exceptions_); in compareTo() 70 if (comp != 0) in compareTo() 71 return comp; in compareTo() 72 comp = modifiers_.compareTo(constructorAPI.modifiers_); in compareTo() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestComparisonBuilder.java | 32 private void verifyOrdering(DiscreteComparator<String> comp, in verifyOrdering() argument 37 int compare = comp.compare(last, child); in verifyOrdering() 69 DiscreteComparator<String> comp; in dtdAttributes() local 71 comp = builder.get(); in dtdAttributes() 77 logln("Attribute Ordering:\t" + comp.getOrdering().toString()); in dtdAttributes() 84 verifyOrdering(comp, children); in dtdAttributes() 110 DiscreteComparator<String> comp = builder.get(); in TestDtdElements() local 111 logln("Element Ordering: " + comp.getOrdering().toString()); in TestDtdElements() 120 verifyOrdering(comp, children); in TestDtdElements() 124 Set<String> items = new TreeSet<String>(comp); in TestDtdElements() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | Convert.h | 238 for (UINT comp = 0; comp < FormatTraits<DstFormat>::numComps; ++comp) in ConvertPixelFromFloat() local 240 SWR_TYPE type = FormatTraits<DstFormat>::GetType(comp); in ConvertPixelFromFloat() 242 float src = srcPixel[comp]; in ConvertPixelFromFloat() 256 if (FormatTraits<DstFormat>::isSRGB && comp != 3) in ConvertPixelFromFloat() 262 UINT scale = (1 << FormatTraits<DstFormat>::GetBPC(comp)) - 1; in ConvertPixelFromFloat() 265 outColor[comp] = (UINT)src; // Drop fractional part. in ConvertPixelFromFloat() 280 UINT scale = (1 << (FormatTraits<DstFormat>::GetBPC(comp) - 1)) - 1; in ConvertPixelFromFloat() 288 outColor[comp] = *(UINT*)&out; in ConvertPixelFromFloat() 297 if (FormatTraits<DstFormat>::GetBPC(comp) == 32) in ConvertPixelFromFloat() 299 outColor[comp] = *(UINT*)&src; in ConvertPixelFromFloat() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | r300_fragprog_swizzle.c | 74 int i, comp; in lookup_native_swizzle() local 78 for(comp = 0; comp < 3; ++comp) { in lookup_native_swizzle() 79 unsigned int swz = GET_SWZ(swizzle, comp); in lookup_native_swizzle() 82 if (swz != GET_SWZ(sd->hash, comp)) in lookup_native_swizzle() 85 if (comp == 3) in lookup_native_swizzle() 159 int i, comp; in r300_swizzle_split() local 165 for(comp = 0; comp < 3; ++comp) { in r300_swizzle_split() 167 if (!GET_BIT(mask, comp)) in r300_swizzle_split() 169 swz = GET_SWZ(src.Swizzle, comp); in r300_swizzle_split() 172 if (swz == GET_SWZ(sd->hash, comp)) { in r300_swizzle_split() [all …]
|