• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/neon/src/

Lines Matching defs:item

134 	struct lock_list *item;
138 for (item = lrc->submit; item != NULL; item = item->next) {
139 char *uri = ne_uri_unparse(&item->lock->uri);
141 item->lock->token, ">)", NULL);
151 struct lock_list *item = ne_malloc(sizeof *item);
153 (*list)->prev = item;
155 item->prev = NULL;
156 item->next = *list;
157 item->lock = lock;
158 *list = item;
217 struct lock_list *item;
220 for (item = lrc->submit; item != NULL; item = item->next) {
221 if (ne_strcasecmp(item->lock->token, lock->token) == 0)
246 struct lock_list *item;
258 for (item = lrc->store->locks; item != NULL; item = item->next) {
261 u.path = item->lock->uri.path;
262 if (ne_uri_cmp(&u, &item->lock->uri))
267 if ((item->lock->depth == NE_DEPTH_INFINITE &&
268 ne_path_childof(item->lock->uri.path, parent)) ||
269 ne_path_compare(item->lock->uri.path, parent) == 0) {
271 item->lock->token, item->lock->uri.path);
272 submit_lock(lrc, item->lock);
283 struct lock_list *item;
291 for (item = lrc->store->locks; item != NULL; item = item->next) {
296 ne_path_childof(uri, item->lock->uri.path)) {
299 NE_DEBUG(NE_DBG_LOCKS, "Has child: %s\n", item->lock->token);
302 else if (ne_path_compare(uri, item->lock->uri.path) == 0) {
304 NE_DEBUG(NE_DBG_LOCKS, "Has direct lock: %s\n", item->lock->token);
307 else if (item->lock->depth == NE_DEPTH_INFINITE &&
308 ne_path_childof(item->lock->uri.path, uri)) {
311 NE_DEBUG(NE_DBG_LOCKS, "Is child of: %s\n", item->lock->token);
316 submit_lock(lrc, item->lock);
329 struct lock_list *item;
332 for (item = store->locks; item != NULL; item = item->next)
333 if (item->lock == lock)
336 if (item->prev != NULL) {
337 item->prev->next = item->next;
339 store->locks = item->next;
341 if (item->next != NULL) {
342 item->next->prev = item->prev;
344 ne_free(item);