Lines Matching refs:cur
24 cur = obj
28 if last_key not in cur:
30 cur = cur[last_key]
32 if last_key not in cur:
34 return cur, last_key
38 cur = obj
42 if last_key not in cur:
43 cur[last_key] = dict()
44 cur = cur[last_key]
46 return cur, last_key
51 cur, key = ensure_path(obj, self)
52 cur[key] = val
57 cur, key = follow_path(obj, self)
58 if cur:
59 cur[key] = val
64 cur, key = follow_path(obj, self)
65 if cur:
66 del cur[key]
71 cur, key = ensure_path(obj, self)
72 if key not in cur:
73 cur[key] = list()
74 if not isinstance(cur[key], list):
76 cur[key].extend(args)