Lines Matching +full:- +full:nv
1 /* getprop.c - Get an Android system property
28 char **nv; // name/value pairs: even=name, odd=value
45 if (!(TT.size&31)) TT.nv = xrealloc(TT.nv, (TT.size+32)*2*sizeof(char *)); in read_callback()
47 TT.nv[2*TT.size] = xstrdup((char *)name); in read_callback()
49 TT.nv[1+2*TT.size++] = get_property_context(name); in read_callback()
51 TT.nv[1+2*TT.size++] = xstrdup((char *)value); in read_callback()
108 qsort(TT.nv, TT.size, 2*sizeof(char *), qstrcmp); in getprop_main()
109 for (i = 0; i<TT.size; i++) printf("[%s]: [%s]\n", TT.nv[i*2],TT.nv[1+i*2]); in getprop_main()
112 free(TT.nv[i*2]); in getprop_main()
113 free(TT.nv[1+i*2]); in getprop_main()
115 free(TT.nv); in getprop_main()