Lines Matching refs:array_ref
474 let array_ref = &mut *(array as *mut JsonValue); in ylong_json_get_array_item() localVariable
475 let array_ref = match array_ref.try_as_mut_array() { in ylong_json_get_array_item() localVariable
480 if index as usize >= array_ref.len() { in ylong_json_get_array_item()
484 array_ref.get_mut(index as usize).unwrap() as *mut JsonValue as *mut YlongJson in ylong_json_get_array_item()
498 let array_ref = &mut *(array as *mut JsonValue); in ylong_json_add_item_to_array() localVariable
499 let array_ref = match array_ref.try_as_mut_array() { in ylong_json_add_item_to_array() localVariable
505 array_ref.push(*value); in ylong_json_add_item_to_array()
522 let array_ref = &mut *(array as *mut JsonValue); in ylong_json_replace_array_item_by_index() localVariable
523 let array_ref = match array_ref.try_as_mut_array() { in ylong_json_replace_array_item_by_index() localVariable
528 if let Some(value) = array_ref.get_mut(index as usize) { in ylong_json_replace_array_item_by_index()
591 let array_ref = &mut *(array as *mut JsonValue); in ylong_json_get_array_node() localVariable
592 let array_ref = match array_ref.try_as_mut_array() { in ylong_json_get_array_node() localVariable
597 if index as usize >= array_ref.len() { in ylong_json_get_array_node()
601 let node = array_ref.get_node_mut(index as usize).unwrap(); in ylong_json_get_array_node()
630 let array_ref = &mut *(array as *mut JsonValue); in ylong_json_add_item_to_array_then_get_node() localVariable
631 let array_ref = match array_ref.try_as_mut_array() { in ylong_json_add_item_to_array_then_get_node() localVariable
637 array_ref.push(*value); in ylong_json_add_item_to_array_then_get_node()
639 array_ref.last_node_mut().unwrap() as *mut Node<JsonValue> as *mut YlongJson in ylong_json_add_item_to_array_then_get_node()