Lines Matching refs:schema
181 const lws_struct_map_t *schema, lws_dll2_owner_t *o,
195 a.map_st[0] = schema->child_map;
196 a.map_entries_st[0] = schema->child_map_size;
197 a.dest_len = schema->aux; /* size of toplevel object to allocate */
198 a.toplevel_dll2_ofs = schema->ofs;
207 for (n = 0; n < (int)schema->child_map_size; n++)
209 "%s%c", schema->child_map[n].colname,
210 n + 1 == (int)schema->child_map_size ? ' ' : ',');
218 schema->colname, where, order,
236 * schema... which has one LSM_SCHEMA_DLL2 entry wrapping the actual schema
240 _lws_struct_sq3_ser_one(sqlite3 *pdb, const lws_struct_map_t *schema,
243 const lws_struct_map_t *map = schema->child_map;
244 int n, m, pk = 0, nentries = (int)(ssize_t)schema->child_map_size, nef = 0, did;
245 size_t sql_est = 46 + strlen(schema->colname) + 1;
256 * lws_struct except to create the column in the schema.
330 schema->colname);
434 lws_struct_sq3_serialize(sqlite3 *pdb, const lws_struct_map_t *schema,
440 void *item = (void *)((uint8_t *)p - schema->ofs_clist);
441 if (_lws_struct_sq3_ser_one(pdb, schema, idx++, item))
450 lws_struct_sq3_create_table(sqlite3 *pdb, const lws_struct_map_t *schema)
452 const lws_struct_map_t *map = schema->child_map;
453 int map_size = (int)(ssize_t)schema->child_map_size, subsequent = 0;
459 schema->colname);