Home
last modified time | relevance | path

Searched refs:datatype (Results 1 – 25 of 173) sorted by relevance

1234567

/external/chromium_org/base/android/jni_generator/
Djni_generator_tests.py147 params=[Param(datatype='int',
153 params=[Param(datatype='int',
155 Param(datatype='String',
157 Param(datatype='String',
159 Param(datatype='boolean',
161 Param(datatype='long',
168 params=[Param(datatype='String',
174 params=[Param(datatype='byte[]',
176 Param(datatype='int',
182 params=[Param(datatype='View', name='view')],
[all …]
Djni_generator.py39 self.datatype = kwargs['datatype']
56 self.params[0].datatype == kwargs.get('ptr_type', 'int') and
225 items += [JniParams.JavaToJni(param.datatype) for param in params]
244 datatype=items[0],
355 def GetMangledParam(datatype): argument
357 if len(datatype) <= 2:
358 return datatype.replace('[', 'A')
360 for i in range(1, len(datatype)):
361 c = datatype[i]
364 elif c.isupper() or datatype[i - 1] in ['/', 'L']:
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dformats.c1955 GLenum datatype = 0; in check_format_to_type_and_comps() local
1960 _mesa_format_to_type_and_comps(f, &datatype, &comps); in check_format_to_type_and_comps()
2062 GLenum *datatype, GLuint *comps) in _mesa_format_to_type_and_comps() argument
2073 *datatype = GL_UNSIGNED_BYTE; in _mesa_format_to_type_and_comps()
2078 *datatype = GL_UNSIGNED_BYTE; in _mesa_format_to_type_and_comps()
2083 *datatype = GL_UNSIGNED_SHORT_5_6_5; in _mesa_format_to_type_and_comps()
2089 *datatype = GL_UNSIGNED_SHORT_4_4_4_4; in _mesa_format_to_type_and_comps()
2095 *datatype = GL_UNSIGNED_SHORT_1_5_5_5_REV; in _mesa_format_to_type_and_comps()
2100 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_format_to_type_and_comps()
2105 *datatype = GL_UNSIGNED_SHORT_5_5_5_1; in _mesa_format_to_type_and_comps()
[all …]
Dmipmap.c53 bytes_per_pixel(GLenum datatype, GLuint comps) in bytes_per_pixel() argument
57 if (datatype == GL_UNSIGNED_INT_8_24_REV_MESA || in bytes_per_pixel()
58 datatype == GL_UNSIGNED_INT_24_8_MESA) in bytes_per_pixel()
61 b = _mesa_sizeof_packed_type(datatype); in bytes_per_pixel()
64 if (_mesa_type_is_packed(datatype)) in bytes_per_pixel()
156 do_row(GLenum datatype, GLuint comps, GLint srcWidth, in do_row() argument
170 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { in do_row()
183 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { in do_row()
195 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) { in do_row()
206 else if (datatype == GL_UNSIGNED_BYTE && comps == 1) { in do_row()
[all …]
/external/mesa3d/src/mesa/main/
Dformats.c1955 GLenum datatype = 0; in check_format_to_type_and_comps() local
1960 _mesa_format_to_type_and_comps(f, &datatype, &comps); in check_format_to_type_and_comps()
2062 GLenum *datatype, GLuint *comps) in _mesa_format_to_type_and_comps() argument
2073 *datatype = GL_UNSIGNED_BYTE; in _mesa_format_to_type_and_comps()
2078 *datatype = GL_UNSIGNED_BYTE; in _mesa_format_to_type_and_comps()
2083 *datatype = GL_UNSIGNED_SHORT_5_6_5; in _mesa_format_to_type_and_comps()
2089 *datatype = GL_UNSIGNED_SHORT_4_4_4_4; in _mesa_format_to_type_and_comps()
2095 *datatype = GL_UNSIGNED_SHORT_1_5_5_5_REV; in _mesa_format_to_type_and_comps()
2100 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_format_to_type_and_comps()
2105 *datatype = GL_UNSIGNED_SHORT_5_5_5_1; in _mesa_format_to_type_and_comps()
[all …]
Dmipmap.c46 bytes_per_pixel(GLenum datatype, GLuint comps) in bytes_per_pixel() argument
50 if (datatype == GL_UNSIGNED_INT_8_24_REV_MESA || in bytes_per_pixel()
51 datatype == GL_UNSIGNED_INT_24_8_MESA) in bytes_per_pixel()
54 b = _mesa_sizeof_packed_type(datatype); in bytes_per_pixel()
57 if (_mesa_type_is_packed(datatype)) in bytes_per_pixel()
149 do_row(GLenum datatype, GLuint comps, GLint srcWidth, in do_row() argument
163 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { in do_row()
176 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { in do_row()
188 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) { in do_row()
199 else if (datatype == GL_UNSIGNED_BYTE && comps == 1) { in do_row()
[all …]
/external/chromium_org/build/util/lib/common/
Dperf_result_data_type.py15 def IsValidType(datatype): argument
16 return datatype in ALL_TYPES
19 def IsHistogram(datatype): argument
20 return (datatype == HISTOGRAM or datatype == UNIMPORTANT_HISTOGRAM)
/external/dropbear/
Dcli-channel.c37 unsigned int datatype; in recv_msg_channel_extended_data() local
48 datatype = buf_getint(ses.payload); in recv_msg_channel_extended_data()
50 if (datatype != SSH_EXTENDED_DATA_STDERR) { in recv_msg_channel_extended_data()
52 datatype)) in recv_msg_channel_extended_data()
/external/clang/test/Sema/
Dwarn-type-safety.cpp24 void f1(void *buf, int count, MPI_Datatype datatype)
27 void f2(void *buf, int count, MPI_Datatype datatype)
30 void f3(void *buf, int count, MPI_Datatype datatype)
33 void f4(void *buf, int count, MPI_Datatype datatype)
36 void MPI_Send(void *buf, int count, MPI_Datatype datatype)
42 void value_dep(void *buf, int count, MPI_Datatype datatype)
Dwarn-type-safety.c9 int wrong1(void *buf, MPI_Datatype datatype)
12 int wrong2(void *buf, MPI_Datatype datatype)
15 int wrong3(void *buf, MPI_Datatype datatype)
18 int wrong4(void *buf, MPI_Datatype datatype)
21 int wrong5(void *buf, MPI_Datatype datatype)
24 int wrong6(void *buf, MPI_Datatype datatype)
29 int wrong7(void *buf, MPI_Datatype datatype)
32 int wrong8(void *buf, MPI_Datatype datatype)
D128bitint.c28 void pointer_with_type_tag_arg_num_1(void *buf, int datatype)
31 void pointer_with_type_tag_arg_num_2(void *buf, int datatype)
34 void MPI_Send(void *buf, int datatype) __attribute__(( pointer_with_type_tag(mpi,1,2) ));
/external/valgrind/main/mpi/
Dlibmpiwrap.c412 MPI_Datatype datatype, in count_from_Status() argument
416 int err = PMPI_Get_count(status, datatype, &n); in count_from_Status()
990 void check_mem_is_defined ( char* buffer, long count, MPI_Datatype datatype ) in check_mem_is_defined() argument
992 walk_type_array( check_mem_is_defined_untyped, buffer, datatype, count ); in check_mem_is_defined()
1001 void check_mem_is_addressable ( void *buffer, long count, MPI_Datatype datatype ) in check_mem_is_addressable() argument
1003 walk_type_array( check_mem_is_addressable_untyped, buffer, datatype, count ); in check_mem_is_addressable()
1011 void make_mem_defined_if_addressable ( void *buffer, int count, MPI_Datatype datatype ) in make_mem_defined_if_addressable() argument
1014 buffer, datatype, count ); in make_mem_defined_if_addressable()
1020 MPI_Datatype datatype ) in make_mem_defined_if_addressable_if_success() argument
1023 make_mem_defined_if_addressable(buffer, count, datatype); in make_mem_defined_if_addressable_if_success()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c169 do_row(enum dtype datatype, uint comps, int srcWidth, in do_row() argument
183 if (datatype == DTYPE_UBYTE && comps == 4) { in do_row()
196 else if (datatype == DTYPE_UBYTE && comps == 3) { in do_row()
208 else if (datatype == DTYPE_UBYTE && comps == 2) { in do_row()
219 else if (datatype == DTYPE_UBYTE && comps == 1) { in do_row()
230 else if (datatype == DTYPE_USHORT && comps == 4) { in do_row()
243 else if (datatype == DTYPE_USHORT && comps == 3) { in do_row()
255 else if (datatype == DTYPE_USHORT && comps == 2) { in do_row()
266 else if (datatype == DTYPE_USHORT && comps == 1) { in do_row()
277 else if (datatype == DTYPE_FLOAT && comps == 4) { in do_row()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_gen_mipmap.c169 do_row(enum dtype datatype, uint comps, int srcWidth, in do_row() argument
183 if (datatype == DTYPE_UBYTE && comps == 4) { in do_row()
196 else if (datatype == DTYPE_UBYTE && comps == 3) { in do_row()
208 else if (datatype == DTYPE_UBYTE && comps == 2) { in do_row()
219 else if (datatype == DTYPE_UBYTE && comps == 1) { in do_row()
230 else if (datatype == DTYPE_USHORT && comps == 4) { in do_row()
243 else if (datatype == DTYPE_USHORT && comps == 3) { in do_row()
255 else if (datatype == DTYPE_USHORT && comps == 2) { in do_row()
266 else if (datatype == DTYPE_USHORT && comps == 1) { in do_row()
277 else if (datatype == DTYPE_FLOAT && comps == 4) { in do_row()
[all …]
/external/chromium_org/sync/tools/testserver/
Dchromiumsync.py356 for datatype in ALL_TYPES:
357 self._migrations[datatype] = [1]
360 def GetLatestVersion(self, datatype): argument
361 return self._migrations[datatype][-1]
377 for datatype, client_migration in versions_map.iteritems():
378 for server_migration in self._migrations[datatype]:
380 problems.setdefault(server_migration, []).append(datatype)
386 for idx, datatype in enumerate(datatypes):
387 self._migrations[datatype].append(self._next_migration_version)
447 return [datatype for datatype, timestamp in self._state.iteritems()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_parameter.h131 GLuint size, GLenum datatype,
148 GLenum datatype, GLuint *swizzleOut);
157 const char *name, GLuint size, GLenum datatype,
162 const char *name, GLint size, GLenum datatype, GLint attrib);
Dprog_parameter.c111 GLuint size, GLenum datatype, in _mesa_add_parameter() argument
158 p->DataType = datatype; in _mesa_add_parameter()
257 GLenum datatype, GLuint *swizzleOut) in _mesa_add_typed_unnamed_constant() argument
290 size, datatype, values, NULL, 0x0); in _mesa_add_typed_unnamed_constant()
327 const char *name, GLuint size, GLenum datatype, in _mesa_add_varying() argument
338 size, datatype, NULL, NULL, flags); in _mesa_add_varying()
351 const char *name, GLint size, GLenum datatype, GLint attrib) in _mesa_add_attribute() argument
367 size, datatype, NULL, state, 0x0); in _mesa_add_attribute()
/external/mesa3d/src/mesa/program/
Dprog_parameter.h131 GLuint size, GLenum datatype,
148 GLenum datatype, GLuint *swizzleOut);
157 const char *name, GLuint size, GLenum datatype,
162 const char *name, GLint size, GLenum datatype, GLint attrib);
Dprog_parameter.c111 GLuint size, GLenum datatype, in _mesa_add_parameter() argument
158 p->DataType = datatype; in _mesa_add_parameter()
246 GLenum datatype, GLuint *swizzleOut) in _mesa_add_typed_unnamed_constant() argument
279 size, datatype, values, NULL, 0x0); in _mesa_add_typed_unnamed_constant()
316 const char *name, GLuint size, GLenum datatype, in _mesa_add_varying() argument
327 size, datatype, NULL, NULL, flags); in _mesa_add_varying()
340 const char *name, GLint size, GLenum datatype, GLint attrib) in _mesa_add_attribute() argument
356 size, datatype, NULL, state, 0x0); in _mesa_add_attribute()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_harness.cc491 syncable::ModelType datatype) { in EnableSyncForDatatype() argument
496 synced_datatypes.insert(datatype); in EnableSyncForDatatype()
503 syncable::ModelTypeFromInt(datatype)); in EnableSyncForDatatype()
505 synced_datatypes.insert(syncable::ModelTypeFromInt(datatype)); in EnableSyncForDatatype()
510 << syncable::ModelTypeToString(datatype) << " on Client " << id_; in EnableSyncForDatatype()
513 << syncable::ModelTypeToString(datatype) << " on Client " << id_; in EnableSyncForDatatype()
519 syncable::ModelType datatype) { in DisableSyncForDatatype() argument
524 syncable::ModelTypeSet::iterator it = synced_datatypes.find(datatype); in DisableSyncForDatatype()
530 << syncable::ModelTypeToString(datatype) << " on Client " << id_; in DisableSyncForDatatype()
533 << syncable::ModelTypeToString(datatype) << " on Client " << id_; in DisableSyncForDatatype()
/external/opencv/cxcore/src/
Dcxdxt.cpp1287 #define ICV_REAL_DFT( flavor, datatype ) \ argument
1289 icvRealDFT_##flavor( const datatype* src, datatype* dst, \
1309 dst[0] = (datatype)(src[0]*scale); \
1314 dst[1] = (datatype)((src[0] - src[1])*scale); \
1315 dst[0] = (datatype)t; \
1321 _dst[0].re = (datatype)(src[0]*scale); \
1327 _dst[j].re = (datatype)t0; \
1329 _dst[j+1].re = (datatype)t1; \
1353 dst[0] = (datatype)((dst[0] + dst[1])*scale); \
1354 dst[1] = (datatype)(t*scale); \
[all …]
/external/chromium_org/sync/util/
Ddata_type_histogram.h36 #define SYNC_DATA_TYPE_HISTOGRAM(datatype) \ argument
38 switch (datatype) { \
125 << ::syncer::ModelTypeToString(datatype); \
/external/chromium_org/chrome/browser/sync/test/integration/
Dprofile_sync_service_harness.cc857 syncer::ModelType datatype) { in EnableSyncForDatatype() argument
860 + std::string(syncer::ModelTypeToString(datatype)) + ")"); in EnableSyncForDatatype()
863 return SetupSync(syncer::ModelTypeSet(datatype)); in EnableSyncForDatatype()
871 if (synced_datatypes.Has(datatype)) { in EnableSyncForDatatype()
873 << syncer::ModelTypeToString(datatype) in EnableSyncForDatatype()
878 synced_datatypes.Put(syncer::ModelTypeFromInt(datatype)); in EnableSyncForDatatype()
882 << syncer::ModelTypeToString(datatype) in EnableSyncForDatatype()
892 syncer::ModelType datatype) { in DisableSyncForDatatype() argument
895 + std::string(syncer::ModelTypeToString(datatype)) + ")"); in DisableSyncForDatatype()
903 if (!synced_datatypes.Has(datatype)) { in DisableSyncForDatatype()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dpath_utils.h37 static INLINE VGint size_for_datatype(VGPathDatatype datatype) in size_for_datatype() argument
39 switch(datatype) { in size_for_datatype()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dpath_utils.h37 static INLINE VGint size_for_datatype(VGPathDatatype datatype) in size_for_datatype() argument
39 switch(datatype) { in size_for_datatype()

1234567