Searched refs:findColumnIndex (Results 1 – 2 of 2) sorted by relevance
/external/perfetto/ui/src/common/ |
D | query_iterator_unittest.ts | 17 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 …]
|
D | query_iterator.ts | 50 export function findColumnIndex( function 119 const index = findColumnIndex(queryResult, columnName, columnType);
|