/external/expat/tests/ |
D | chardata.c | 35 CharData_Init(CharData *storage) in CharData_Init() argument 37 assert(storage != NULL); in CharData_Init() 38 storage->count = -1; in CharData_Init() 42 CharData_AppendString(CharData *storage, const char *s) in CharData_AppendString() argument 44 int maxchars = sizeof(storage->data) / sizeof(storage->data[0]); in CharData_AppendString() 49 if (storage->count < 0) in CharData_AppendString() 50 storage->count = 0; in CharData_AppendString() 51 if ((len + storage->count) > maxchars) { in CharData_AppendString() 52 len = (maxchars - storage->count); in CharData_AppendString() 54 if (len + storage->count < sizeof(storage->data)) { in CharData_AppendString() [all …]
|
D | runtests.c | 216 CharData *storage = (CharData *)userData; in accumulate_attribute() local 217 if (storage->count < 0 && atts != NULL && atts[0] != NULL) { in accumulate_attribute() 219 CharData_AppendXMLChars(storage, atts[1], -1); in accumulate_attribute() 228 CharData storage; in _run_character_check() local 230 CharData_Init(&storage); in _run_character_check() 231 XML_SetUserData(parser, &storage); in _run_character_check() 235 CharData_CheckXMLChars(&storage, expected); in _run_character_check() 245 CharData storage; in _run_attribute_check() local 247 CharData_Init(&storage); in _run_attribute_check() 248 XML_SetUserData(parser, &storage); in _run_attribute_check() [all …]
|
D | chardata.h | 25 void CharData_Init(CharData *storage); 27 void CharData_AppendString(CharData *storage, const char *s); 29 void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len); 31 int CharData_CheckString(CharData *storage, const char *s); 33 int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
|
/external/mesa3d/src/glsl/ |
D | link_uniform_initializers.cpp | 38 get_storage(gl_uniform_storage *storage, unsigned num_storage, in get_storage() argument 42 if (strcmp(name, storage[i].name) == 0) in get_storage() 43 return &storage[i]; in get_storage() 50 copy_constant_to_storage(union gl_constant_value *storage, in copy_constant_to_storage() argument 58 storage[i].u = val->value.u[i]; in copy_constant_to_storage() 62 storage[i].i = val->value.i[i]; in copy_constant_to_storage() 65 storage[i].f = val->value.f[i]; in copy_constant_to_storage() 68 storage[i].b = int(val->value.b[i]); in copy_constant_to_storage() 111 struct gl_uniform_storage *const storage = in set_uniform_initializer() local 115 if (storage == NULL) { in set_uniform_initializer() [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
D | org.eclipse.equinox.security_1.0.200.v20100503.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF ... |
/external/mesa3d/src/glsl/tests/ |
D | copy_constant_to_storage_tests.cpp | 32 copy_constant_to_storage(union gl_constant_value *storage, 49 gl_constant_value storage[17]; member in copy_constant_to_storage 72 const unsigned red_zone_size = Elements(storage) - val->type->components(); in int_test() 73 fill_storage_array_with_sentinels(storage, in int_test() 77 linker::copy_constant_to_storage(storage, in int_test() 82 verify_data(storage, 0, val, red_zone_size); in int_test() 91 const unsigned red_zone_size = Elements(storage) - val->type->components(); in uint_test() 92 fill_storage_array_with_sentinels(storage, in uint_test() 96 linker::copy_constant_to_storage(storage, in uint_test() 101 verify_data(storage, 0, val, red_zone_size); in uint_test() [all …]
|
D | uniform_initializer_utils.cpp | 31 fill_storage_array_with_sentinels(gl_constant_value *storage, in fill_storage_array_with_sentinels() argument 36 storage[i].u = 0xDEADBEEF; in fill_storage_array_with_sentinels() 39 storage[data_size + i].u = 0xBADDC0DE; in fill_storage_array_with_sentinels() 46 red_zone_is_intact(gl_constant_value *storage, in red_zone_is_intact() argument 53 if (storage[idx].u != 0xBADDC0DE) in red_zone_is_intact() 55 << "storage[" << idx << "].u = " << storage[idx].u in red_zone_is_intact() 185 verify_data(gl_constant_value *storage, unsigned storage_array_size, in verify_data() argument 192 verify_data(storage + (i * element_type->components()), 0, in verify_data() 199 EXPECT_TRUE(red_zone_is_intact(storage, in verify_data() 210 EXPECT_EQ(val->value.i[i], storage[i].i); in verify_data() [all …]
|
/external/v8/src/base/ |
D | lazy-instance.h | 102 static T* MutableInstance(StorageType* storage) { in MutableInstance() 103 return reinterpret_cast<T*>(storage); in MutableInstance() 107 static void InitStorageUsingTrait(StorageType* storage) { in InitStorageUsingTrait() 108 ConstructTrait::Construct(MutableInstance(storage)); in InitStorageUsingTrait() 117 static T* MutableInstance(StorageType* storage) { in MutableInstance() 118 return *storage; in MutableInstance() 122 static void InitStorageUsingTrait(StorageType* storage) { in InitStorageUsingTrait() 123 *storage = CreateTrait::Create(); in InitStorageUsingTrait() 147 static void Init(OnceType* once, Function function, Storage storage) { in Init() 148 CallOnce(once, function, storage); in Init() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinition.cpp | 273 …if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && isIllegalVertexInput(m_defaultB… in isValid() 275 …if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT && isIllegalVertexOutput(m_defaul… in isValid() 277 …if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT && m_defaultBlock.variables[varNd… in isValid() 282 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_IN || in isValid() 283 m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_PATCH_IN || in isValid() 284 m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_PATCH_OUT) in isValid() 294 …if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && isIllegalFragmentInput(m_defaul… in isValid() 296 …if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && m_defaultBlock.variables[varNdx… in isValid() 298 …if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT && isIllegalFragmentOutput(m_defa… in isValid() 303 if (m_defaultBlock.interfaceBlocks[interfaceNdx].storage == glu::STORAGE_PATCH_IN || in isValid() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 63 VariableSearchFilter VariableSearchFilter::createStorageFilter (glu::Storage storage) in createStorageFilter() argument 65 DE_ASSERT(storage < glu::STORAGE_LAST); in createStorageFilter() 68 filter.m_storageBits = (1u << storage); in createStorageFilter() 72 …er VariableSearchFilter::createShaderTypeStorageFilter (glu::ShaderType type, glu::Storage storage) in createShaderTypeStorageFilter() argument 74 return logicalAnd(createShaderTypeFilter(type), createStorageFilter(storage)); in createShaderTypeStorageFilter() 101 DE_ASSERT(variable.storage < glu::STORAGE_LAST); in matchesFilter() 102 return (m_storageBits & (1u << variable.storage)) != 0; in matchesFilter() 107 DE_ASSERT(block.storage < glu::STORAGE_LAST); in matchesFilter() 108 return (m_storageBits & (1u << block.storage)) != 0; in matchesFilter() 143 const glu::Storage storage = shader->getDefaultBlock().interfaceBlocks[ndx].storage; in shaderContainsIOBlocks() local [all …]
|
/external/opencv/cxcore/src/ |
D | cxdatastructs.cpp | 43 #define ICV_FREE_PTR(storage) \ argument 44 ((schar*)(storage)->top + (storage)->block_size - (storage)->free_space) 83 icvInitMemStorage( CvMemStorage* storage, int block_size ) in icvInitMemStorage() argument 89 if( !storage ) in icvInitMemStorage() 98 memset( storage, 0, sizeof( *storage )); in icvInitMemStorage() 99 storage->signature = CV_STORAGE_MAGIC_VAL; in icvInitMemStorage() 100 storage->block_size = block_size; in icvInitMemStorage() 110 CvMemStorage *storage = 0; in cvCreateMemStorage() local 116 CV_CALL( storage = (CvMemStorage *)cvAlloc( sizeof( CvMemStorage ))); in cvCreateMemStorage() 117 CV_CALL( icvInitMemStorage( storage, block_size )); in cvCreateMemStorage() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_double_list.h | 125 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument 127 storage = container_of(pos->member.next, pos, member); \ 129 pos = storage, storage = container_of(storage->member.next, storage, member)) 131 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ argument 133 storage = container_of(pos->member.prev, pos, member); \ 135 pos = storage, storage = container_of(storage->member.prev, storage, member))
|
/external/libdrm/freedreno/ |
D | list.h | 115 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument 117 storage = container_of(pos->member.next, pos, member); \ 119 pos = storage, storage = container_of(storage->member.next, storage, member)) 121 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ argument 123 storage = container_of(pos->member.prev, pos, member); \ 125 pos = storage, storage = container_of(storage->member.prev, storage, member))
|
/external/libdrm/tests/radeon/ |
D | list.h | 115 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument 117 storage = container_of(pos->member.next, pos, member); \ 119 pos = storage, storage = container_of(storage->member.next, storage, member)) 121 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ argument 123 storage = container_of(pos->member.prev, pos, member); \ 125 pos = storage, storage = container_of(storage->member.prev, storage, member))
|
/external/llvm/include/llvm/ADT/ |
D | Optional.h | 30 AlignedCharArrayUnion<T> storage; variable 38 new (storage.buffer) T(y); in Optional() 42 new (storage.buffer) T(*O); in Optional() 46 new (storage.buffer) T(std::forward<T>(y)); in Optional() 50 new (storage.buffer) T(std::move(*O)); in Optional() 58 new (storage.buffer) T(std::move(y)); 78 new (storage.buffer) T(std::forward<ArgTypes>(Args)...); in emplace() 94 new (storage.buffer) T(y); 119 const T* getPointer() const { assert(hasVal); return reinterpret_cast<const T*>(storage.buffer); } in getPointer() 120 T* getPointer() { assert(hasVal); return reinterpret_cast<T*>(storage.buffer); } in getPointer()
|
/external/skia/tests/ |
D | Writer32Test.cpp | 15 SkAutoSMalloc<256> storage(size); in check_contents() local 17 writer.flatten(storage.get()); in check_contents() 18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size)); in check_contents() 25 uint8_t storage[4]; in test_reserve() local 26 SkWriter32 writer(storage, sizeof(storage)); in test_reserve() 31 uint8_t storage[8]; in test_string_null() local 32 SkWriter32 writer(storage, sizeof(storage)); in test_string_null() 125 SkAutoMalloc storage(len); in test2() local 126 writer->flatten(storage.get()); in test2() 129 reader.setMemory(storage.get(), len); in test2() [all …]
|
/external/clang/test/Analysis/inlining/ |
D | containers.cpp | 86 int *storage; member in MySet 89 MySet() : storage(0), size(0) { in MySet() 96 MySet(unsigned n) : storage(new int[n]), size(n) { in MySet() 103 ~MySet() { delete[] storage; } in ~MySet() 124 return iterator(storage); in begin() 132 return iterator(storage+size); in end() 142 return storage; in raw_begin() 149 return storage + size; in raw_end()
|
/external/mesa3d/src/mesa/math/ |
D | m_vector.c | 79 _mesa_vector4f_init( GLvector4f *v, GLbitfield flags, GLfloat (*storage)[4] ) in _mesa_vector4f_init() 83 v->data = storage; in _mesa_vector4f_init() 84 v->start = (GLfloat *) storage; in _mesa_vector4f_init() 103 v->storage = _mesa_align_malloc( count * 4 * sizeof(GLfloat), alignment ); in _mesa_vector4f_alloc() 105 v->start = (GLfloat *) v->storage; in _mesa_vector4f_alloc() 106 v->data = (GLfloat (*)[4]) v->storage; in _mesa_vector4f_alloc() 121 _mesa_align_free( v->storage ); in _mesa_vector4f_free() 124 v->storage = NULL; in _mesa_vector4f_free()
|
/external/eigen/doc/ |
D | StorageOrders.dox | 5 There are two different storage orders for matrices and two-dimensional arrays: column-major and ro… 6 This page explains these storage orders and how to specify which one should be used. 11 \section TopicStorageOrdersIntro Column-major and row-major storage 52 The storage order of a matrix or a two-dimensional array can be set by specifying the \c Options te… 58 specify the storage order. 60 If the storage order is not specified, then Eigen defaults to storing the entry in column-major. Th… 63 Matrices and arrays using one storage order can be assigned to matrices and arrays using the other … 69 \section TopicStorageOrdersWhich Which storage order to choose? 71 So, which storage order should you use in your program? There is no simple answer to this question;… 74 …- Your users may expect you to use a specific storage order. Alternatively, you may use other libr… [all …]
|
/external/libxml2/ |
D | timsort.h | 285 if (store->storage != NULL)\ 287 free(store->storage);\ 288 store->storage = NULL;\ 315 SORT_TYPE *storage; member 323 SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE)); in TIM_SORT_RESIZE() 329 store->storage = tempstore; in TIM_SORT_RESIZE() 339 SORT_TYPE *storage; in TIM_SORT_MERGE() local 343 storage = store->storage; in TIM_SORT_MERGE() 348 memcpy(storage, &dst[curr], A * sizeof(SORT_TYPE)); in TIM_SORT_MERGE() 356 if (SORT_CMP(storage[i], dst[j]) <= 0) in TIM_SORT_MERGE() [all …]
|
/external/libogg/src/ |
D | bitwise.c | 43 b->storage=BUFFER_INCREMENT; in oggpack_writeinit() 51 if(!b->ptr || !b->storage)return -1; in oggpack_writecheck() 83 if(b->endbyte+4>=b->storage){ in oggpack_write() 86 ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); in oggpack_write() 92 b->storage+=BUFFER_INCREMENT; in oggpack_write() 124 if(b->endbyte+4>=b->storage){ in oggpackB_write() 127 ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); in oggpackB_write() 133 b->storage+=BUFFER_INCREMENT; in oggpackB_write() 194 if(b->endbyte+bytes+1>=b->storage){ in oggpack_writecopy_helper() 197 b->storage=b->endbyte+bytes+BUFFER_INCREMENT; in oggpack_writecopy_helper() [all …]
|
/external/opencv/cvaux/src/ |
D | extendededges.cpp | 47 CvSeq* icvCutContourRaster( CvSeq* current, CvMemStorage* storage, IplImage* image ); 52 CvMemStorage* storage ) in cvExtractSingleEdges() argument 54 CvMemStorage* tmp_storage = cvCreateChildMemStorage( storage ); in cvExtractSingleEdges() 75 CvSeq* new_seq = icvCutContourRaster( current, storage, image ); in cvExtractSingleEdges() 121 CvSeq* icvCutContourRaster( CvSeq* current, CvMemStorage* storage, IplImage* image /*tmp image*/) in icvCutContourRaster() argument 134 cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvCutContourRaster() 166 … cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvCutContourRaster()
|
/external/icu/icu4c/source/layout/ |
D | KernTable.cpp | 193 void KernTable::process(LEGlyphStorage& storage, LEErrorCode &success) 197 le_uint32 key = storage[0]; // no need to mask off high bits 200 for (int i = 1, e = storage.getGlyphCount(); LE_SUCCESS(success)&& i < e; ++i) { 201 key = key << 16 | (storage[i] & 0xffff); 238 storage[i-1], storage[i], i, value & 0xffff, font->xUnitsToPoints(value)); 249 storage.adjustPosition(i, adjust, 0, success); 252 storage.adjustPosition(storage.getGlyphCount(), adjust, 0, success);
|
/external/skia/src/effects/gradients/ |
D | SkSweepGradient.cpp | 67 SkShader::Context* SkSweepGradient::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext() 68 return SkNEW_PLACEMENT_ARGS(storage, SweepGradientContext, (*this, rec)); in onCreateContext() 107 SkFixed storage[2]; in shadeSpan() local 109 &storage[0], &storage[1]); in shadeSpan() 110 dx = SkFixedToScalar(storage[0]); in shadeSpan() 111 dy = SkFixedToScalar(storage[1]); in shadeSpan() 149 SkFixed storage[2]; in shadeSpan16() local 151 &storage[0], &storage[1]); in shadeSpan16() 152 dx = SkFixedToScalar(storage[0]); in shadeSpan16() 153 dy = SkFixedToScalar(storage[1]); in shadeSpan16()
|
/external/eigen/Eigen/src/SuperLUSupport/ |
D | SuperLUSupport.h | 94 Store = &storage; in SluMatrix() 100 Store = &storage; in SluMatrix() 101 storage = other.storage; in SluMatrix() 107 Store = &storage; 108 storage = other.storage; 118 } storage; member 124 Store = &storage; in setStorageType() 162 res.storage.lda = MatrixType::IsVectorAtCompileTime ? mat.size() : mat.outerStride(); in Map() 163 res.storage.values = (void*)(mat.data()); in Map() 186 res.storage.nnz = mat.nonZeros(); in Map() [all …]
|