Home
last modified time | relevance | path

Searched refs:colname (Results 1 – 10 of 10) sorted by relevance

/third_party/libwebsockets/lib/misc/
Dlws-struct-sqlite.c57 if (!cv[n] || strcmp(cn[n], map->colname)) in lws_struct_sq3_deser_cb()
209 "%s%c", schema->child_map[n].colname, in lws_struct_sq3_deserialize()
218 schema->colname, where, order, in lws_struct_sq3_deserialize()
245 size_t sql_est = 46 + strlen(schema->colname) + 1; in _lws_struct_sq3_ser_one()
278 sql_est += strlen(map[n].colname) + 2; in _lws_struct_sq3_ser_one()
315 sql_est -= strlen(map[n].colname) + 2; in _lws_struct_sq3_ser_one()
330 schema->colname); in _lws_struct_sq3_ser_one()
350 map[n].colname); in _lws_struct_sq3_ser_one()
459 schema->colname); in lws_struct_sq3_create_table()
473 p += lws_snprintf(p, (unsigned int)lws_ptr_diff(end, p), "%s blob", map->colname); in lws_struct_sq3_create_table()
[all …]
Dlws-struct-lejp.c58 if (!strcmp(ctx->path, child->colname)) { in lws_struct_schema_only_lejp_cb()
84 if (strcmp(ctx->buf, map->colname)) { in lws_struct_schema_only_lejp_cb()
104 lejp_parser_push(ctx, a->dest, &map->child_map[0].colname, in lws_struct_schema_only_lejp_cb()
210 if (strncmp(map->colname, ctx->buf, ctx->npos)) { in lws_struct_default_lejp_cb()
271 pmap->colname, (int)pmap->aux); in lws_struct_default_lejp_cb()
602 map->colname); in lws_struct_json_serialize()
731 "\"%s\"", map->colname); in lws_struct_json_serialize()
/third_party/python/Tools/c-analyzer/c_parser/
Dinfo.py465 for colname in colnames:
466 if colname in row:
468 rendered = cls._render_data_row_item(colname, data, extra)
471 row[colname] = rendered
475 def _render_data_row_item(cls, colname, data, extra): argument
476 if colname == 'data':
489 for colname, value in datarow.items():
491 if colname == 'kind':
492 datarow[colname] = value.value
494 datarow[colname] = str(value)
[all …]
/third_party/python/Modules/_sqlite/
Dcursor.c174 const char *colname = sqlite3_column_name(self->statement->st, i); in pysqlite_build_row_cast_map() local
175 if (colname == NULL) { in pysqlite_build_row_cast_map()
181 for (pos = colname; *pos != 0; pos++) { in pysqlite_build_row_cast_map()
230 _pysqlite_build_column_name(pysqlite_Cursor *self, const char *colname) in _pysqlite_build_column_name() argument
236 for (pos = colname; *pos; pos++) { in _pysqlite_build_column_name()
238 if ((pos != colname) && (*(pos-1) == ' ')) { in _pysqlite_build_column_name()
244 len = pos - colname; in _pysqlite_build_column_name()
247 len = strlen(colname); in _pysqlite_build_column_name()
249 return PyUnicode_FromStringAndSize(colname, len); in _pysqlite_build_column_name()
268 const char* colname; in _pysqlite_fetch_one_row() local
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dmindrecord_op.cc80 std::string colname = col_names[i]; in Init() local
88 col_desc = ColDescriptor(colname, t_dtype, TensorImpl::kFlexible, 1); in Init()
90 col_desc = ColDescriptor(colname, t_dtype, TensorImpl::kFlexible, 0); in Init()
95 col_desc = ColDescriptor(colname, t_dtype, TensorImpl::kFlexible, t_shape.Rank(), &t_shape); in Init()
98 col_desc = ColDescriptor(colname, t_dtype, TensorImpl::kFlexible, t_shape.Rank(), &t_shape); in Init()
101 colname_to_ind[colname] = data_schema_->NumColumns(); in Init()
105 columns_to_load_.emplace_back(colname); in Init()
111 for (std::string colname : columns_to_load_) { in Init() local
113 colname_to_ind.find(colname) != colname_to_ind.end(), in Init()
114 … "Invalid data, specified loading column name: " + colname + " does not exist in data file."); in Init()
[all …]
/third_party/libsnd/regtest/
Ddatabase.c72 static int count_callback (REGTEST_DB * db, int argc, char **argv, char **colname) ;
73 static int ekey_max_callback (REGTEST_DB * db, int argc, char **argv, char **colname) ;
74 static int callback (void *unused, int argc, char **argv, char **colname) ;
465 count_callback (REGTEST_DB * db, int argc, char **argv, char **colname) in count_callback() argument
470 (void) colname ; in count_callback()
489 callback (void *unused, int argc, char **argv, char **colname) in callback() argument
495 printf ("%s = %s\n", colname [k], argv [k] ? argv [k] : "NULL") ; in callback()
/third_party/libwebsockets/include/libwebsockets/
Dlws-struct.h49 const char *colname; member
/third_party/libsoup/libsoup/
Dsoup-cookie-jar-db.c156 callback (void *data, int argc, char **argv, char **colname) in callback() argument
Dsoup-hsts-enforcer-db.c144 query_all_callback (void *data, int argc, char **argv, char **colname) in query_all_callback() argument
/third_party/ltp/tools/sparse/sparse-src/
Dsemind.c927 static int search_query_callback(void *data, int argc, char **argv, char **colname) in search_query_callback() argument