WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
map_sorter.h File Reference
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "upb/base/descriptor_constants.h"
#include "upb/base/string_view.h"
#include "upb/hash/common.h"
#include "upb/mem/alloc.h"
#include "upb/message/internal/extension.h"
#include "upb/message/internal/map.h"
#include "upb/message/internal/map_entry.h"
#include "upb/message/internal/message.h"
#include "upb/port/def.inc"
#include "upb/port/undef.inc"

Go to the source code of this file.

Classes

struct  _upb_mapsorter
 
struct  _upb_sortedmap
 

Functions

UPB_INLINE void _upb_mapsorter_init (_upb_mapsorter *s)
 
UPB_INLINE void _upb_mapsorter_destroy (_upb_mapsorter *s)
 
UPB_INLINE bool _upb_sortedmap_next (_upb_mapsorter *s, const struct upb_Map *map, _upb_sortedmap *sorted, upb_MapEntry *ent)
 
UPB_INLINE bool _upb_sortedmap_nextext (_upb_mapsorter *s, _upb_sortedmap *sorted, const upb_Extension **ext)
 
UPB_INLINE void _upb_mapsorter_popmap (_upb_mapsorter *s, _upb_sortedmap *sorted)
 
bool _upb_mapsorter_pushmap (_upb_mapsorter *s, upb_FieldType key_type, const struct upb_Map *map, _upb_sortedmap *sorted)
 
bool _upb_mapsorter_pushexts (_upb_mapsorter *s, const upb_Message_Internal *in, _upb_sortedmap *sorted)
 

Function Documentation

◆ _upb_mapsorter_destroy()

UPB_INLINE void _upb_mapsorter_destroy ( _upb_mapsorter * s)

◆ _upb_mapsorter_init()

UPB_INLINE void _upb_mapsorter_init ( _upb_mapsorter * s)

◆ _upb_mapsorter_popmap()

UPB_INLINE void _upb_mapsorter_popmap ( _upb_mapsorter * s,
_upb_sortedmap * sorted )

◆ _upb_mapsorter_pushexts()

bool _upb_mapsorter_pushexts ( _upb_mapsorter * s,
const upb_Message_Internal * in,
_upb_sortedmap * sorted )

◆ _upb_mapsorter_pushmap()

bool _upb_mapsorter_pushmap ( _upb_mapsorter * s,
upb_FieldType key_type,
const struct upb_Map * map,
_upb_sortedmap * sorted )

◆ _upb_sortedmap_next()

UPB_INLINE bool _upb_sortedmap_next ( _upb_mapsorter * s,
const struct upb_Map * map,
_upb_sortedmap * sorted,
upb_MapEntry * ent )

◆ _upb_sortedmap_nextext()

UPB_INLINE bool _upb_sortedmap_nextext ( _upb_mapsorter * s,
_upb_sortedmap * sorted,
const upb_Extension ** ext )