/external/v8/test/mjsunit/ |
D | object-define-property.js | 131 var desc = Object.getOwnPropertyDescriptor(obj1, "foo"); 132 assertFalse(desc.configurable); 133 assertFalse(desc.enumerable); 134 assertFalse(desc.writable); 135 assertEquals(desc.get, undefined); 136 assertEquals(desc.set, undefined); 137 assertEquals(desc.value, undefined); 142 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 143 assertEquals(desc, undefined); 156 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); [all …]
|
D | object-freeze.js | 46 var desc = Object.getOwnPropertyDescriptor(obj, 'x'); 47 assertTrue(desc.writable); 48 assertTrue(desc.configurable); 49 assertEquals(42, desc.value); 51 desc = Object.getOwnPropertyDescriptor(obj, 'z'); 52 assertTrue(desc.writable); 53 assertTrue(desc.configurable); 54 assertEquals('foobar', desc.value); 68 desc = Object.getOwnPropertyDescriptor(obj, 'x'); 69 assertFalse(desc.writable); [all …]
|
D | object-seal.js | 46 var desc = Object.getOwnPropertyDescriptor(obj, 'x'); 47 assertTrue(desc.writable); 48 assertTrue(desc.configurable); 49 assertEquals(42, desc.value); 51 desc = Object.getOwnPropertyDescriptor(obj, 'z'); 52 assertTrue(desc.writable); 53 assertTrue(desc.configurable); 54 assertEquals('foobar', desc.value); 73 desc = Object.getOwnPropertyDescriptor(obj, 'x'); 74 assertTrue(desc.writable); [all …]
|
D | accessors-no-prototype.js | 10 var desc = Object.getOwnPropertyDescriptor(o, 'x'); 11 assertEquals('function', typeof desc.get); 12 assertFalse('prototype' in desc.get); 15 new desc.get(); 24 var desc = Object.getOwnPropertyDescriptor(o, 'x'); 25 assertEquals('function', typeof desc.set); 26 assertFalse('prototype' in desc.set); 29 new desc.set(); 39 var desc = Object.getOwnPropertyDescriptor(o, 'x'); 40 assertEquals('function', typeof desc.get); [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | reflect-define-property.js | 129 var desc = Object.getOwnPropertyDescriptor(obj1, "foo"); 130 assertFalse(desc.configurable); 131 assertFalse(desc.enumerable); 132 assertFalse(desc.writable); 133 assertEquals(desc.get, undefined); 134 assertEquals(desc.set, undefined); 135 assertEquals(desc.value, undefined); 140 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 141 assertEquals(desc, undefined); 150 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); [all …]
|
/external/icu/icu4c/source/data/misc/ |
D | numberingSystems.txt | 13 desc{""} 18 desc{"٠١٢٣٤٥٦٧٨٩"} 23 desc{"۰۱۲۳۴۵۶۷۸۹"} 28 desc{"%armenian-upper"} 33 desc{"%armenian-lower"} 38 desc{"᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙"} 43 desc{"০১২৩৪৫৬৭৮৯"} 48 desc{""} 53 desc{""} 58 desc{"꩐꩑꩒꩓꩔꩕꩖꩗꩘꩙"} [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | Descriptor.java | 157 public static String rename(String desc, String oldname, String newname) { in rename() argument 158 if (desc.indexOf(oldname) < 0) in rename() 159 return desc; in rename() 165 int j = desc.indexOf('L', i); in rename() 168 else if (desc.startsWith(oldname, j + 1) in rename() 169 && desc.charAt(j + oldname.length() + 1) == ';') { in rename() 170 newdesc.append(desc.substring(head, j)); in rename() 177 i = desc.indexOf(';', j) + 1; in rename() 184 return desc; in rename() 186 int len = desc.length(); in rename() [all …]
|
/external/kernel-headers/original/uapi/linux/usb/ |
D | audio.h | 257 static inline __u8 uac_mixer_unit_bNrChannels(struct uac_mixer_unit_descriptor *desc) in uac_mixer_unit_bNrChannels() argument 259 return desc->baSourceID[desc->bNrInPins]; in uac_mixer_unit_bNrChannels() 262 static inline __u32 uac_mixer_unit_wChannelConfig(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_wChannelConfig() argument 266 return (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig() 267 desc->baSourceID[desc->bNrInPins + 1]; in uac_mixer_unit_wChannelConfig() 269 return (desc->baSourceID[desc->bNrInPins + 4] << 24) | in uac_mixer_unit_wChannelConfig() 270 (desc->baSourceID[desc->bNrInPins + 3] << 16) | in uac_mixer_unit_wChannelConfig() 271 (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig() 272 (desc->baSourceID[desc->bNrInPins + 1]); in uac_mixer_unit_wChannelConfig() 275 static inline __u8 uac_mixer_unit_iChannelNames(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_iChannelNames() argument [all …]
|
/external/v8/src/js/ |
D | v8natives.js | 171 var desc = new PropertyDescriptor(); 172 desc.setGet(fun); 173 desc.setEnumerable(true); 174 desc.setConfigurable(true); 175 DefineOwnProperty(TO_OBJECT(receiver), TO_NAME(name), desc, false); 196 var desc = new PropertyDescriptor(); 197 desc.setSet(fun); 198 desc.setEnumerable(true); 199 desc.setConfigurable(true); 200 DefineOwnProperty(TO_OBJECT(receiver), TO_NAME(name), desc, false); [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format.h | 399 const struct util_format_description *desc = util_format_description(format); in util_format_name() local 401 assert(desc); in util_format_name() 402 if (!desc) { in util_format_name() 406 return desc->name; in util_format_name() 412 const struct util_format_description *desc = util_format_description(format); in util_format_short_name() local 414 assert(desc); in util_format_short_name() 415 if (!desc) { in util_format_short_name() 419 return desc->short_name; in util_format_short_name() 428 const struct util_format_description *desc = util_format_description(format); in util_format_is_plain() local 434 return desc->layout == UTIL_FORMAT_LAYOUT_PLAIN ? TRUE : FALSE; in util_format_is_plain() [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-2615.js | 32 var desc = Object.getOwnPropertyDescriptor(a, "1"); 33 assertEquals(false, desc.writable); 34 assertEquals(false, desc.configurable); 41 desc = Object.getOwnPropertyDescriptor(a, "1"); 42 assertEquals(false, desc.configurable); 43 assertEquals(g, desc.get); 52 desc = Object.getOwnPropertyDescriptor(a, "1"); 53 assertEquals(false, desc.configurable); 54 assertEquals(s, desc.set); 60 desc = Object.getOwnPropertyDescriptor(a, "1"); [all …]
|
D | regress-2606.js | 29 var desc = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__"); 30 assertFalse(desc.enumerable); 31 assertTrue(desc.configurable); 32 assertEquals("function", typeof desc.get); 33 assertEquals("function", typeof desc.set); 38 desc = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__"); 39 assertFalse(desc.enumerable); 40 assertTrue(desc.configurable); 41 assertSame(replaced_get, desc.get); 46 desc = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__"); [all …]
|
D | regress-687.js | 35 var desc = Object.getOwnPropertyDescriptor(obj, "value"); 37 assertTrue(desc.configurable); 38 assertTrue(desc.enumerable); 39 assertTrue(desc.writable); 40 assertEquals(desc.get, undefined); 41 assertEquals(desc.set, undefined); 59 desc = Object.getOwnPropertyDescriptor(obj1, "p"); 60 assertFalse(desc.configurable); 61 assertFalse(desc.enumerable); 62 assertEquals(desc.value, undefined); [all …]
|
/external/v8/src/ |
D | property-descriptor.cc | 41 PropertyDescriptor* desc) { in ToPropertyDescriptorFastPath() argument 78 desc->set_enumerable(value->BooleanValue()); in ToPropertyDescriptorFastPath() 80 desc->set_configurable(value->BooleanValue()); in ToPropertyDescriptorFastPath() 82 desc->set_value(value); in ToPropertyDescriptorFastPath() 84 desc->set_writable(value->BooleanValue()); in ToPropertyDescriptorFastPath() 88 desc->set_get(value); in ToPropertyDescriptorFastPath() 92 desc->set_set(value); in ToPropertyDescriptorFastPath() 95 if ((desc->has_get() || desc->has_set()) && in ToPropertyDescriptorFastPath() 96 (desc->has_value() || desc->has_writable())) { in ToPropertyDescriptorFastPath() 148 PropertyDescriptor* desc) { in ToPropertyDescriptor() argument [all …]
|
/external/skia/src/gpu/ |
D | GrTextureProvider.cpp | 32 GrTexture* GrTextureProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() argument 38 if ((desc.fFlags & kRenderTarget_GrSurfaceFlag) && in createTexture() 39 !fGpu->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in createTexture() 42 if (!GrPixelConfigIsCompressed(desc.fConfig) && in createTexture() 43 !desc.fTextureStorageAllocator.fAllocateTextureStorage) { in createTexture() 46 if (GrTexture* texture = this->refScratchTexture(desc, kFlags)) { in createTexture() 47 if (!srcData || texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in createTexture() 57 return fGpu->createTexture(desc, budgeted, srcData, rowBytes); in createTexture() 60 GrTexture* GrTextureProvider::createApproxTexture(const GrSurfaceDesc& desc) { in createApproxTexture() argument 62 return this->internalCreateApproxTexture(desc, 0); in createApproxTexture() [all …]
|
D | GrGpu.cpp | 93 GrSurfaceDesc desc = origDesc; in createTexture() local 95 if (!this->caps()->isConfigTexturable(desc.fConfig)) { in createTexture() 99 bool isRT = SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag); in createTexture() 100 if (isRT && !this->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in createTexture() 105 if (!isRT && desc.fSampleCnt > 0) { in createTexture() 113 if (desc.fWidth > maxRTSize || desc.fHeight > maxRTSize) { in createTexture() 118 if (desc.fWidth > maxSize || desc.fHeight > maxSize) { in createTexture() 127 desc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount()); in createTexture() 129 SkASSERT(desc.fSampleCnt >= 0 && desc.fSampleCnt <= 64); in createTexture() 131 desc.fOrigin = resolve_origin(desc.fOrigin, isRT); in createTexture() [all …]
|
D | GrTexture.cpp | 70 GrSurfaceOrigin resolve_origin(const GrSurfaceDesc& desc) { in resolve_origin() argument 74 bool renderTarget = 0 != (desc.fFlags & kRenderTarget_GrSurfaceFlag); in resolve_origin() 75 if (kDefault_GrSurfaceOrigin == desc.fOrigin) { in resolve_origin() 78 return desc.fOrigin; in resolve_origin() 84 GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrTexture() argument 85 : INHERITED(gpu, lifeCycle, desc) in GrTexture() 88 if (!this->isExternal() && !GrPixelConfigIsCompressed(desc.fConfig) && in GrTexture() 89 !desc.fTextureStorageAllocator.fAllocateTextureStorage) { in GrTexture() 91 GrTexturePriv::ComputeScratchKey(desc, &key); in GrTexture() 96 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) { in ComputeScratchKey() argument [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 49 cl::desc("<input object files>"), 54 cl::desc("Display file headers ")); 56 cl::desc("Alias for --file-headers"), 61 cl::desc("Display all sections.")); 63 cl::desc("Alias for --sections"), 68 cl::desc("Display relocations for each section shown.")); 70 cl::desc("Alias for --section-relocations"), 75 cl::desc("Display symbols for each section shown.")); 77 cl::desc("Alias for --section-symbols"), 82 cl::desc("Display section data for each section shown.")); [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_objects.h | 139 Desc desc; member 140 GalliumD3D11DescribedObject(GalliumD3D11Screen* device, Object* object, const Desc& desc) in GalliumD3D11DescribedObject() 141 : GalliumD3D11Object<Base, Object>(device, object), desc(desc) in GalliumD3D11DescribedObject() 146 memcpy(out_desc, &desc, sizeof(desc)); in GetDesc() 164 D3D10_BLEND_DESC desc; in convert_to_d3d10() local 165 desc.AlphaToCoverageEnable = desc1.AlphaToCoverageEnable; in convert_to_d3d10() 166 desc.SrcBlend = desc1.RenderTarget[0].SrcBlend; in convert_to_d3d10() 167 desc.DestBlend = desc1.RenderTarget[0].DestBlend; in convert_to_d3d10() 168 desc.BlendOp = desc1.RenderTarget[0].BlendOp; in convert_to_d3d10() 169 desc.SrcBlendAlpha = desc1.RenderTarget[0].SrcBlendAlpha; in convert_to_d3d10() [all …]
|
D | d3d11_screen.h | 214 const D3D11_COUNTER_DESC *desc, in CheckCounter() 876 const D3D11_TEXTURE1D_DESC *desc, in CreateTexture1D() 883 DXGI_USAGE dxgi_usage = d3d_to_dxgi_usage(desc->BindFlags, desc->MiscFlags); in CreateTexture1D() 884 …_TEXTURE_1D, desc->Width, 1, 1, desc->MipLevels, desc->ArraySize, desc->Format, 0, desc->Usage, de… in CreateTexture1D() 887 D3D11_TEXTURE1D_DESC cdesc = *desc; in CreateTexture1D() 894 const D3D11_TEXTURE2D_DESC *desc, in CreateTexture2D() 901 DXGI_USAGE dxgi_usage = d3d_to_dxgi_usage(desc->BindFlags, desc->MiscFlags); in CreateTexture2D() 902 …desc->Width, desc->Height, 1, desc->MipLevels, desc->ArraySize, desc->Format, &desc->SampleDesc, d… in CreateTexture2D() 905 D3D11_TEXTURE2D_DESC cdesc = *desc; in CreateTexture2D() 915 const D3D11_TEXTURE3D_DESC *desc, in CreateTexture3D() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkRenderTarget.cpp | 23 const GrSurfaceDesc& desc, in GrVkRenderTarget() argument 29 : GrSurface(gpu, lifeCycle, desc) in GrVkRenderTarget() 32 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget() 38 SkASSERT(desc.fSampleCnt); in GrVkRenderTarget() 40 fColorValuesPerPixel = desc.fSampleCnt + 1; // TODO: this still correct? in GrVkRenderTarget() 49 const GrSurfaceDesc& desc, in GrVkRenderTarget() argument 56 : GrSurface(gpu, lifeCycle, desc) in GrVkRenderTarget() 59 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget() 65 SkASSERT(desc.fSampleCnt); in GrVkRenderTarget() 67 fColorValuesPerPixel = desc.fSampleCnt + 1; // TODO: this still correct? in GrVkRenderTarget() [all …]
|
/external/webrtc/webrtc/p2p/base/ |
D | transportdescriptionfactory.cc | 28 rtc::scoped_ptr<TransportDescription> desc(new TransportDescription()); in CreateOffer() local 32 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in CreateOffer() 33 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH); in CreateOffer() 35 desc->ice_ufrag = current_description->ice_ufrag; in CreateOffer() 36 desc->ice_pwd = current_description->ice_pwd; in CreateOffer() 43 if (!SetSecurityInfo(desc.get(), CONNECTIONROLE_ACTPASS)) { in CreateOffer() 48 return desc.release(); in CreateOffer() 62 rtc::scoped_ptr<TransportDescription> desc(new TransportDescription()); in CreateAnswer() local 66 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in CreateAnswer() 67 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH); in CreateAnswer() [all …]
|
D | transportdescriptionfactory_unittest.cc | 34 void CheckDesc(const TransportDescription* desc, in CheckDesc() argument 37 ASSERT_TRUE(desc != NULL); in CheckDesc() 38 EXPECT_EQ(!opt.empty(), desc->HasOption(opt)); in CheckDesc() 41 desc->ice_ufrag.size()); in CheckDesc() 43 desc->ice_pwd.size()); in CheckDesc() 45 EXPECT_EQ(ice_ufrag, desc->ice_ufrag); in CheckDesc() 46 EXPECT_EQ(ice_pwd, desc->ice_pwd); in CheckDesc() 49 EXPECT_TRUE(desc->identity_fingerprint.get() == NULL); in CheckDesc() 51 ASSERT_TRUE(desc->identity_fingerprint.get() != NULL); in CheckDesc() 52 EXPECT_EQ(desc->identity_fingerprint->algorithm, dtls_alg); in CheckDesc() [all …]
|
/external/javassist/src/main/javassist/runtime/ |
D | Desc.java | 66 public static Class[] getParams(String desc) { in getParams() argument 67 if (desc.charAt(0) != '(') in getParams() 70 return getType(desc, desc.length(), 1, 0); in getParams() 77 public static Class getType(String desc) { in getType() argument 78 Class[] result = getType(desc, desc.length(), 0, 0); in getType() 85 private static Class[] getType(String desc, int descLen, in getType() argument 91 char c = desc.charAt(start); in getType() 122 return getClassType(desc, descLen, start, num); in getType() 127 Class[] result = getType(desc, descLen, start + 1, num + 1); in getType() 132 private static Class[] getClassType(String desc, int descLen, in getClassType() argument [all …]
|
/external/skia/tests/ |
D | ReadWriteAlphaTest.cpp | 42 GrSurfaceDesc desc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 44 desc.fFlags = rt ? kRenderTarget_GrSurfaceFlag : kNone_GrSurfaceFlags; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 46 desc.fConfig = kAlpha_8_GrPixelConfig; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 47 desc.fWidth = X_SIZE; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 48 desc.fHeight = Y_SIZE; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 53 context->textureProvider()->createTexture(desc, SkBudgeted::kNo , alphaData, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 70 texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 79 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 104 texture->readPixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, readback.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 139 GrSurfaceDesc desc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local [all …]
|