Home
last modified time | relevance | path

Searched refs:findColumnIndex (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/ui/src/common/
Dquery_iterator_unittest.ts17 findColumnIndex,
119 expect(findColumnIndex(r, 'strings', STR)).toBe(0);
120 expect(findColumnIndex(r, 'doubles', NUM)).toBe(1);
121 expect(findColumnIndex(r, 'longs', NUM)).toBe(2);
123 expect(findColumnIndex(r, 'nullable_strings', STR_NULL)).toBe(3);
124 expect(findColumnIndex(r, 'nullable_doubles', NUM_NULL)).toBe(4);
125 expect(findColumnIndex(r, 'nullable_longs', NUM_NULL)).toBe(5);
127 expect(() => findColumnIndex(r, 'no such col', NUM)).toThrow(Error);
130 expect(findColumnIndex(r, 'strings', STR_NULL)).toBe(0);
131 expect(findColumnIndex(r, 'doubles', NUM_NULL)).toBe(1);
[all …]
Dquery_iterator.ts50 export function findColumnIndex( function
119 const index = findColumnIndex(queryResult, columnName, columnType);