Lines Matching defs:current
368 prop_bt* current = bt;
370 if (!current) {
374 const int ret = cmp_prop_name(name, namelen, current->name, current->namelen);
376 return current;
380 if (current->left) {
381 current = reinterpret_cast<prop_bt*>(to_prop_obj(current->left));
394 current->left = new_offset;
399 if (current->right) {
400 current = reinterpret_cast<prop_bt*>(to_prop_obj(current->right));
409 current->right = new_offset;
424 prop_bt* current = trie;
436 if (current->children) {
437 root = reinterpret_cast<prop_bt*>(to_prop_obj(current->children));
442 current->children = new_bt_offset;
450 current = find_prop_bt(root, remaining_name, substr_size, alloc_if_needed);
451 if (!current) {
461 if (current->prop) {
462 return reinterpret_cast<prop_info*>(to_prop_obj(current->prop));
467 current->prop = new_info_offset;