Lines Matching defs:value
314 char *value;
320 value = alloca(sizeof(char)*len + 1);
321 if (c->get_cgroup_item(c, key, value, len + 1) != len)
324 lua_pushstring(L, value);
337 char *value;
343 value = alloca(sizeof(char)*len + 1);
344 if (c->get_config_item(c, key, value, len + 1) != len)
347 lua_pushstring(L, value);
359 const char *value = luaL_checkstring(L, 3);
361 lua_pushboolean(L, !!c->set_cgroup_item(c, key, value));
369 const char *value = luaL_checkstring(L, 3);
371 lua_pushboolean(L, !!c->set_config_item(c, key, value));
380 char *value;
390 value = alloca(sizeof(char)*len + 1);
391 if (c->get_keys(c, key, value, len + 1) != len)
394 lua_pushstring(L, value);
546 char *value;
551 value = lxc_cmd_get_config_item(name, key, lxcpath);
552 if (!value)
555 lua_pushstring(L, value);