HomeSort by relevance Sort by last modified time
    Searched refs:ZZJSON (Results 1 - 21 of 21) sorted by null

  /external/syslinux/com32/gplinclude/zzjson/
zzjson.h 0 /* ZZJSON - Copyright (C) 2008 by Ivo van Poorten
15 #define ZZJSON_IDENT "zzjson 1.1.0"
60 typedef struct ZZJSON {
65 struct ZZJSON *val;
68 struct ZZJSON *val;
80 struct ZZJSON *next;
81 } ZZJSON;
85 ZZJSON *zzjson_parse(ZZJSON_CONFIG *config);
86 void zzjson_free(ZZJSON_CONFIG *config, ZZJSON *zzjson);
    [all...]
  /external/syslinux/com32/gpllib/zzjson/
zzjson_create.c 1 /* JSON Create ZZJSON structures
2 * ZZJSON - Copyright (C) 2008 by Ivo van Poorten
6 #include "zzjson.h"
18 static ZZJSON *zzjson_create_templ(ZZJSON_CONFIG *config, ZZJSON_TYPE type) {
19 ZZJSON *zzjson = config->calloc(1, sizeof(ZZJSON)); local
20 if (!zzjson) MEMERROR();
21 else zzjson->type = type;
22 return zzjson;
38 ZZJSON *zzjson = zzjson_create_templ(config, ZZJSON_NUMBER_DOUBLE); local
45 ZZJSON *zzjson = zzjson_create_templ(config, ZZJSON_NUMBER_NEGINT); local
64 ZZJSON *zzjson = NULL; local
78 ZZJSON *zzjson, *retval, *val; local
109 ZZJSON *zzjson, *retval, *val; local
154 ZZJSON *zzjson; local
171 ZZJSON *retval = array, *zzjson; local
191 ZZJSON *zzjson = NULL; local
215 ZZJSON *retval = object, *zzjson = NULL; local
    [all...]
zzjson_query.c 2 * ZZJSON - Copyright (C) 2008 by Ivo van Poorten
6 #include "zzjson.h"
10 ZZJSON *zzjson_object_find_label(ZZJSON *zzjson, char *label) {
11 if (zzjson->type != ZZJSON_OBJECT) return NULL;
13 while (zzjson) {
14 char *string = zzjson->value.object.label;
16 if (zzjson->type != ZZJSON_OBJECT) return NULL;
20 return zzjson->value.object.val
    [all...]
zzjson_free.c 2 * ZZJSON - Copyright (C) 2008 by Ivo van Poorten
6 #include "zzjson.h"
8 void zzjson_free(ZZJSON_CONFIG *config, ZZJSON *zzjson) {
9 while (zzjson) {
10 ZZJSON *next;
11 switch(zzjson->type) {
13 config->free(zzjson->value.object.label);
14 zzjson_free(config, zzjson->value.object.val);
17 zzjson_free(config, zzjson->value.array.val)
    [all...]
zzjson_parse.c 2 * ZZJSON - Copyright (C) 2008-2009 by Ivo van Poorten
6 #include "zzjson.h"
28 static ZZJSON *parse_array(ZZJSON_CONFIG *config);
29 static ZZJSON *parse_object(ZZJSON_CONFIG *config);
123 static ZZJSON *parse_string2(ZZJSON_CONFIG *config) {
124 ZZJSON *zzjson = NULL; local
129 zzjson = config->calloc(1, sizeof(ZZJSON));
130 if (!zzjson) {
142 ZZJSON *zzjson; local
243 ZZJSON *zzjson; local
309 ZZJSON *zzjson = NULL, *val = NULL; local
388 ZZJSON *zzjson = NULL, *val = NULL; local
    [all...]
zzjson_print.c 2 * ZZJSON - Copyright (C) 2008 by Ivo van Poorten
6 #include "zzjson.h"
37 static int zzjson_print2(ZZJSON_CONFIG *config, ZZJSON *zzjson,
40 if (!zzjson) return -1;
42 switch(zzjson->type) {
50 while (zzjson) {
51 switch(zzjson->type) {
53 if (zzjson->value.object.val) {
55 if (print_string(config, zzjson->value.object.label) < 0
    [all...]
  /external/syslinux/com32/hdt/
hdt-dump.h 34 #include <zzjson/zzjson.h>
38 #define APPEND_ARRAY ZZJSON *temp_array; temp_array = zzjson_array_append(config, *item, zzjson_create_object(config,
39 #define APPEND_OBJECT_ARRAY(value) ZZJSON *temp_ar; temp_ar = zzjson_array_append(config, *item, value); *item=temp_ar;
68 void print_and_flush(ZZJSON_CONFIG *config, ZZJSON **item);
70 void flush (ZZJSON_CONFIG *config, ZZJSON ** item);
73 void dump_cpu(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item);
74 void dump_pxe(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item);
75 void dump_syslinux(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item);
76 void dump_vpd(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item)
    [all...]
hdt-dump-syslinux.c 33 void dump_syslinux(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-hdt.c 33 void dump_hdt(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-vpd.c 32 void dump_vpd(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-kernel.c 33 ZZJSON ** item)
hdt-dump-memory.c 33 void dump_88(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
50 void dump_e801(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
71 void dump_e820(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
123 void dump_memory(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-acpi.c 32 void show_header(char *name, void *address, s_acpi_description_header *h, ZZJSON_CONFIG *config, ZZJSON **item)
83 void dump_rsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
103 void dump_xsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
123 void dump_fadt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
143 void dump_dsdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
163 void dump_sbst(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
183 void dump_ecdt(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
203 void dump_hpet(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
223 void dump_tcpa(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item)
243 void dump_mcfg(s_acpi * acpi, ZZJSON_CONFIG * config, ZZJSON ** item
    [all...]
hdt-dump-disks.c 34 ZZJSON **item;
77 void show_disk(struct s_hardware *hardware, ZZJSON_CONFIG *conf, ZZJSON **it, int drive) {
124 void dump_disks(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-cpu.c 32 void dump_cpu(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-dmi.c 32 void dump_hardware_security(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
49 void dump_oem_strings(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
62 void dump_memory_size(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
70 void dump_memory_modules(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
103 void dump_cache(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
130 void dump_memory_banks(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
172 void dump_processor(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
220 void dump_battery(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
245 void dump_ipmi(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
276 void dump_chassis(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item)
    [all...]
hdt-dump-vesa.c 33 void dump_vesa(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-pxe.c 34 void dump_pxe(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **item) {
hdt-dump-pci.c 33 ZZJSON ** item)
hdt-dump.c 146 void flush(ZZJSON_CONFIG * config, ZZJSON ** item)
165 ZZJSON *json = NULL;
  /external/syslinux/com32/modules/
zzjson.c 9 #include <zzjson/zzjson.h>
33 ZZJSON *tmp;
43 ZZJSON *tmp2;

Completed in 4444 milliseconds