Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 1198) sorted by relevance

12345678910>>...48

/external/v8/test/mjsunit/
Dobject-define-property.js131 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 …]
Dobject-seal.js59 var desc = Object.getOwnPropertyDescriptor(obj, 'x');
60 assertTrue(desc.writable);
61 assertTrue(desc.configurable);
62 assertEquals(42, desc.value);
64 desc = Object.getOwnPropertyDescriptor(obj, 'z');
65 assertTrue(desc.writable);
66 assertTrue(desc.configurable);
67 assertEquals('foobar', desc.value);
86 desc = Object.getOwnPropertyDescriptor(obj, 'x');
87 assertTrue(desc.writable);
[all …]
Dobject-freeze.js59 var desc = Object.getOwnPropertyDescriptor(obj, 'x');
60 assertTrue(desc.writable);
61 assertTrue(desc.configurable);
62 assertEquals(42, desc.value);
64 desc = Object.getOwnPropertyDescriptor(obj, 'z');
65 assertTrue(desc.writable);
66 assertTrue(desc.configurable);
67 assertEquals('foobar', desc.value);
81 desc = Object.getOwnPropertyDescriptor(obj, 'x');
82 assertFalse(desc.writable);
[all …]
/external/javassist/src/main/javassist/bytecode/
DDescriptor.java157 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/icu/icu4c/source/data/misc/
DnumberingSystems.txt13 desc{"٠١٢٣٤٥٦٧٨٩"}
18 desc{"۰۱۲۳۴۵۶۷۸۹"}
23 desc{"%armenian-upper"}
28 desc{"%armenian-lower"}
33 desc{"᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙"}
38 desc{"০১২৩৪৫৬৭৮৯"}
43 desc{"꩐꩑꩒꩓꩔꩕꩖꩗꩘꩙"}
48 desc{"०१२३४५६७८९"}
53 desc{"%ethiopic"}
58 desc{"0123456789"}
[all …]
/external/kernel-headers/original/uapi/linux/usb/
Daudio.h257 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/mesa3d/src/gallium/auxiliary/util/
Du_format.h399 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 …]
Du_format.c47 const struct util_format_description *desc = util_format_description(format); in util_format_is_float() local
50 assert(desc); in util_format_is_float()
51 if (!desc) { in util_format_is_float()
60 return desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT ? TRUE : FALSE; in util_format_is_float()
70 nr_logical_channels(const struct util_format_description *desc) in nr_logical_channels() argument
76 swizzle_used[desc->swizzle[0]] = TRUE; in nr_logical_channels()
77 swizzle_used[desc->swizzle[1]] = TRUE; in nr_logical_channels()
78 swizzle_used[desc->swizzle[2]] = TRUE; in nr_logical_channels()
79 swizzle_used[desc->swizzle[3]] = TRUE; in nr_logical_channels()
92 const struct util_format_description *desc = in util_format_is_rgb_no_alpha() local
[all …]
/external/v8/src/
Dv8natives.js267 var desc = GetOwnPropertyJS(this, P);
268 return IS_UNDEFINED(desc) ? false : desc.isEnumerable();
284 var desc = new PropertyDescriptor();
285 desc.setGet(fun);
286 desc.setEnumerable(true);
287 desc.setConfigurable(true);
288 DefineOwnProperty(ToObject(receiver), ToName(name), desc, false);
310 var desc = new PropertyDescriptor();
311 desc.setSet(fun);
312 desc.setEnumerable(true);
[all …]
Dproxy.js86 var desc = this.getPropertyDescriptor(name)
87 if (IS_UNDEFINED(desc)) { return desc }
88 if ('value' in desc) {
89 return desc.value
91 if (IS_UNDEFINED(desc.get)) { return desc.get }
93 return %_CallFunction(receiver, desc.get)
98 var desc = this.getOwnPropertyDescriptor(name)
99 if (desc) {
100 if ('writable' in desc) {
101 if (desc.writable) {
[all …]
/external/v8/test/mjsunit/bugs/
Dbug-2615.js46 var desc = Object.getOwnPropertyDescriptor(a, "1");
47 assertEquals(false, desc.writable);
48 assertEquals(false, desc.configurable);
55 desc = Object.getOwnPropertyDescriptor(a, "1");
56 assertEquals(false, desc.configurable);
57 assertEquals(g, desc.get);
66 desc = Object.getOwnPropertyDescriptor(a, "1");
67 assertEquals(false, desc.configurable);
68 assertEquals(s, desc.set);
74 desc = Object.getOwnPropertyDescriptor(a, "1");
[all …]
/external/linux-tools-perf/src/tools/perf/tests/
Dbuiltin-test.c15 const char *desc; member
19 .desc = "vmlinux symtab matches kallsyms",
23 .desc = "detect open syscall event",
27 .desc = "detect open syscall event on all cpus",
31 .desc = "read samples using the mmap interface",
35 .desc = "parse events tests",
40 .desc = "x86 rdpmc test",
45 .desc = "Validate PERF_RECORD_* events & perf_sample fields",
49 .desc = "Test perf pmu format parsing",
53 .desc = "Test dso data interface",
[all …]
/external/v8/test/mjsunit/regress/
Dregress-2606.js29 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 …]
Dregress-687.js35 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/skia/src/gpu/
DGrTextureProvider.cpp20 GrTexture* GrTextureProvider::createTexture(const GrSurfaceDesc& desc, bool budgeted, in createTexture() argument
25 if ((desc.fFlags & kRenderTarget_GrSurfaceFlag) && in createTexture()
26 !fGpu->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in createTexture()
29 if (!GrPixelConfigIsCompressed(desc.fConfig)) { in createTexture()
32 if (GrTexture* texture = this->internalRefScratchTexture(desc, kFlags)) { in createTexture()
33 if (!srcData || texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in createTexture()
43 return fGpu->createTexture(desc, budgeted, srcData, rowBytes); in createTexture()
46 GrTexture* GrTextureProvider::refScratchTexture(const GrSurfaceDesc& desc, ScratchTexMatch match, in refScratchTexture() argument
52 if (GrPixelConfigIsCompressed(desc.fConfig)) { in refScratchTexture()
62 return this->internalRefScratchTexture(desc, flags); in refScratchTexture()
[all …]
DGrTexture.cpp66 GrSurfaceOrigin resolve_origin(const GrSurfaceDesc& desc) { in resolve_origin() argument
70 bool renderTarget = 0 != (desc.fFlags & kRenderTarget_GrSurfaceFlag); in resolve_origin()
71 if (kDefault_GrSurfaceOrigin == desc.fOrigin) { in resolve_origin()
74 return desc.fOrigin; in resolve_origin()
80 GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) in GrTexture() argument
81 : INHERITED(gpu, lifeCycle, desc) in GrTexture()
84 if (kWrapped_LifeCycle != lifeCycle && !GrPixelConfigIsCompressed(desc.fConfig)) { in GrTexture()
86 GrTexturePriv::ComputeScratchKey(desc, &key); in GrTexture()
94 void GrTexturePriv::ComputeScratchKey(const GrSurfaceDesc& desc, GrScratchKey* key) { in ComputeScratchKey() argument
99 GrSurfaceOrigin origin = resolve_origin(desc); in ComputeScratchKey()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_objects.h139 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 …]
Dd3d11_screen.h214 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()
902desc->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/javassist/src/main/javassist/runtime/
DDesc.java66 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/llvm/include/llvm/CodeGen/
DCommandFlags.h28 MArch("march", cl::desc("Architecture to generate code for (see --version)"));
32 cl::desc("Target a specific cpu type (-mcpu=help for details)"),
39 cl::desc("Target specific attributes (-mattr=help for details)"),
44 cl::desc("Choose relocation model"),
59 cl::desc("Choose threading model"),
69 cl::desc("Choose code model"),
85 cl::desc("Choose a file type (not all types are supported by all targets):"),
97 cl::desc("Enable less precise MAD instructions to be generated"),
102 cl::desc("Disable frame pointer elimination optimization"),
107 cl::desc("Enable optimizations that may decrease FP precision"),
[all …]
/external/lldb/scripts/Python/
Dpython-extensions.swig6 const char *desc = description.GetData();
8 if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r'))
11 return PyString_FromStringAndSize (desc, desc_len);
20 const char *desc = description.GetData();
22 if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r'))
25 return PyString_FromStringAndSize (desc, desc_len);
34 const char *desc = description.GetData();
36 if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r'))
39 return PyString_FromStringAndSize (desc, desc_len);
63 const char *desc = description.GetData();
[all …]
/external/strace/
Dldt.c10 struct user_desc desc; in print_user_desc() local
12 if (umove(tcp, addr, &desc) < 0) { in print_user_desc()
18 tprintf("{entry_number:%d, ...}", desc.entry_number); in print_user_desc()
31 desc.entry_number, in print_user_desc()
32 desc.base_addr, in print_user_desc()
33 desc.limit, in print_user_desc()
34 desc.seg_32bit, in print_user_desc()
35 desc.contents, in print_user_desc()
36 desc.read_exec_only, in print_user_desc()
37 desc.limit_in_pages, in print_user_desc()
[all …]
/external/kernel-headers/original/uapi/linux/
Dmic_common.h102 struct mic_device_desc desc[0]; member
174 static inline unsigned mic_desc_size(const struct mic_device_desc *desc) in mic_desc_size() argument
176 return sizeof(*desc) + desc->num_vq * sizeof(struct mic_vqconfig) in mic_desc_size()
177 + desc->feature_len * 2 + desc->config_len; in mic_desc_size()
181 mic_vq_config(const struct mic_device_desc *desc) in mic_vq_config() argument
183 return (struct mic_vqconfig *)(desc + 1); in mic_vq_config()
186 static inline __u8 *mic_vq_features(const struct mic_device_desc *desc) in mic_vq_features() argument
188 return (__u8 *)(mic_vq_config(desc) + desc->num_vq); in mic_vq_features()
191 static inline __u8 *mic_vq_configspace(const struct mic_device_desc *desc) in mic_vq_configspace() argument
193 return mic_vq_features(desc) + desc->feature_len * 2; in mic_vq_configspace()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
DIDNATestInput.txt2 desc: Copyright 2003-2005 http://idnconnect.jdna.jp/testbed.html
13 desc: 1-1-1 Has one IDN
24 desc: 1-1-2 Has two IDNs
35 desc: 1-2-1 Latin-1
46 desc: 1-2-2 Latin Extended A
57 desc: 1-2-3 Latin Extended B
68 desc: 1-2-4 Latin Extended Additional
79 desc: 1-3-1 Han
90 desc: 1-3-2 Hiragana
101 desc: 1-3-3 Katakana
[all …]
/external/icu/icu4c/source/test/testdata/
Didna_conf.txt2 desc: Copyright 2003-2005 http://idnconnect.jdna.jp/testbed.html
13 desc: 1-1-1 Has one IDN
24 desc: 1-1-2 Has two IDNs
35 desc: 1-2-1 Latin-1
46 desc: 1-2-2 Latin Extended A
57 desc: 1-2-3 Latin Extended B
68 desc: 1-2-4 Latin Extended Additional
79 desc: 1-3-1 Han
90 desc: 1-3-2 Hiragana
101 desc: 1-3-3 Katakana
[all …]

12345678910>>...48