Home
last modified time | relevance | path

Searched refs:HeaderField (Results 1 – 23 of 23) sorted by relevance

/external/autotest/frontend/client/src/autotest/tko/
DHeaderFieldCollection.java16 public class HeaderFieldCollection extends AbstractCollection<HeaderField> {
17 private Map<String, HeaderField> fieldsByName = new HashMap<String, HeaderField>();
18 private Map<String, HeaderField> fieldsBySqlName = new HashMap<String, HeaderField>();
19 private List<HeaderField> orderedFields = new ArrayList<HeaderField>();
23 HeaderField field = new SimpleHeaderField(fieldInfo.name, fieldInfo.field); in populateFromList()
29 public boolean add(HeaderField field) { in add()
47 for (HeaderField field : fieldsByName.values()) { in checkConsistency()
60 if (o == null || !(o instanceof HeaderField)) { in contains()
64 HeaderField field = (HeaderField) o; in contains()
83 public Iterator<HeaderField> iterator() { in iterator()
[all …]
DHeaderSelect.java16 private List<HeaderField> selectedFields;
18 public List<HeaderField> getSelectedFields() { in getSelectedFields()
19 return new ArrayList<HeaderField>(selectedFields); in getSelectedFields()
41 for (HeaderField field : headerFields) { in refreshFields()
63 private List<HeaderField> getSelectedItemsFromView() { in getSelectedItemsFromView()
64 List<HeaderField> selectedFields = new ArrayList<HeaderField>(); in getSelectedItemsFromView()
71 public List<HeaderField> getSelectedItems() { in getSelectedItems()
83 private void setSelectedItemsInView(List<HeaderField> fields) { in setSelectedItemsInView()
85 for (HeaderField field : fields) { in setSelectedItemsInView()
95 public void setSelectedItems(List<HeaderField> fields) { in setSelectedItems()
[all …]
DHeaderField.java22 public abstract class HeaderField implements Comparable<HeaderField> { class
30 protected HeaderField(String name, String sqlName) { in HeaderField() method in HeaderField
35 public int compareTo(HeaderField other) { in compareTo()
DTkoSpreadsheetUtils.java14 List<HeaderField> rowFields, List<HeaderField> columnFields) { in getTestSet()
30 private static void setSomeFields(ConditionTestSet testSet, List<HeaderField> allFields, in setSomeFields()
33 HeaderField field = allFields.get(i); in setSomeFields()
DTableView.java71 private static class GroupCountField extends HeaderField {
163 List<HeaderField> fields = new ArrayList<HeaderField>(); in selectColumnsByName()
217 for (HeaderField field : savedColumns()) { in buildColumnSpecs()
225 private List<HeaderField> savedColumns() { in savedColumns()
255 for (HeaderField field : savedColumns()) { in updateGroupColumns()
264 private boolean isGroupField(HeaderField field) { in isGroupField()
294 HeaderField field = savedColumns().iterator().next(); in cleanupSortsForNewColumns()
302 for (HeaderField field : savedColumns()) { in isAttributeSelected()
389 for (HeaderField field : savedColumns()) { in getTestSet()
487 HeaderField defaultSortField = headerFields.getFieldByName(DEFAULT_COLUMNS[0]); in fillDefaultHistoryValues()
[all …]
DSpreadsheetHeaderSelect.java81 public void setSelectedItems(List<HeaderField> fields) { in setSelectedItems()
114 public List<HeaderField> getSelectedItems() { in getSelectedItems()
122 public void setSelectedItem(HeaderField field) { in setSelectedItem()
123 setSelectedItems(Arrays.asList(new HeaderField[] {field})); in setSelectedItem()
DSpreadsheetDataProcessor.java196 public void setHeaders(List<HeaderField> rowFields, List<HeaderField> columnFields, in setHeaders()
208 private Header getHeaderSqlNames(List<HeaderField> fields) { in getHeaderSqlNames()
210 for (HeaderField field : fields) { in getHeaderSqlNames()
DSpreadsheetView.java207 protected void setSelectedHeader(HeaderSelect list, List<HeaderField> fields) { in setSelectedHeader()
277 List<HeaderField> rows = rowSelect.getSelectedItems(); in doQuery()
278 List<HeaderField> columns = columnSelect.getSelectedItems(); in doQuery()
443 private String[] getDrilldownFields(List<HeaderField> fields, DrilldownType type, in getDrilldownFields()
445 HeaderField lastField = fields.get(fields.size() - 1); in getDrilldownFields()
DSimpleHeaderField.java4 class SimpleHeaderField extends HeaderField {
DParameterizedField.java14 public abstract class ParameterizedField extends HeaderField {
DContentSelect.java83 for (HeaderField field : headerFields) { in refreshFields()
DCommonPanel.java166 for (HeaderField field : headerFields) { in getConditionArgs()
/external/syzkaller/vendor/golang.org/x/net/http2/hpack/
Dhpack.go36 type HeaderField struct { struct
48 func (hf HeaderField) IsPseudo() bool { argument
52 func (hf HeaderField) String() string { argument
61 func (hf HeaderField) Size() uint32 { argument
81 emit func(f HeaderField)
100 func NewDecoder(maxDynamicTableSize uint32, emitFunc func(f HeaderField)) *Decoder { argument
126 func (d *Decoder) SetEmitFunc(emitFunc func(f HeaderField)) {
170 func (dt *dynamicTable) add(f HeaderField) {
193 func (d *Decoder) at(i uint64) (hf HeaderField, ok bool) {
215 func (d *Decoder) DecodeFull(p []byte) ([]HeaderField, error) {
[all …]
Dtables.go29 ents []HeaderField
56 func (t *headerFieldTable) addEntry(f HeaderField) {
80 t.ents[k] = HeaderField{} // so strings can be garbage collected
103 func (t *headerFieldTable) search(f HeaderField) (i uint64, nameValueMatch bool) {
130 var staticTableEntries = [...]HeaderField{
Dencode.go50 func (e *Encoder) WriteField(f HeaderField) error {
91 func (e *Encoder) searchTable(f HeaderField) (i uint64, nameValueMatch bool) {
135 func (e *Encoder) shouldIndex(f HeaderField) bool {
155 func appendNewName(dst []byte, f HeaderField, indexing bool) []byte { argument
168 func appendIndexedName(dst []byte, f HeaderField, i uint64, indexing bool) []byte { argument
/external/autotest/frontend/client/src/autotest/tko/embedded_spreadsheet/
DEmbeddedSpreadsheetPresenter.java8 import autotest.tko.HeaderField;
33 private static class SimpleHeaderField extends HeaderField {
49 private List<HeaderField> rowHeader =
50 Collections.singletonList((HeaderField) new SimpleHeaderField(ROW_HEADER));
51 private List<HeaderField> columnHeader =
52 Collections.singletonList((HeaderField) new SimpleHeaderField(COLUMN_HEADER));
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dhttp2_client.go359 …tp2Client) createHeaderFields(ctx context.Context, callHdr *CallHdr) ([]hpack.HeaderField, error) {
374 headerFields := make([]hpack.HeaderField, 0, hfLen)
375 headerFields = append(headerFields, hpack.HeaderField{Name: ":method", Value: "POST"})
376 headerFields = append(headerFields, hpack.HeaderField{Name: ":scheme", Value: t.scheme})
377 headerFields = append(headerFields, hpack.HeaderField{Name: ":path", Value: callHdr.Method})
378 headerFields = append(headerFields, hpack.HeaderField{Name: ":authority", Value: callHdr.Host})
379 …headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: contentType(cal…
380 headerFields = append(headerFields, hpack.HeaderField{Name: "user-agent", Value: t.userAgent})
381 headerFields = append(headerFields, hpack.HeaderField{Name: "te", Value: "trailers"})
384 …headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: callHdr.SendCo…
[all …]
Dhttp2_server.go693 func appendHeaderFieldsFromMD(headerFields []hpack.HeaderField, md metadata.MD) []hpack.HeaderField argument
700 … headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)})
727 …headerFields := make([]hpack.HeaderField, 0, 2) // at least :status, content-type will be there if…
728 headerFields = append(headerFields, hpack.HeaderField{Name: ":status", Value: "200"})
729 …headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: contentType(s.c…
731 …headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: s.sendCompress…
761 …headerFields := make([]hpack.HeaderField, 0, 2) // grpc-status and grpc-message will be there if n…
766 headerFields = append(headerFields, hpack.HeaderField{Name: ":status", Value: "200"})
767 …headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: contentType(s.c…
770 …headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-status", Value: strconv.Itoa(int…
[all …]
Dcontrolbuf.go96 hf []hpack.HeaderField
532 func (l *loopyWriter) writeHeader(streamID uint32, endStream bool, hf []hpack.HeaderField, onWrite …
Dhttp_util.go282 func (d *decodeState) processHeaderField(f hpack.HeaderField) error {
/external/syzkaller/vendor/golang.org/x/net/http2/
Dframe.go1363 Fields []hpack.HeaderField
1387 func (mh *MetaHeadersFrame) RegularFields() []hpack.HeaderField {
1398 func (mh *MetaHeadersFrame) PseudoFields() []hpack.HeaderField {
1461 hdec.SetEmitFunc(func(hf hpack.HeaderField) {
1496 defer hdec.SetEmitFunc(func(hf hpack.HeaderField) {})
Dwrite.go195 enc.WriteField(hpack.HeaderField{Name: k, Value: v})
Dtransport.go1286 hf := hpack.HeaderField{Name: name, Value: value}
1331 hf := hpack.HeaderField{Name: k, Value: v}
1354 cc.henc.WriteField(hpack.HeaderField{Name: name, Value: value})