configVal 1404 core/conf.c static int getValue(ConfInfo *ci, unsigned short id, tConfigVal* configVal) configVal 1412 core/conf.c configVal->numb = 0; configVal 1414 core/conf.c if ( configVal->numb<ci[i].id ) configVal 1415 core/conf.c configVal->numb = ci[i].id; configVal 1430 core/conf.c configVal->numb = *(int*)ci[i].var; configVal 1434 core/conf.c configVal->numb = *(short*)ci[i].var; configVal 1438 core/conf.c configVal->numb = *(char*)ci[i].var; configVal 1442 core/conf.c configVal->pInt = (int*)ci[i].var; configVal 1445 core/conf.c configVal->numb = ci[i].size/sizeof(int); configVal 1446 core/conf.c configVal->pInt = (int*)ci[i].var; configVal 1450 core/conf.c configVal->str = ci[i].var; configVal 1455 core/conf.c configVal->pos.x = pos->x; configVal 1456 core/conf.c configVal->pos.y = pos->y; configVal 1458 core/conf.c configVal->pInt = (int*)ci[i].var; configVal 1466 core/conf.c int conf_getValue(unsigned short id, tConfigVal* configVal) configVal 1475 core/conf.c return getValue(confinfo_handlers[i].ci, id - confinfo_handlers[i].start_id, configVal); configVal 1483 core/conf.c static int setValue(ConfInfo *ci, unsigned short id, tConfigVal configVal, void (*info_func)(unsigned short id)) configVal 1499 core/conf.c if( configVal.isNumb ) configVal 1504 core/conf.c *(int*)ci[i].var = (int)configVal.numb; configVal 1508 core/conf.c *(short*)ci[i].var = (short)configVal.numb; configVal 1512 core/conf.c *(char*)ci[i].var = (char)configVal.numb; configVal 1519 core/conf.c if( configVal.isPInt ) configVal 1522 core/conf.c len2 = configVal.numb*sizeof(int); configVal 1524 core/conf.c memcpy(ci[i].var, configVal.pInt, len); configVal 1529 core/conf.c if( configVal.isStr ) configVal 1531 core/conf.c len = strlen(configVal.str); configVal 1534 core/conf.c strncpy(ci[i].var, configVal.str ,len+1); configVal 1540 core/conf.c if( configVal.isPos ) configVal 1543 core/conf.c pos->x = configVal.pos.x; configVal 1544 core/conf.c pos->y = configVal.pos.y; configVal 1564 core/conf.c int conf_setValue(unsigned short id, tConfigVal configVal) configVal 1573 core/conf.c return setValue(confinfo_handlers[i].ci, id - confinfo_handlers[i].start_id, configVal, confinfo_handlers[i].info_func); configVal 534 include/conf.h extern int conf_getValue(unsigned short id, tConfigVal* configVal); configVal 535 include/conf.h extern int conf_setValue(unsigned short id, tConfigVal configVal); configVal 267 lib/ubasic/ubasic.c tConfigVal configVal; configVal 639 lib/ubasic/ubasic.c if( conf_getValue(var1, &configVal) == CONF_VALUE) r = configVal.numb; else r = var2; configVal 1952 lib/ubasic/ubasic.c tConfigVal configVal = {0}; configVal 1957 lib/ubasic/ubasic.c if( conf_getValue(id, &configVal) == CONF_VALUE ) { configVal 1958 lib/ubasic/ubasic.c configVal.numb = value; configVal 1959 lib/ubasic/ubasic.c configVal.isNumb = 1; configVal 1960 lib/ubasic/ubasic.c conf_setValue(id, configVal); configVal 2058 lib/ubasic/ubasic.c tConfigVal configVal; configVal 2064 lib/ubasic/ubasic.c if( conf_getValue(var, &configVal) == CONF_VALUE ) { configVal 2065 lib/ubasic/ubasic.c ubasic_set_variable(var2, configVal.numb); configVal 2317 modules/luascript.c tConfigVal configVal; configVal 2321 modules/luascript.c switch( conf_getValue(id, &configVal) ) { configVal 2323 modules/luascript.c lua_pushnumber(L, configVal.numb); configVal 2326 modules/luascript.c lua_createtable(L, 0, configVal.numb); configVal 2327 modules/luascript.c for( i=0; i<(unsigned)configVal.numb; i++ ) { configVal 2328 modules/luascript.c lua_pushinteger(L, configVal.pInt[i]); configVal 2333 modules/luascript.c lua_pushstring(L, configVal.str); configVal 2336 modules/luascript.c lua_pushnumber(L, configVal.pos.x); configVal 2337 modules/luascript.c lua_pushnumber(L, configVal.pos.y); ret++; configVal 2356 modules/luascript.c tConfigVal configVal = {0}; //initialize isXXX configVal 2363 modules/luascript.c if( !configVal.isNumb ) { configVal 2364 modules/luascript.c configVal.numb = luaL_checknumber(L, i); configVal 2365 modules/luascript.c configVal.isNumb++; configVal 2367 modules/luascript.c switch( configVal.isPos ) { configVal 2368 modules/luascript.c case 0: configVal.pos.x = luaL_checknumber(L, i); configVal.isPos++; break; configVal 2369 modules/luascript.c case 1: configVal.pos.y = luaL_checknumber(L, i); configVal.isPos++; break; configVal 2373 modules/luascript.c if( !configVal.isStr ) { configVal 2374 modules/luascript.c configVal.str = (char*)luaL_checkstring(L, i); configVal 2375 modules/luascript.c configVal.isStr++; configVal 2379 modules/luascript.c if( !configVal.isPInt ) { configVal 2380 modules/luascript.c configVal.numb = lua_objlen(L, i); configVal 2381 modules/luascript.c if( configVal.pInt ) { configVal 2382 modules/luascript.c free(configVal.pInt); configVal 2383 modules/luascript.c configVal.pInt = NULL; configVal 2385 modules/luascript.c configVal.pInt = malloc(configVal.numb*sizeof(int)); configVal 2386 modules/luascript.c if( configVal.pInt ) { configVal 2387 modules/luascript.c for( j=1; j<=(unsigned)configVal.numb; j++) { configVal 2389 modules/luascript.c configVal.pInt[j-1] = lua_tointeger(L, -1); configVal 2393 modules/luascript.c configVal.isPInt++; configVal 2398 modules/luascript.c lua_pushboolean(L, conf_setValue(id, configVal)); configVal 2399 modules/luascript.c if( configVal.pInt ) { configVal 2400 modules/luascript.c free(configVal.pInt); configVal 2401 modules/luascript.c configVal.pInt = NULL; configVal 571 tools/ubasic_test/camera_functions.c int conf_getValue(unsigned short id, int* configVal) { configVal 573 tools/ubasic_test/camera_functions.c *configVal = 1; configVal 577 tools/ubasic_test/camera_functions.c int conf_setValue(unsigned short id, int configVal) { configVal 578 tools/ubasic_test/camera_functions.c printf("*** set config value %d %d***\n",id, configVal);